gm — I'm 0xSpectreSec
Smart contract security researcher
Just completed @cyfrinupdraft's auditing course and starting my journey in public
What to expect from this account:
→ Vulnerability breakdowns
→ Audit contest journey
→ EVM & Solidity deep dives
→ Progress updates
@Paimon_Finance@Paimon_Finance I'm trying to reach your team about a private security matter. The published emails aren't working and DMs are closed. Please share a working security contact, or open DMs so I can reach you.
Soon I'll hit 5 years in Web3 security.
This is for everyone just starting out in the space:
- people are making $100k+ from reporting a single bug. the opportunities are insane, but it's NOT easy money
- become a nerd. literally. read code, break things, put in the hours
- learn to negotiate. being great at finding bugs doesn't automatically mean you'll be great at getting paid
- be disciplined. it takes years to become genuinely good at this
- stay curious. never stop asking WHY and HOW things work
- start by finding smaller bugs. learn to walk before chasing Criticals
- be patient. skills, reputation and money don't come overnight
- adapt fast. this industry looks nothing like it did 4 years ago
- embrace new technologies, especially AI. learn to use them instead of dismissing them
- surround yourself with smart, like-minded people. you'll learn things no course can teach you
- stay up to date with exploits, research and everything happening in the space
- learn to sell yourself. your skills mean less if nobody knows about them
- build your personal brand. a good reputation opens doors you didn't even know existed
- understand what creates REAL value
- celebrate your wins, but don't get too comfortable. take a day off, then get back to work
- respect other whitehats and builders. there's always something you can learn from them
- help people without expecting anything in return. you'll be surprised where it leads
- long-term relationships > short-term benefit
- be careful what you click. even security researchers get hacked
- never think you've learned enough. the moment you stop improving, you're falling behind
- enjoy the process. this space is so crazy that it's almost impossible to get bored
🚀 Lineage Protocol — verifiable lineage for evolving AI agents, built on @0G_labs.
⚡ Chain — lineage registry
📦 Storage — version manifests
🧠 Compute — TEE infrastructure
🆔 ERC-7857 — Agentic ID
Live on 0G Mainnet.
GENESIS → VERSION → VERIFY
🌐https://t.co/AUNu8kcwIY
1/ How I use AI in smart contract audits (2026)
From 2023–2026, I entered 57 contests, reached top-3 30 times, won 21 and earned $627k in prizes.
109 highs + 156 mediums. 53 of them solos.
86 private audits.
This came from reading every line and building the mental model.
Challenge 18/18 of Damn Vulnerable DeFi: Withdrawal✅
Another milestone reached! 🚀
This journey has taken me far beyond writing Solidity. I've had to deeply understand the EVM and the mechanics behind many of DeFi's core building blocks, including:
• ABI encoding & calldata internals
• Proxies, delegatecall & storage layouts
• CREATE2 & deterministic deployments
• Flash loans & governance attacks
• Safe wallets & Permit2
• Uniswap V2 & V3 (including concentrated liquidity)
• Oracle manipulation
• Cross-chain messaging & bridge security
The latest challenge (Withdrawal) was a great exercise in bridge security, authenticated messages, and withdrawal finalization.
The only challenge left is Curvy Puppet(Challenge 17)😅 It's been the toughest one for me so far. I've spent a lot of time experimenting with the Curve StableSwap mechanics and virtual price manipulation, but I still haven't landed the intended exploit.
I'll keep digging until I understand exactly what's happening, once Curvy Puppet falls, it'll be 18/18.
For now, it's time to shift my focus toward auditing real-world protocols and participating in competitive audits.
#Solidity #Ethereum #DeFi #BlockchainSecurity #SmartContracts #Foundry #Audit #Web3 @tinchoabbate
Challenge 16/18 of Damn Vulnerable DeFi: Shards ✅
Sometimes the bug isn't in the math library. It's in how you use it.
I drained funds from the marketplace by exploiting a rounding-to-zero edge case caused by FixedPointMathLib.mulDivDown().
The bug: shard purchases calculated the payment with mulDivDown(). For very small purchases, the result rounded down to 0, but the marketplace still recorded the purchase as valid.
Here's how I thought about it:
I first bought a tiny number of shards. The calculated payment was 0 DVT, yet the purchase was added to the offer's purchase list.
I immediately cancelled that purchase, returning the free shards to the offer.
Next, I bought the remaining shards normally, paying the correct amount. Finally, I cancelled this second purchase and received a full refund.
End result: I recovered every token I paid while successfully completing the purchase flow, leaving the marketplace with fewer tokens.
The interesting lesson wasn't that mulDivDown() rounds down—that's exactly what it's designed to do. The real vulnerability was allowing a zero-cost purchase to become a first-class accounting entry. Once the protocol treated "paid" and "free" purchases identically, its refund logic became exploitable.
Rounding is part of your protocol's economics. Every mulDivDown() and mulDivUp() decision should be treated as a security decision, not just a math helper.
@CyfrinUpdraft@PatrickAlphaC@tinchoabbate
#Web3Security #Solidity #DeFi