
🦀 Solana Dev ⚓️ | Rust 🦀 | Web 3 | Developer @osec_io 🦦 Prev Research Engineer @strawhatxyz
Hyderabad
Joined July 2014
- Tweets387
- Following2K
- Followers399
- Likes42.4K
Swaroop Maddu retweeted
Another fun bug, we turned a Linux kernel timer UAF into a kernel read/write on Android, root + SELinux permissive. Great work @ryaagard!
Stay tuned for more 🦦
Swaroop Maddu retweeted
Txv1 is live, and Anchor 0.30.2, 0.31.2, and 0.32.2 support receiving it.
If you're still on old coral-xyz/anchor packages, update to anchor-lang/core and friends
Anchor 1.2.1 is coming soon with support for receiving *and* sending Txv1
Thanks @clubby789 for pushing this through!
Swaroop Maddu retweeted
Anchor v1.2.0 is here, including `lang` and `spl` fixes that missed the last release.
What's new:
• Better zero-copy support and CPI fixes
• Newer Rust toolchain for smaller binaries
• And much more...
Shoutout to @clubby789 and @madduswaroop for pushing this through!
Swaroop Maddu retweeted
First Anchor V2 deep dive. This will be the most technical blog you need to understand Anchor V2 and learn all the security considerations while building with it.
In this write-up, I have explained the new account types and a newly introduced bug that resulted from an amazing audit with @AdevarLabs.
Anchor keeps getting better and brighter. ⚓
#Solana
6
373
Swaroop Maddu retweeted
Anchor is secured by @HacktronAI
Thanks to their open source program, all PRs get 24/7 coverage for security issues
When Hyperliquid has to clear bad debt, who covers it?
We reverse-engineered the closed-source risk engine, verified some core properties & compared it to other perps. It's not neutral: the more leveraged and profitable your position, the sooner it's closed.
Full breakdown ↓
Anchor is moving to a permanent home at otter-sec/anchor as we take over its stewardship.
Solana's ecosystem has been core to our work for years. Anchor has always been security-forward, and we're committed to keeping it that way for the developers who build on it.
Swaroop Maddu retweeted
Introducing Hacktron Review: an AI security reviewer for your pull requests.
It understands your whole codebase, builds a threat model, takes your feedback, and catches exploitable vulnerabilities before they reach production.
Try for free: app.hacktron.ai
Swaroop Maddu retweeted
.@Solana Anchor v2 pro tip #1: Slabstraction
`Slab<Header, Entry>` account abstractions overload everything you need for dynamic lists, shrinking blocks of CPIs into a single attribute
Shout out to @NotDeGhost for this, and for fixing everything I find in beta testing
Swaroop Maddu retweeted
The pre-release version of Anchor v2 is out.
v2 is over 90% smaller and 3-6x faster than v1, and represents months of work focused on speed, extensibility, and security. This is a major architectural change from a dense macro-based framework to a more easily extensible trait system, with security built in from day one.
Excited for teams to give it a try. Still a few rough edges, but please DM/comment with any feedback!
Swaroop Maddu retweeted
CU optimizations come with risks.
@_fel1x discusses a critical bug we found in p-token before mainnet, subtle enough to survive in a heavily scrutinized codebase.
Swaroop Maddu retweeted
Replying to @blueshift @solana_devs
I'm going to be clear because this is getting out of hand:
1. I am not pressuring Quasar to be discontinued in favor of Anchor V2. In fact, we help with funding for both Quasar development and Anchor V2 today
2. I would rather have "one framework to rule them all" that tackles performance, safety, and best-in-class DX for all developers than two frameworks that fragment the ecosystem.
For 2, I lean Quasar instead of doing the work on Anchor V2. It's already built, higher performance, and great DX. If I can get audits and safety on Quasar once stable, it's a win-win for developers everywhere. It also dramatically simplifies developer docs and onboarding new developers.
Anchor V2 has a clock of now 2 more weeks to prove that there's enough of a difference to care about it and otherwise I will drop the support of development in favor of Quasar.
Anchor v1.0 is here! 🎉
Update via AVM:
cargo install avm --git github.com/solana-foundation… --locked
avm update
Or directly via cargo install:
cargo install anchor-cli --git github.com/solana-foundation… --locked --tag v1.0.0





![A dark-mode screenshot of the Anchor 1.2.0 changelog, with the exact [1.2.0] heading text highlighted in orange like an active browser find result.](https://pbs.twimg.com/media/HSb15j-bYAA5YNN.jpg?name=small&format=webp)



















