
DeFi Security Researcher ⚔️ Diving deep into the complexity ⚛️
Proxima Centauri b
Joined January 2023
- Tweets918
- Following1.3K
- Followers156
- Likes2.1K
Flash 44 ⚛️ retweeted
Our auditors in numbers ⚡️
☑️ 100+ protocols secured 🔐
☑️ $100k+ in payouts 💰
☑️ 25x top 10, 2 of which wins 🏆
Trust experience, not words.
Security done, with attention to detail.
Portfolio: audits.sherlock.xyz/watson/T…
Book an audit: t.me/tenaliaaudits
Flash 44 ⚛️ retweeted
Replying to @hrkrshnn
Solidity derived its spirit from Javascript. It is inherently made to be used and understand by a lot of people. Easy to create, easy to deploy but hard to maintain 😅.
I don’t think Rust will catch up easy in terms of acquiring of users. Average person treat it as complex.
Flash 44 ⚛️ retweeted
Twitter really is becoming a place for content creators and win boasters maaaan. I'll have to reduce the time spent here even more. More time spent on hacking I guess.
Flash 44 ⚛️ retweeted
Real wealth is not about money. Real wealth is: not having to go to meetings, not having to spend time with jerks, not being locked into status games, not feeling like you have to say ‘yes,’ not worrying about others claiming your time and energy. Real wealth is about freedom.
~ James Clear
Flash 44 ⚛️ retweeted
If you could ever only watch one video for Security Research, this is probably it
Flash 44 ⚛️ retweeted
With the @steadefi GMX V2 integration contest on @CodeHawks, I thought I'd release a much more in-depth intro to the @GMX_IO system!
Some of these things will be crucial for getting those niche, critical edge cases in the contest 🫡
Access the 2-hour deep dive here 👇
Flash 44 ⚛️ retweeted
The Solodit competitive audits aggregator is now live ✨
You can now filter competitions by:
- Date
- Platform
- Prize pool
And view them through a handy timeline to choose your next audit.
(1/2)
Flash 44 ⚛️ retweeted
Great repo regarding proxy vulnerabilities. Proxies can be a tricky concept to grasp but putting enough time and effort will get you where you wanna be. Just because something is hard doesn't mean it can be skipped, quite the opposite.
github.com/YAcademy-Resident…
Flash 44 ⚛️ retweeted
Studying the dYdX Operation contract will teach you how to properly validate input parameters and invariants. I compiled my notes in this post 👇🏻
The Euler hack happened because of a missing health check that broke a core invariant for the protocol, so hope this will be useful.
Let's take a look at a different approach that performs checks after every interaction:
1. For context - This is from the v2 version of dYdX. The OperationImpl.sol is a library that contains all the operation functions.
2. Looking at the operate function we can see that two other functions are called at the beginning and at the end that verify different things - _verifyInputs and _verifyFinalState.
3. First, the _verifyInputs function is called to validate the input parameters. It checks that the input arrays(accounts and actions) are not empty, and then it checks for duplicated accounts in the first array. If any of that is false the call will revert.
4. Then, it's the interaction part. The state-changing functions will be performed but I'll not take a look at them now as this is not the purpose of this post.
5. At the end the _verifyFinalState is called. This function performs a crucial check of the markets and checks if the total aggregated amount of the entire market is <= than the cached amount of BorrowPar. This ensures that there is no increase in `borrowPar` for closing markets. Then proceeds with verifying the collateral of the involved accounts.
6. Yes, it is more gas-consuming but there are cases where it is important to perform such checks from a security pov.
I know this post is lengthy, but if you've made it this far, I hope you've learned something.
Flash 44 ⚛️ retweeted
If you need to learn a new concept as part of an audit, learn it more in depth than you need to.
You might stumble across a hard to find bug.
At the very least you save yourself a lot of time the next time you encounter the concept since you know it form the ground up and don't need to re-learn it.
(Obviously you can only do this if you have sufficient time)
Flash 44 ⚛️ retweeted
In Security Audits, your advantage lies in seeing what others don't...Attacker's Mindset
Remember the guy who won $26k recently just from a single report on @sherlockdefi ?
How is that even possible? you may ask
He simply reported a Critical Vulnerability with one of @OpenZeppelin Contract Packages, apparently none of the contest participants were aware of it.
-----------
Here is the gist...
Whenever you're set to read a codebase, make sure to check the package.json file to know the version of @OpenZeppelin Contracts Package.
Then Proceed to checking @OpenZeppelin Contracts Security Page (link below) to check if there is any associated vulnerabilities with the particular version.
......Who knows you might be lucky to find one too
github.com/OpenZeppelin/open…
Flash 44 ⚛️ retweeted
Auditing a protocol with tons of files?
This extension is your lifesaver.
Easily focus on the subset that matters, and avoid noise.
Flash 44 ⚛️ retweeted
That’s a very good starting point for an audit. From there you can dig deeper and build on more serious findings.
github.com/OpenCoreCH/smart-…
Flash 44 ⚛️ retweeted
If you want to land a good private audit client, go in the wild and find issues in their code.
They may consider you if you find something good
Happened thrice to me by now😄
Flash 44 ⚛️ retweeted
I see my work in this one 👀
The future of web3 security education is visual 👀
What does a critical bug from an improper rewards calculation on epoch boundaries look like?
Spearbit identified a critical bug (fixed) due to insufficient boundary checking in @VelodromeFi
Let's break it down with manim ⬇️
Flash 44 ⚛️ retweeted
Want to compete for $1.1M in the @zksync contest on @code4rena ? Let me give you some resources to help you make a bag 💰💰
1.)Here you can learn from a high-level what @zksync is:
zksync.io/
2.)Go through @yAcademyDAO's ZK cohort, it's a must for you to quickly get up to speed:
yacademy.dev/fellowships/zBl…
3.)ZK Bug Tracker Tool:
github.com/0xPARC/zk-bug-tra…
4.)More valuable ZK resources for you to go through:
github.com/D-Squared70/Readi…
Now since I have given you a starting point, start reading and I am sure in the process you will come across to even MORE things to research about.
Id appreciate a retweet, share the knowledge🫡🫡
Flash 44 ⚛️ retweeted
Everybody is shilling ZK resources,
But in reality, all you need is Hickup's well-organized resource on getting started with ZK.
That's all you need:
sunrise-clerk-234.notion.sit…

























