bl4ckb1rd71 Profile Banner
engn33r Profile
engn33r

@bl4ckb1rd71

Followers
2K
Following
2K
Media
218
Statuses
1K

building @twynexyz web3 security @electisec @yAuditdao Former top 10 code4rena & Sherlock. https://t.co/tUNv6hwLHD

Joined August 2020
Don't wanna be here? Send us removal request.
@bl4ckb1rd71
engn33r
7 days
If web2 security continues foreshadowing what web3 security will do, @Xbow is scary for any manual auditors or bug hunters. They've got a strong team of web2 security talent, so perhaps that's the new job for web3 security people - training the tools.
@Montyly
Josselin Feist
7 days
I love being proved wrong, and @Xbow is showing that agent-based systems are already more efficient than I expected a year ago. This is an exciting time for automated bug finding.
1
0
12
@bl4ckb1rd71
engn33r
11 days
I'm excited to see where this goes πŸ‘€.
@ncerovac
Captain Nemo 🦞
12 days
Introducing Dory! . your Telegram concierge, built with confidential compute πŸŸπŸ”. Tame the chaos in your Telegram chats with summaries, access control and helpful nudges. More below. (we're whitelisting early testers + it gives us wings if we see many
Tweet media one
1
0
5
@bl4ckb1rd71
engn33r
12 days
@twyne In summary:.- Write happy path tests to achieve >90% test coverage βœ….- Write unhappy path tests to catch stop devs from being idiots πŸ˜„.- If you find a bug β†’ write a new unhappy path test πŸͺ².- Add fuzzing tests to validate support for different assets πŸ§ͺ.
0
0
0
@bl4ckb1rd71
engn33r
12 days
@twyne Of course, getting fuzzing experts to test your code is even better, but I’m focusing on what mere mortals can easily do themselves.
1
0
1
@bl4ckb1rd71
engn33r
12 days
@twyne When you combine Foundry fixtures with vm.assume, you can lock in your fuzzing tests to a specific set of values. Boom, now your tests cover all on-chain asset combinations. πŸ’ͺ. If you know a better approach, please tell πŸ™‚.
getfoundry.sh
1
0
0
@bl4ckb1rd71
engn33r
12 days
@twyne Foundry to the rescue!. Foundry has a β€œfixtures” feature to test specific values while fuzzing. You can make a fixture with the assets you want to test. Foundry does the hard work testing the permutations of assets.
Tweet media one
1
0
0
@bl4ckb1rd71
engn33r
12 days
@twyne After writing the tests, consider any asset edge cases. Fuzzing to the rescue!. But how to fuzz the different token addresses that you want to support in the protocol? πŸ€”.
1
0
0
@bl4ckb1rd71
engn33r
12 days
Imagine having tests that check for EVERY possible hack. Those should ALL fail. Unhappy paths are like little audits. Luckily at @twyne we caught this low hanging fruit before the real audit πŸ™ˆ. The real audit:
Tweet media one
1
0
0
@bl4ckb1rd71
engn33r
12 days
But another key element is to write tests that are expected to FAIL. The unhappy paths. Happy paths verify functionality. Unhappy paths can catch embarrassing security bugs. Speaking from experience, you really need both πŸ˜„.
1
0
1
@bl4ckb1rd71
engn33r
12 days
The happy paths are easy - this is how you make sure your code actually works as you want!. When I was writing tests, I found MANY problems in the code that I didn’t notice when writing it. Tests make these mistakes VERY obvious and help confirm a fix.
1
0
0
@bl4ckb1rd71
engn33r
12 days
First, tests are crucial to making code work as expected. Having 90% test coverage on your code is the bare minimum. Start with the happy paths, the normal processes where users interact with the protocol as expected.
1
0
0
@bl4ckb1rd71
engn33r
12 days
Devs leave testing for last. But tests are the first priority to avoid hacks. 🚨. So how does an ex-auditor write tests to catch bugs?. Time to break down my process 🧡. 1/.
2
0
11
@bl4ckb1rd71
engn33r
15 days
Touching grass and going offline is one pathway to diamond hands πŸ’Ž
Tweet media one
1
0
37
@bl4ckb1rd71
engn33r
20 days
RT @twynexyz: Higher liqLTVs = Leverage Multiplier Effect πŸ“ˆ. At 80% liqLTV, $1 = $5 .At 95%, $1 = $20.At 99%, $1 = $100. Twyne unlocks high….
0
3
0
@bl4ckb1rd71
engn33r
21 days
Curious about lessons learned shifting from web3 red team to blue team? My #ETHBelgrade talk is now live:
5
2
41
@bl4ckb1rd71
engn33r
22 days
I was lucky to have @savantchat look at the code I wrote at @twynexyz, and as an ex-auditor, I was impressed. It even found a bug that had been in the codebase for weeks that we only *just* fixed in the code <48 hours before.
@bantg
banteg
22 days
an ai auditor found a bug from resupply exploit. the protocol was audited by two major audit firms, both of which have missed the issue. i was following this ai auditing endeavor called @savantchat so i was interested if it would catch the root cause. it correctly identified the
Tweet media one
3
2
18
@bl4ckb1rd71
engn33r
26 days
Woke up and chose cynicism
Tweet media one
4
0
20
@bl4ckb1rd71
engn33r
1 month
This one simple trick will keep you flying during French air traffic strikes!
Tweet media one
0
0
16
@bl4ckb1rd71
engn33r
1 month
ngl feels like I should be vacationing not conferencing
Tweet media one
4
0
35
@bl4ckb1rd71
engn33r
1 month
Croissant a day keeps the bad vibes away
Tweet media one
2
0
21