nmirchev8 retweeted
Seeing a lot of folks leave web3 security as the game changes
The fun of “read code and try to break it” is giving way to orchestrating agents and triaging their findings
Still security, but a different kind of work. What gives you an edge is (as always) still being figured out
nmirchev8 retweeted
Looking at your friend's LLM prompts tells you more about how they think than their social media feed ever will
nmirchev8 retweeted
In life, there's time to make money, time to study, and time to spend with family—but never time to waste
nmirchev8 retweeted
Web3 is teaching you finance in a cool way.
From understanding the financial primitives while researching DeFi projects to learning how fundraising and VCs function, and how many of the world's biggest companies got started - and how they keep dictating the next big thing
nmirchev8 retweeted
Story Time 📖
I was a humble kid at school. I wasn't the good student, nor the bully, nor the funniest (well, I believed I was, but when you're quiet, no one can know it). I didn't like the system because, even back then, I felt you had to prove yourself to the ones above you and be awarded for it. And imo, people were awarded for the wrong qualities and skills. Everything felt artificial. I still believe that's true for most modern systems, but now I understand why it's needed.
When I first found out about blockchain and web3, it instantly caught my interest. I didn't think about the reason behind it, but it has a lot to do with the freedom and possibility. You see decentralization — protocols earning millions in fees where no one even knows who founded them, thriving just because the product is good and no one can stop it with regulations, laws, etc. It's like the jungle, but on the internet.
Smart contract contests are the only thing I know of where you provide value without any friction and get paid better than most highly paid jobs in the US.
I really hope to see the greatest crypto comeback soon. 🚀
How to make $11,000 by skipping a `try/catch`
Sablier streams ERC-20 tokens for vesting, payroll and airdrops
In V2.2, withdrawing, canceling or renouncing a stream called a hook on the recipient or sender contract, so an integrator could update his internal accounting
The hook sat in a `try/catch`, so a missing or reverting hook could not block the stream. This looks well defended. It wasn't
The caller picks the gas. Under EIP-150 a call gets at most 63/64 of the gas left, the rest stays behind so the parent can finish
So send just enough for the hook to run out of gas, `catch` eats the revert, and have just enough for the rest of the call to succeed
One transaction, two truths. Sablier says the withdrawal happened. The integrator never hears about it
The fix?
Sablier dropped the sender and renounce hooks, allowlisted recipient contracts and deleted the empty catches. Failure in the hook, fails the transaction
Remember
> `try/catch` does not make a callback optional, the gas does
nmirchev8 retweeted
Daily reminder for Solana builders:
Instruction stack depth caps at 5 — your top-level ix + 4 nested CPIs. Reentrancy only exists via self-CPI; A→B→A throws ReentrancyNotAllowed
If your flow already sits near that ceiling, ask whether multisigs will touch it. A Squads execution burns one level of depth before your program even starts running
before you pay anyone to audit your code, spend one afternoon doing this
> run @pashov's solidity auditor (github.com/pashov/skills)
> fix the bugs
> run it again
a lot of bugs can die for free nowadays, the rest are for auditors to find.
My "morning" routine:
> 30-45 minutes of @_MathAcademy_
> Bug of the day (onebugperday.com), shoutout @GalloDaSballo
> Read and run one exploit from the excellent DefiHackLabs repo (github.com/SunWeb3Sec/DeFiHa…)
nmirchev8 retweeted
BonkDAO lost ~$20M this week and no contract was hacked. Every transaction was valid.
An attacker spent ~$4M buying BONK, then passed a treasury-draining proposal with 7 wallets (2.9% turnout), clearing quorum by a hair — 882.38B vs 879.95B BONK. The code executed the vote flawlessly.
That's the point.
Audits verify code correctness at a moment in time. They can't see the live economic state — price, treasury value, and quorum drifting — until $4M of votes can move $20M of treasury. That's not a bug in the code. It's a config no audit is scoped to catch.
An invariant a monitor enforces at runtime: a treasury transfer must not execute while the market value of the votes backing it < the value it moves out. Bonk violated it 5:1.
Pair it with a timelock so a flagged proposal pauses for a guardian instead of settling instantly.
Detection + a pause is a security procedure on top of a code security audit.
Security has a lot of layers and the worst part is that if you leave one layer uncovered, it may compromise the entire system.
Take notes, think twice and continue to progress!
back in 2024, @EgisSec took 1st in the @useteller contest on @sherlockdefi — 16+ findings, one of our first wins
here's a unique High we caught: a lender could stop any borrower from ever repaying, then take their collateral.
the whole bug is this try/catch
Today was my last day @Certora.
It was a fun ride — worked with many great people, audited the biggest DeFi protocols in the space, and learned more than I can fit in this post.
I had the pleasure of working with many of the friends I made throughout the olden days of @code4rena and @sherlockdefi — when contests were the shit and the judging was too <3
Met some very talented, hard-working people like @tpiliposian , who posts more about his BJJ medals than his actual work 😁
And I was lucky to work under the guidance and mentorship of @BowTiedDravee — the best team lead anyone could ask for. He always had my back, no matter what. I consider you a true friend, brother.
What will I do now? I thought about it, and it's time to dust off this old t-shirt from the closet and get back to work.
We're back, stronger than ever. If you're a protocol in need of elite-level auditors — or a security agency in need of the best — you know where to find us.
@EgisSec
nmirchev8 retweeted
Bear market is just an oppertunity to catch up with the latest technology and innovate
nmirchev8 retweeted
One invariant neutralizes inflation & donation attacks — the vector behind most vault drains
Checkpoint the rate. Revert + auto-pause on >X% deviation per block
A vault's share rate (totalAssets/totalSupply) moves in bps per day. Exploits move it 10–1000x in one tx
nmirchev8 retweeted
Quick tip on how to open a Visual Studio Code preview of a GH repo at a fixed commit:
-> After the repo path paste "/blob/{commit}" then enter
-> You open a GH view at the commit
-> Press "." and you're redirected to vscodе.dev/githib/... for the given commit hash
List of all smart contract AI agents
forefy.com/skills
They can:
- audit solidity, solana, move and many more
- search for bugs on solodit
- write POCs
- find and test invariants
- write reports
- and many more unique stuff







