Day 6 of trying to land a private audit
The next bug bounty I worked on was the STBL smart contracts.
After dealing with several informational, OOS, and duplicate findings, I realized I needed to improve how I validated my bugs before submitting them.
A few researchers gave me advice that changed how I approach findings:
@Web3_Vinay taught me to develop a lawyer mindset.
It's not enough to say “this is a bug.”
I need to be able to defend my finding:
Why is it actually exploitable?
Who can exploit it?
What's the realistic attack path?
What's the impact?
What assumptions does the exploit depend on?
Then @Schnilch taught me to try to kill my own findings before the triager does.
If I can't find enough evidence to defend a finding after trying to disprove it myself, I shouldn't submit it.
That mindset alone has helped me filter out a lot of weak findings.
And @arsen_bt taught me to pay close attention to integrations.
Sometimes the critical bug isn't inside the function you're looking at.
It can come from how the contract interacts with another protocol, contract, oracle, token, or external component.
I applied all three lessons while auditing STBL.
I found 2 bugs.
Both were marked as duplicates.
At first, that wasn't the result I wanted.
But this time, I looked at it differently.
The goal wasn't just to get a bounty.
The goal was to become a better researcher - someone who can identify, validate, defend, and communicate real vulnerabilities.
So, shoutout to @Web3_Vinay@Schnilch@arsen_bt for the advice.
Your lessons have genuinely changed how I approach security research. 🫡
Still hunting. Still learning. Still trying to land that first private audit.
@CyfrinUpdraft@PatrickAlphaC@Schnilch@Web3_Vinay@WebdevAnas@rosarioborgesi@Maybach_hunter@pashov@PashovAuditGrp@DefimonAlerts@crypto_vazima@web3jobsx@tinchoabbate
Smart Contract Security Day 14
Just started the TSwap project on Cyfrin Updraft and yeah… this one already feels different 👀
Went through the intro, scoping, and “what is a DEX”… and it’s starting to click how things like Uniswap actually work behind the scenes.
Not just watching this time - I’m rebuilding everything myself and trying to think through how things could break as I go.
Slow process, but it feels like real progress.
@CyfrinUpdraft@PatrickAlphaC@rosarioborgesi@alexabelonix@Web3_Vinay@_biggids
Smart Contract Security Day 16
Today’s learning took a different turn… less “how it works” and more “how to break it” 🧠⚔️
Got into invariants + fuzzing:
– Invariants: what must *always* stay true in a contract
– Stateless fuzzing: random inputs, single calls
– Stateful fuzzing: sequences of actions… where real bugs start hiding
That shift hit me.
It’s not just about reading code anymore…
it’s about defining what *should never happen* and then trying to break it until it does.
Feels like leveling up from “developer” → “attacker mindset”
Still early, but it’s starting to click.
We keep going 🚀
@_biggids@alexabelonix@code4rena@rosarioborgesi@panditdhamdhere@PatrickAlphaC@CyfrinUpdraft@solidity_lang@Web3_Vinay
Smart Contract Security Day 15
Another day deep in DeFi ⚙️
Today I finally *get* AMMs.
No order books. No middlemen.
Just math, liquidity, and smart contracts moving markets.
Learned how liquidity providers actually make (and lose) money… and how AMMs price assets under the hood.
Crazy part?
The same mechanics that power swaps… can also be abused if the logic isn’t tight.
Every lesson now feels like:
“How can this be broken?” 🤔
Slowly shifting from just learning → thinking like an auditor.
We keep going.
@CyfrinUpdraft@PatrickAlphaC@rosarioborgesi@Web3_Vinay@alexabelonix@SoloditOfficial@0xZulkifilu@code4rena@_biggids
Smart Contract Security Day 17
TSwap… DONE ✅🔥
This one stretched me fr.
From understanding AMMs & liquidity…
to breaking things with fuzzing, invariants, and reentrancy thinking 🤯
What started as “how swaps work” quickly became:
👉 how they can be manipulated
👉 how funds can be drained
👉 how small logic flaws become big exploits
Feels like I’m finally seeing DeFi from the *attacker’s perspective* now.
Still early, but the growth is real.
Next stop: deeper audits + bug bounties ⚔️
We keep going 🚀
@_biggids@alexabelonix@rosarioborgesi@Web3_Vinay@PatrickAlphaC@panditdhamdhere@CyfrinUpdraft@code4rena@tinchoabbate@SoloditOfficial
Smart Contract Security Day 13
Just wrapped up my first independent smart contract audit of TSwap... and I did it completely from scratch, without watching the Cyfrin Updraft tutorial!
Found a Critical issue: The bonus reward that kicks in every 10 swaps breaks the core AMM constant product invariant (x * y = k).
Because the bonus gets paid straight out of the pool reserves without updating the pricing math, anyone can repeatedly drain liquidity with tiny swaps.
LPs slowly get drained while attackers walk away with extra value. The PoC is ridiculously simple but effective.
Full 6-page report + clean PoC attached What do you think... have you spotted similar invariant-breaking bugs in AMMs?
Or run into this during the Cyfrin course?
Drop your thoughts below, I'd genuinely love feedback from the community!
@PatrickAlphaC@_biggids@alexabelonix@tinchoabbate@CyfrinUpdraft@rosarioborgesi@Web3_Vinay@0xZulkifilu@SoloditOfficial
Smart Contract Security Day 12
Just wrapped up the PasswordStore project on Cyfrin Updraft.
This time I didn’t just follow along... I rebuilt it on my own, made sure I actually understood what was going on, and pushed it to GitHub.
Now I’m on the PuppyRaffle audit 🐶
I’m starting to see the shift… it’s no longer just “learn this vulnerability” - I’m actually trying to break the code, question every line, and prove exploits with PoCs.
Still early, but it finally feels real.
Password-store-report:https://t.co/WB0jwBwhUc
@_biggids@CyfrinUpdraft@Web3_Vinay@alexabelonix@PatrickAlphaC@solidity_lang@0xZulkifilu@tinchoabbate@rosarioborgesi
Smart Contract Security Day 11
Just completed the Puppy Raffle project on Cyfrin Updraft 🐶🔥
What looked like a simple raffle turned into a full breakdown of real vulnerabilities:
→ Reentrancy attacks
→ Weak randomness (PRNG)
→ Refund logic exploits
→ DoS & ETH mishandling
Crazy how small logic mistakes can break entire contracts.
On to the next one 🚀
@_biggids@PatrickAlphaC@Web3_Vinay@alexabelonix@rosarioborgesi@CyfrinUpdraft@ForgeAudit
Smart Contract Security Day 09
Another day learning smart contract security… and yeah, my brain is cooked 💀
Today I went from thinking “refund logic is simple” to realizing it can:
– break contracts
– drain funds
– enable reentrancy attacks
We walked through real examples and it finally clicked…
It’s not just about writing a function that “works” ,
it’s about what happens when someone tries to break it.
One wrong order of operations and suddenly:
ETH is gone, state is messed up, and attackers are looping your contract.
Wild how small mistakes turn into full exploits.
I’m starting to see contracts less like code… and more like attack surfaces 👀
What bug made it click for you?
@CyfrinUpdraft@PatrickAlphaC@panditdhamdhere@alexabelonix@_biggids@rosarioborgesi@Web3_Vinay@tinchoabbate@ForgeAudit @0xsadikbaba
Smart Contract Security Day 08
Just worked on the Puppy Raffle smart contract 🐶🎟️
Everything looked fine… until I tested with 100 players then another 100 players and it went wild
Gas usage shot up fast - classic O(n) loop → potential DoS vector ⚠️
Small design choices in Solidity can break your entire system.
@CyfrinUpdraft@alexabelonix@rosarioborgesi@PatrickAlpha@Web3_Vinay@_biggids@tinchoabbate