Swaroop Maddu (@madduswaroop) header
Swaroop Maddu (@madduswaroop) profile picture

🦀 Solana Dev ⚓️ | Rust 🦀 | Web 3 | Developer @osec_io 🦦 Prev Research Engineer @strawhatxyz

Hyderabad
Joined July 2014
Photo by Swaroop Maddu (@madduswaroop)Photo by Swaroop Maddu (@madduswaroop)Photo by Swaroop Maddu (@madduswaroop)Photo by Swaroop Maddu (@madduswaroop)Photo by Swaroop Maddu (@madduswaroop)Photo by Swaroop Maddu (@madduswaroop)Photo by Swaroop Maddu (@madduswaroop)Photo by Swaroop Maddu (@madduswaroop)Photo by Swaroop Maddu (@madduswaroop)Photo by Swaroop Maddu (@madduswaroop)
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 🦦
6
26
2
337
15,424
Swaroop Maddu retweeted
In 2026, no program is closed source. We decompiled a propAMM into Rust that recompiles to the exact on-chain binary, then used it to find a critical bug that put $6.1M at risk.
22
70
15
541
35,119
Swaroop Maddu retweeted
Anchor v1.2.1 is here The new `solana-v4` feature gate allows Anchor to use Solana v4 dependencies. This allows Anchor to interact with Token-2022 mints with newer extensions such as `PermissionedBurn`.
1
6
25
2,749
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!
1
7
32
1,824
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!
2
2
3
32
3,893
Swaroop Maddu retweeted
To understand the world, read. To understand yourself, write.
53
1,265
42
6,404
93,245
Anchor v2 is here. Excited for what’s ahead 🚀
Anchor v2.0.0-rc.1 is here Programs are over 90% smaller and 3-6x faster than v1. We're also paranoid about security, with fuzzing built-in by default and two independent audits for just the RC
2
532
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.
2
6
1
70
5,370
Swaroop Maddu retweeted
We're launching a $100,000 fund to save CTFs.
17
103
16
644
66,126
Swaroop Maddu retweeted
Anchor is secured by @HacktronAI Thanks to their open source program, all PRs get 24/7 coverage for security issues
5
8
3
40
7,725
Swaroop Maddu retweeted
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 ↓
9
28
10
214
45,034
Swaroop Maddu retweeted
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.
4
29
8
149
14,974
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
22
43
7
294
78,439
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
1
2
26
659
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!
11
47
9
215
27,925
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.
5
20
11
128
37,030
Swaroop Maddu retweeted
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.
9
14
3
167
7,345
Swaroop Maddu retweeted
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
9
18
8
142
86,025
Swaroop Maddu retweeted
We achieved a guest-to-host escape by exploiting a QEMU 0-day where the bytes written out of bounds were uncontrolled. Full breakdown of the technique, glibc allocator behavior, and our heap spray/RIP-control primitive ↓
7
111
9
547
49,920