bohendo (@bohendo) header
bohendo (@bohendo) profile picture

An aspiring reader. Of Solidity, mostly | blockchain security @trailofbits

Earth
Joined March 2011
Photo by bohendo (@bohendo)Photo by bohendo (@bohendo)Photo by bohendo (@bohendo)Photo by bohendo (@bohendo)Photo by bohendo (@bohendo)Photo by bohendo (@bohendo)Photo by bohendo (@bohendo)
Replying to @lonelysloth_sec
Mutation testing is one of the most honest ways to evaluate security tooling. If a model can't reliably identify intentionally introduced critical flaws, it's hard to trust it with unknown vulnerabilities in real-world code.
1
1
3
104
Check out the @trailofbits publications repo for our security assessments of L2s, multi-chain apps, and more github.com/trailofbits/publi…
Replying to @sgoldfed
Regular reminder to L2s that are not you and @Optimism: If you want to get mentioned in examples instead of me just ping-ponging between optimism and arbitrum over and over again, get to stage 1 (and have sufficient security audits to justify it). It's that simple. 😊
1
1
11
686
We are aware of the vulnerability to Nix 2.24 and recommend only using binary caches you trust, and avoiding binary caches maintained by unknown users. We will be releasing an updated Nix Installer as soon as possible.
1
5
541
I've been having LONG conversations with @AnthropicAI's Claude and I often get the "Long chats cause you to reach your usage limits faster" warning. But I want to talk MORE. So I've been using a prompt like this: "This conversation is getting long. Can you please summarize the most important points of our conversation so that you can pick up a new conversation where we left this one off. Make sure to include context that will help us discuss:" I add some bullet points with open questions or problems we still need to solve. Then, I copy paste the output into a fresh conversation & get back to it.
1
3
209
Claude seems to think most clearly from a relatively fresh context. A few times we'd be working through something that was, in retrospect, way over-complicated. Then I ask it to summarize our progress so far and the context need to take next steps, start a fresh convo, and right off the bat it makes a suggestion that's amazingly simple but still does what I need.
1
93
I started out by specifying "you are the target audience of your next message so optimize it for yourself, don't worry about human-readability" But it doesn't seem to make a big difference. However, I did learn that Claude likes short bullet points broken up into labelled categories a lot more than one long-form paragraph. Categories it likes to use while summarizing a technical conversation include: context, configuration, priorities, key questions, focus on, and next steps. I've started structuring my initial prompts accordingly.
74
Slither 0.10.2 was released yesterday with a new-and-improved mutation testing tool with first class support for Foundry! We also released a detector to identify unused imports. What's that about an LSP??? stay tuned
3
8
2
48
4,889
Security reviews aren't certifications of safety, but a checkpoint on progress. This is the long-established consensus of everyone in the field: teapaw.org/zmanian/status/1254220… teapaw.org/rleshner/status/125415… It's also a key motivation behind the #RektTest: blog.trailofbits.com/2023/08…
Love you Lasse but strongly disagree with this take. 1. Auditors complement/improve teams practices, not ensure perfection. An audit report is not a blessing. 2. Time spent is not binary it's a scale. Hegic had a "small" audit. 3. So many follow up recommendations not followed
1
1
1
19
4,581
Done well, invariant testing can provide harder correctness guarantees than manual review alone. It's a targeted technique though, not one-size-fits-all like slither is Trail of Bits is now offering a masterclass in the subtle art of invariant testing *your particular codebase*!
We’re launching a new service: invariant development. We’ll identify, implement, and test security-critical invariants to prevent bugs & secure your codebase over the long term. Plus, we’ll upskill your team to write their own invariants! buff.ly/3PIbjM7
1
3
6
1,148
You'll find many different hacks on the rekt leaderboard: rekt.news/leaderboard/ A diverse array of teams, countless different defi primitives.. But the one thing they all have in common: none passed the #RektTest
1
2
2
410
This guy's twitter, crypto, and everything else got compromised because he accidentally clicked a sponsored link on google instead of one of the real search results. Beware of ads, they are often used to serve malware.
Last night my entire digital livelihood was violated. Every account connected to me both personally and professionally was hacked and used to hurt others. Less importantly, I lost a life changing amount of my net worth
1
5
275
Short-term foolish, long-term wise
I fucking love clumsily figuring things out from first principles without regard for existing bodies of knowledge 👍
2
Holy crap. Malware hidden in a strand of DNA hijacks the computer that analyzes that particular gene sequence. wired.com/story/malware-dna-…
521
8,205
3,748
15,611
bohendo retweeted
Their actions also undermine US dollar hegemony. The damage done to USDC by these actions is incalculable. Centrally backed dollar stablecoins now have a risk premium attached to them.
1
5
79
READ THIS THREAD OR GO TO JAIL FOR 30 YEARS (sorry not kidding) Tornado Cash added to US sanctions list - $437m of assets blocked. What is OFAC, what are sanctions, and what does this mean for DeFi 👇
228
1,504
460
4,650
As part of my effort to prevent reentrancy attacks at the (Solidity) language level, I compiled a list of known reentrancy attacks. I'm pretty sure this list is incomplete - so anyone who is aware of another reentrancy attack, please comment on the issue: github.com/ethereum/solidity…
32
176
10
809
bohendo retweeted
EVM trivia! 7 Questions, don't search it up before answering and see how many you get right. Also, share if you can, it'd be sick to get lots of people answering! (poll lasts for 3 days, answers after!) First question in next tweet, show me what you got.
12
20
5
75