
Security Researcher @Immunefi 🧑💻( https://teapawt.net/t.co/kyVOYOi9y5 ) next → @0xunineko
Joined July 2019
- Tweets1.6K
- Following3.3K
- Followers404
- Likes7.7K
unineko🏖️💻 retweeted
【論文発表のお知らせ】
Beyond Code Reasoning: A Specification-Anchored Audit Framework for Expert-Augmented Security Verification
arxiv.org/abs/2604.26495
これまでのセキュリティ監査ツールの多くは、「コードの中にある怪しいパターン」を探すアプローチに依存してきました。
しかし、Ethereum の合意形成システム、暗号ライブラリ、HTTP プロトコルのような本格的なソフトウェアでは、自然言語で書かれた仕様書がすべてのルールを定義しています。
仕様書にしか書かれていない「絶対に守るべき不変条件」や「信頼境界」を破るバグは、コードだけを見ていても本質的に見つけにくい。
これこそが、長年見過ごされてきた盲点でした。
1/n
unineko🏖️💻 retweeted
A few steps towards “bug free world”
1. Companies prioritize AI scans to find more bugs.
2. Human analysts/SRs focus on LLM-augmented bug finding.
3. Bug reports are triaged by LLMs
4. All are constrained by LLM capabilities. No amount of prompting can make an LLM scan patterns it doesn’t have.
5. Black hats learn heuristics for what sorts of bugs LLMs miss.
6. Black hats revert to doing work mostly manually.
7. More exploits.
8. AI marketing says black hats are using more sophisticated AI. You need to spend more in AI to catch up.
9. Repeat.
That’s the real bug apocalypse risk.
unineko🏖️💻 retweeted
Recon Magic is now Open Source.
Write Fuzzing suites 40 times faster than manual work.
The repo gives you access to prompts, custom tools as well as a orchestration framework to make it all work.
Clone Recon-Fuzz/recon-magic-framework
Run uv tool install --editable .
recon-magic-framework --workflow NAME
Check prompts for the tool agnostic prompts
Check and alter workflows to customize the automations
unineko🏖️💻 retweeted
So, I did some research.
The regression is real. But it's not Claude getting dumber. And you can fix that.
Thinking budgets were adjusted. For complex multi-file work, the default medium effort may not be enough.
Three fixes:
1. /effort high (or /effort max on Opus for hard debugging)
2. ~/.claude/settings.json → "showThinkingSummaries": true
3. CLAUDE.md: "Research the codebase before editing. Never change code you haven't read."
GitHub issue #42796 analyzed 17,871 thinking blocks across 6,852 sessions. The pattern: when thinking depth drops, the model shifts from research-first to edit-first.
Claude didn't get worse. The defaults got conservative.
There’s probably little value in using the claude skills themselves, but understanding what’s inside them is highly meaningful.
2
106
unineko🏖️💻 retweeted
As of today, BattleChain testnet is LIVE.
The pre-mainnet, post-testnet blockchain, where whitehats legally attack your smart contracts before they reach production.
Deploy. Get attacked. Ship stronger.
Here's why we built it, what it is, and how you can get involved 🧵
Lately, I've audited Solana Rust, Cosmos Go, and Sui Move—all new to me. Even though my background was only in EVM Solidity, I managed to find several bugs by drawing on my experience with Solidity smart contracts and the DeFi protocols I've seen so far🫡
2
90
unineko🏖️💻 retweeted
Claude Code skill files for smart contract auditing
@pashov: github.com/pashov/skills
@trailofbits: github.com/trailofbits/skill…
@cyfrin: github.com/Cyfrin/solskill
@0xkaden: github.com/kadenzipfel/scv-s…
@QuillAudits_AI: github.com/quillai-network/q…
@archethect: github.com/Archethect/sc-aud…
Did I miss any? 🧐
unineko🏖️💻 retweeted
Your AI agent now has access to 20k+ smart contract audit findings.
claudit - one-line install, works with Claude Code & Codex CLI, searches across all @SoloditOfficial findings, open source.
Huge shoutout to @Cyfrin for opening the Solodit API 🫡
Link below 🔗👇
I'm diving into audits for Cosmos (Go), bridges, and Rust/Solana — all completely new territory for me. It's overwhelming at times, like being lost at sea with all this new info, but honestly, it's incredibly rewarding🚣
33
I'm currently learning Rust, Anchor, and stateful fuzzing techniques specifically for auditing Solana protocols
1
1
35
unineko🏖️💻 retweeted
How I think about "security":
The goal is to minimize the divergence between the user's intent, and the actual behavior of the system.
"User experience" can also be defined in this way. Thus, "user experience" and "security" are thus not separate fields. However, "security" focuses on tail risk situations (where downside of divergence is large), and specifically tail risk situations that come about as a result of adversarial behavior.
One thing that becomes immediately obvious from the above definition, is that "perfect security" is impossible. Not because machines are "flawed", or even because humans designing the machines are "flawed", but because "the user's intent" is fundamentally an extremely complex object that the user themselves does not have easy access to.
Suppose the user's intent is "I want to send 1 ETH to Bob". But "Bob" is itself a complicated meatspace entity that cannot be easily mathematically defined. You could "represent" Bob with some public key or hash, but then the possibility that the public key or hash is not actually Bob becomes part of the threat model. The possibility that there is a contentious hard fork, and so the question of which chain represents "ETH" is subjective. In reality, the user has a well-formed picture about these topics, which gets summarized by the umbrella term "common sense", but these things are not easily mathematically defined.
Once you get into more complicated user goals - take, for example, the goal of "preserving the user's privacy" - it becomes even more complicated. Many people intuitively think that encrypting messages is enough, but the reality is that the metadata pattern of who talks to whom, and the timing pattern between messages, etc, can leak a huge amount of information. What is a "trivial" privacy loss, versus a "catastrophic" loss?
If you're familiar with early Yudkowskian thinking about AI safety, and how simply specifying goals robustly is one of the hardest parts of the problem, you will recognize that this is the same problem.
Now, what do "good security solutions" look like?
This applies for:
* Ethereum wallets
* Operating systems
* Formal verification of smart contracts or clients or any computer programs
* Hardware
* ...
The fundamental constraint is: anything that the user can input into the system is fundamentally far too low-complexity to fully encode their intent. I would argue that the common trait of a good solution is: the user is specifying their intention in multiple, overlapping ways, and the system only acts when these specifications are aligned with each other.
Examples:
* Type systems in programming: the programmer first specifies *what the program does* (the code itself), but then also specifies *what "shape" each data structure has at every step of the computation*. If the two diverge, the program fails to compile.
* Formal verification: the programmer specifies what the program does (the code itself), and then also specifies mathematical properties that the program satisfies
* Transaction simulations: the user specifies first what action they want to take, and then clicks "OK" or "Cancel" after seeing a simulation of the onchain consequences of that action
* Post-assertions in transactions: the transaction specifies both the action and its expected effects, and both have to match for the transaction to take effect
* Multisig / social recovery: the user specifies multiple keys that represent their authority
* Spending limits, new-address confirmations, etc: the user specifies first what action they want to take, and then, if that action is "unusual" or "high-risk" in some sense, the user has to re-specify "yes, I know I am doing something unusual / high-risk"
In all cases, the pattern is the same: there is no perfection, there is only risk reduction through redundancy. And you want the different redundant specifications to "approach the user's intent" from different "angles": eg. action, and expected consequences, expected level of significance, economic bound on downside, etc
This way of thinking also hints at the right way to use LLMs. LLMs done right are themselves a simulation of intent. A generic LLM is (among other things) like a "shadow" of the concept of human common sense. A user-fine-tuned LLM is like a "shadow" of that user themselves, and can identify in a more fine-grained way what is normal vs unusual.
LLMs should under no circumstances be relied on as a sole determiner of intent. But they are one "angle" from which a user's intent can be approximated. It's an angle very different from traditional, explicit, ways of encoding intent, and that difference itself maximizes the likelihood that the redundancy will prove useful.
One other corollary is that "security" does NOT mean "make the user do more clicks for everything". Rather, security should mean: it should be easy (if not automated) to do low-risk things, and hard to do dangerous things. Getting this balance right is the challenge.
Now that the contest has settled down, I’m going to dive deeper into Recon fuzzing for Centrifuge V3, then apply what I learn to V3.1 and run a shadow audit. I still have a lot to learn about Chimera
29
Lesson: Most bugs that fuzzing misses are due to incomplete invariant design, not insufficient input space exploration.
22
Indeed, Codex 5.3 is more accurate and intelligent than opus 4.6. Perhaps opus 4.6 excels at aggressively advancing the analysis of output files and identifying the causes of errors.
1
31
unineko🏖️💻 retweeted
After nearly a year of writing and revision, we’re proud to finally present a new book from RareSkills, created in collaboration with @Certora:
Formal Verification with the Certora Prover
Certora makes formal verification accessible—but for newcomers, there’s still a large set of unfamiliar concepts to learn.
Teaching a broad and unfamiliar field comes with pedagogical challenges. Dive into projects too early, and you’re forced to use syntax you don’t yet understand. Delay compelling applications too long, and readers lose interest.
We worked carefully to balance showing “cool examples” without presenting anything that feels magical—i.e., concepts the reader hasn’t yet built a mental framework for.
Our hope is that this work helps formal verification become a more standard part of development and auditing.
Clocking in at well over 60,000 words, this is not a small book. But like any RareSkills publication, it’s information-dense yet approachable, thorough without being academic, and above all, practical and illuminating.
In a space that quickly jumps from one meta to the next, we’re proud to collaborate with a company willing to invest in long-horizon projects that make Web3 safer.
Link in the reply.













