h hoge.gg
Subscribe
BTC$67,432.18+2.34%ETH$3,521.44+1.08%SOL$178.62-0.62%BNB$612.30+0.41%XRP$0.6234-0.18%ADA$0.4521+3.12%DOGE$0.1623+1.86%AVAX$38.71-1.24%LINK$17.84+0.92%HOGE$0.00004120+4.21%
BTC$67,432.18+2.34%ETH$3,521.44+1.08%SOL$178.62-0.62%BNB$612.30+0.41%XRP$0.6234-0.18%ADA$0.4521+3.12%DOGE$0.1623+1.86%AVAX$38.71-1.24%LINK$17.84+0.92%HOGE$0.00004120+4.21%
● Security & Exploits

Trail of Bits: The Lab Behind Crypto’s Audit Toolchain

Slither, Echidna, and Medusa all came from one firm that also writes crypto's most-cited audits. Here is how Trail of Bits works, and where even a clean audit stops being a guarantee.

Ship a smart contract in 2026 and the odds are good that at least one program inspecting it was written by a single security firm. Slither flags the obvious bugs before the code ever reaches a human reviewer. Echidna and Medusa then hammer the contract with randomized transactions, hunting for a state the developers swore could never happen. All three came out of Trail of Bits, the New York company that has spent more than a decade building both the audits and the tools other auditors run.

That dual role, auditor and toolmaker, makes Trail of Bits one of the most consequential names in crypto security, even though it was never a crypto company to begin with. It also makes the firm a useful lens on a question the industry keeps dodging: after thousands of audits and years of free tooling, why do exploits keep draining the same kinds of contracts? In 2026 Trail of Bits answered with a bet, rebuilding itself around artificial intelligence and claiming its engineers now surface bugs at a pace that would have sounded absurd two years ago.

This is a profile of how that firm works, what its tools actually do, what its public reports reveal, and where even the best audit stops being a guarantee.

A Security Firm Older Than Most of DeFi

Dan Guido, Dino Dai Zovi, and Alexander Sotirov founded Trail of Bits in 2012, before Ethereum existed and when the phrase smart contract security was not yet a job title. All three were already well known in offensive security, and the trade press described the founders as infosec heavyweights when the company launched. The firm did not set out to audit DeFi; it set out to do hard security research for clients who could not afford to be wrong.

Today Trail of Bits employs more than 140 engineers working across cryptography, application security, systems, AI, and blockchain. Its client roster outside crypto, which includes the teams behind products like Zoom and WhatsApp as well as defense and finance organizations, is part of why its crypto work carries weight: the same people who review consumer messaging encryption and national-security software also review on-chain code. The firm even took second place and a $3 million prize in a U.S. government competition to build autonomous bug-finding systems, a credential almost no crypto-native auditor can match, as its alma mater NYU noted.

The blockchain practice operates under the Crytic brand, and it is not a boutique. On its blockchain services page, Trail of Bits lists more than 470 public blockchain engagements and thousands of person-weeks of logged effort, alongside the hundreds of audit reports it has cleared for public release. The crypto client list reads like a map of the ecosystem: Uniswap, Aave, Compound, MakerDAO, Chainlink, the Solana Foundation, Arbitrum, and ZKsync among them.

That pedigree explains a quiet irony of crypto security: some of its most trusted tools and reviewers come from a firm that still earns much of its money outside crypto entirely. The advantage is cultural. A team that has spent a decade breaking operating systems, messaging apps, and cryptographic libraries brings an adversarial habit of mind that a contract-only shop can struggle to match, and it is far less tempted to treat a passing test suite as proof of safety.

The Toolchain the Rest of the Industry Audits With

Most firms audit with tools. Trail of Bits audits with tools it wrote, then gives them away. The company frames the Slither, Echidna, and Medusa stack as the toolchain much of the industry now audits with, and the claim is hard to dispute: the programs are free, open-source, and embedded in the continuous-integration pipelines of countless protocols. Engineers run them on every engagement, tune them to the client’s codebase, and leave the detectors and invariants behind so the next commit gets checked automatically.

The portfolio stretches well beyond Ethereum. There are static analyzers for Starknet and Algorand, a symbolic execution engine, and a pre-built container that bundles the Ethereum tools so a team can start testing in minutes. There is also a book. The following table maps the core open-source stack.

ToolCategoryTargetWhat it does
SlitherStatic analyzerSolidity, VyperFlags known vulnerability patterns and prints contract structure; more than 90 built-in detectors; designed for CI
EchidnaProperty-based fuzzerEVM contractsThrows randomized transactions at a contract to break developer-defined invariants
MedusaParallelized fuzzer (Go)EVM contractsEchidna’s successor; runs many fuzzing workers at once for deeper state coverage
CaracalStatic analyzerStarknet (Cairo)Finds bugs in Cairo contracts deployed to Starknet
TealerStatic analyzerAlgorand (TEAL)Lints Algorand smart-contract bytecode for unsafe patterns
ManticoreSymbolic executionEVM and binariesExplores many execution paths at once to prove a dangerous state is reachable
Building Secure ContractsGuide and trainingMultiple chainsOpen handbook of secure patterns, not-so-smart-contract examples, and tool tutorials

The strategic point is subtle but important. By open-sourcing the tooling, Trail of Bits lowered the floor for the entire industry; even a competitor’s audit is probably partly its software. That is good for crypto and good for the firm, because the tools double as marketing and as a recruiting funnel for the people who build them.

Slither: The Linter That Became a Standard

If one tool carries the Trail of Bits name into the wider world, it is Slither, a static analysis framework written in Python that reads Solidity and Vyper. It runs a suite of more than 90 vulnerability detectors, prints readable summaries of a contract’s inheritance and data flow, and exposes an API so auditors can script their own custom checks. It plugs into Foundry and Hardhat, and it is fast enough to run on every pull request rather than once at the end of development.

Slither grew out of a 2019 research paper by Trail of Bits engineers Josselin Feist, Gustavo Grieco, and Alex Groce, who reported that the tool parsed 99.9% of publicly available Solidity with a low false-positive rate, the two properties that decide whether developers actually keep a scanner switched on. Feist, who led the firm’s blockchain engineering for years, is also behind related analyzers for other ecosystems, a sign of how the firm turns one good idea into a family of tools. The repository has gathered more than 6,000 stars on GitHub, which for a developer security tool is a meaningful signal of real use rather than curiosity.

What Slither does not do is as important as what it does. Static analysis catches patterns: reentrancy shapes, dangerous delegatecalls, uninitialized storage, shadowed variables, bad arithmetic assumptions. It does not understand business logic, and it cannot tell you that a lending market will behave strangely when an oracle prints a price no one expected. For that, you need to describe what should always be true and then try to falsify it.

Echidna, Medusa, and the Cult of Invariants

Property-based fuzzing is the second pillar of the Trail of Bits method, and it is where the firm’s thinking is most distinctive. The idea is simple to state and hard to do well. Instead of writing tests that assert specific outputs for specific inputs, you write invariants, statements that must hold no matter what: the sum of user balances always equals total supply, a vault can never pay out more than it holds, a position can never be liquidated while it is healthy. Then you let a fuzzer generate thousands of random transaction sequences and try to break them.

Echidna pioneered this workflow for Ethereum contracts. Medusa, its newer sibling written in Go, runs many fuzzing workers in parallel for deeper coverage and faster feedback. In practice, the two sit at the center of a dedicated service the firm sells, invariant testing and development, in which engineers do not just audit the code but teach the client’s team to encode their own safety properties so the fuzzer keeps guarding the contract long after the engagement ends.

This matters for exploits specifically. A large share of the biggest DeFi losses were not exotic compiler tricks but violations of an invariant the team assumed held: an accounting identity that quietly broke under a flash loan, a rounding error that compounded, a share price that could be inflated by a tiny first deposit. A good invariant suite is the closest thing the industry has to a smoke detector that keeps working while the house is being renovated.

Beyond Solidity: Cryptography and Zero-Knowledge

Smart contracts are only the visible layer of crypto security. Underneath sit the cryptographic primitives that make the whole thing work: signature schemes, hash functions, multi-party computation, and increasingly the zero-knowledge proof systems powering rollups, privacy tools, and proof-based bridges. Trail of Bits runs a dedicated cryptography practice for exactly this layer, staffed by a team of which roughly half hold PhDs in the field and the rest ship production cryptographic code in Rust, Go, and C.

Zero-knowledge circuits are a uniquely dangerous place to have a bug, because the failure mode is silent. An under-constrained circuit will happily accept a proof that should be invalid, which means the proof proves nothing while every dashboard still shows green. That is not a Solidity problem a conventional reviewer would catch; it is a problem in the math and the constraints. To attack it, the firm built Circomspect, a static analyzer for Circom, the circuit language behind many deployed proof systems, that flags under-constrained signals, unused outputs, and shadowed variables before they reach production. The team also maintains ZKDocs, a public reference meant to stop developers from reimplementing the same cryptographic footguns.

For a market racing to tokenize, bridge, and prove everything, this is the least glamorous and most load-bearing work there is. A broken lending contract loses the funds in that one pool. A broken proof system can quietly undermine an entire rollup, and no amount of smart-contract review would ever have flagged it.

Inside a Trail of Bits Engagement

The firm structures its blockchain work into four broad shapes. A design assessment reviews architecture and deployment plans before much code exists. An early-stage assessment guides teams still in active development. Invariant testing and development focuses on fuzzing and property writing. A comprehensive code assessment is the full manual review most people picture when they hear the word audit. Across all of them, Trail of Bits supports Ethereum and the EVM chains, Solana, Cosmos, Substrate, Move chains such as Aptos and Sui, Starknet, and more, so the reviewers are rarely seeing a toolchain for the first time.

The organizing philosophy is something Guido calls making security compound. In a July 2026 conversation with O’Reilly, he put it plainly: I want our security expertise to compound as code, he said. Every engagement we do, all the skills, the workflows, everything that we build makes the next engagement faster and better. In concrete terms, that means a finding on one audit becomes a Slither detector or an Echidna property that catches the same class of bug on the next client’s code, forever.

That is also the differentiator a procurement team should understand. A cheaper contest or a solo reviewer can find bugs. What Trail of Bits sells is a process that leaves the client with reusable machinery, custom detectors, invariant suites, and CI integration, not just a PDF. Whether that is worth the premium depends entirely on whether the team actually runs what it is handed.

Timing is part of the pitch too. The firm pushes clients toward design and early-stage reviews precisely because the cheapest bug to fix is the one caught before it is written into a system that other contracts depend on. By the time code is deployed and holding user funds, the cost of a fix, and the cost of being wrong, has multiplied many times over. A review that starts at the architecture stage can delete whole classes of vulnerability from the design before a single line is formally audited.

Reading the Public Reports

One of the more useful things Trail of Bits does is publish. Where many firms hide behind a single-badge summary, Trail of Bits releases full reports its clients clear for release, which means anyone can read the actual findings, severities, and recommendations and judge the work for themselves. That transparency is a public good, because it lets the rest of the ecosystem learn from other people’s near-misses.

Take the Aave v4 review published in February 2026. Over roughly six weeks, the team logged seven issues: two medium, one low, and four informational. The two medium findings are the instructive part. One was a denial-of-service path tied to deficit reporting via micro-collateral; the other was a scenario in which users could become immediately liquidatable right after executing a legitimate action. Neither is a cartoonish backdoor. Both are the kind of subtle state interaction that only surfaces when experienced eyes model an adversary.

The firm’s work with Offchain Labs on Arbitrum shows the other end of the spectrum: a long series of public summary reports covering ArbOS upgrades, token bridges, and governance contracts across multiple years, the unglamorous, repeated reviews that keep a major Layer 2 honest as it ships change after change. And in August 2026 the research team disclosed a state-divergence bug in Provenance Blockchain that let users grant themselves admin control over marker accounts, a reminder that the firm hunts beyond the EVM mainstream.

TargetWhenScopePublic outcome
Aave v4February 2026Core protocol review (about six weeks)7 issues: 2 medium, 1 low, 4 informational
Arbitrum / Offchain Labs2024 to 2026ArbOS upgrades, token bridges, governanceMultiple public summary reports
Provenance BlockchainAugust 2026Marker account access controlState divergence allowed unauthorized self-granted admin control

The 2026 Research Drumbeat

Trail of Bits treats its blog as a second product line, and in 2026 it kept a steady beat of findings that read like a field guide to where DeFi actually breaks. A July piece catalogued seven recurring failure patterns in Uniswap v4 hooks, including missing caller checks and accounting bugs that bypass settlement invariants, exactly the sort of thing the new hook architecture invites. An earlier post documented six recurring mistakes across dozens of audited ERC-4337 implementations, the account-abstraction designs behind the smart-account wallets that are reshaping how people hold crypto.

The more experimental research shows where the firm thinks the craft is heading. In March the team published work on applying dimensional analysis, the physics trick of checking that units line up, to catch arithmetic and logic bugs in token and liquidity math, and released a companion plugin it said reached 93% recall against real audit findings. Separate posts extended mutation testing, a technique that deliberately injects bugs to measure whether a test suite would even notice, to new languages and to AI-driven workflows. The throughline is consistent: every piece of research is a down payment on a future detector.

Read in sequence, the 2026 output tells you where the firm expects the next wave of exploits to land. Hooks and account abstraction widen what a contract can do, and with that flexibility comes a larger surface for mistakes; the bets on dimensional analysis and mutation testing assume the next generation of bugs will be subtle arithmetic and logic errors rather than textbook reentrancy. For any team building on the newest primitives, the blog doubles as a free pre-mortem, a list of the mistakes other audited projects already made so you do not have to repeat them.

Betting the Firm on AI

The biggest story at Trail of Bits in 2026 is not any single audit. It is that Guido decided to rebuild the entire company around AI, and said so loudly, in talks with titles like 200 Bugs per Week per Engineer. He frames AI not as a tool bolted onto the side but as an operating system for the firm, with models treated as teammates that handle the grind so human experts can spend their judgment where it counts.

He has been unusually candid that this was not a smooth sell internally. By his own account, when he announced the shift only a small minority of staff actively supported it, roughly a fifth actively resisted, and most were quietly skeptical. Security engineers tie their identity to craft, and the fear that a model will flatten that craft is real. Guido’s answer was to reframe the tool’s purpose. As he told O’Reilly, the goal is to make AI something that makes you a more dangerous auditor, not that it does the audit for you. In the same conversation he described a hidden cost most organizations ignore, that permissions debt stays invisible until an agent hits it, and that making data legible to an AI forces the data-governance cleanup firms keep deferring.

For the crypto industry, the subtext is pointed. Audits are expensive and auditors are scarce, which is part of why so much unreviewed code ships. If a firm with Trail of Bits’ standards can genuinely multiply its output without multiplying its false positives, the economics of security change for everyone. If it cannot, the industry will have paid for a lot of confident, machine-generated noise.

Buttercup and the DARPA Receipt

The strongest evidence that the AI bet is more than slideware is Buttercup, the autonomous system Trail of Bits entered in DARPA’s AI Cyber Challenge. At DEF CON in 2025 it won second place and a $3 million prize in a two-year competition to build a fully automated system that could find, prove, and patch vulnerabilities in open-source software with zero human interaction.

The performance details are what make it interesting. Buttercup found 28 vulnerabilities across 20 distinct weakness classes with about 90% accuracy, at a cost the team pegged near $181 per point, and it deployed 19 patches, including the competition’s largest fix at more than 300 lines. It even surfaced real bugs the organizers had not planted. Most striking, the firm said it achieved this using only non-reasoning models rather than the expensive frontier reasoning systems, a result that suggests clever engineering can beat raw model horsepower. Trail of Bits then open-sourced the whole Cyber Reasoning System, consistent with its habit of turning competitive advantage into public infrastructure.

Buttercup was built for C and open-source systems code rather than Solidity, so it is not a smart-contract auditor. But the architecture, agents that triage, reproduce, and patch at machine speed, is exactly the kind of pipeline the firm is now pointing at its blockchain work, and it is a preview of where automated crypto auditing is headed.

Patch the Planet: Auditing the Code Crypto Runs On

In June 2026, OpenAI launched an initiative called Patch the Planet, built with Trail of Bits, to find and fix vulnerabilities in the critical open-source software the world depends on. The model pairs AI-assisted research using OpenAI’s most cyber-capable systems with expert human review: engineers validate the machine’s findings, write the patches, and do coordinated disclosure before maintainers are asked to act.

The early numbers were loud. In its first week the program reported dozens of pull requests and filed issues across 19 open-source projects, with patches already merging upstream. The project list is where crypto should pay attention: it includes cURL, Go, Python, Sigstore, and pyca/cryptography. Those are not obscure libraries. Go underpins a great deal of blockchain infrastructure, from Ethereum clients to Cosmos chains; pyca/cryptography sits beneath countless wallets and backends; Sigstore is about software supply-chain integrity. A bug in that layer does not respect the boundary between an audited contract and the unaudited plumbing around it.

This is the quiet half of crypto security that audit badges never cover. Reviewing a protocol’s Solidity says nothing about the RPC node, the signing library, or the build pipeline that compiled it. Initiatives like this one are an admission that the real attack surface is the whole stack, not the smart contract at the top of it.

Why an Audit Is Never a Guarantee

Here is the part no auditor likes to say in a sales call: an audit is a best-effort snapshot, not a warranty. It reflects the state of the code, the reviewers’ understanding, and the time budget at one moment. Protocols change after they ship, and the review goes stale the first time someone deploys a new contract or tweaks a parameter.

The people most associated with crypto security say this openly. samczsun, the widely followed researcher who founded the Security Alliance, has argued that code audits, formal verification, and bug bounties are not sufficient on their own to stop attacks, that reports become outdated as protocols evolve, and that annual re-audits should become standard practice. The academic evidence is just as blunt: a study of on-chain breaches found that having an audit at launch is not robustly associated with a lower likelihood of a future breach, because a review is a snapshot while the threat landscape keeps moving.

There is also an entire category of loss that no smart-contract audit touches. A static analyzer will not stop a phishing campaign that tricks a signer into approving a malicious transaction. It will not fix the trust assumptions baked into a cross-chain bridge, which is why users still need a risk playbook before moving funds. And in the United States a clean report has never satisfied the SEC, which weighs disclosure and investor protection, not test coverage. An audit narrows the blast radius of a contract bug; it does nothing about keys, governance, operations, or the human at the keyboard.

This is not an argument against audits; it is an argument for reading them correctly. The most dangerous outcome is a team, or a user, that treats a report as a finished product and stops paying attention. A review tells you what was examined, by whom, for how long, and what they found at that moment. Everything outside that frame, the upgrade shipped the following week, the admin key held on a hot laptop, the governance proposal nobody read, remains exactly as risky as it was before the auditors arrived. Security is a process, and the report is a single, perishable snapshot of it.

Where Trail of Bits Sits in a Crowded Market

Trail of Bits is not the only serious name in crypto security, and it competes with firms that have carved out distinct niches. The honest way to read the landscape is by specialty rather than by a single leaderboard, because the right choice depends on what you are shipping and on which chain.

FirmPrimarily known for
Trail of BitsThe Slither, Echidna, and Medusa toolchain; full public reports; autonomous systems like Buttercup; deep security work far beyond crypto
OpenZeppelinThe widely used Contracts library that most of DeFi imports, plus audits
CertiKHigh audit volume and its Skynet on-chain monitoring product
Zellic, OtterSec, NeodymeNon-EVM depth in Solana (Rust) and Move chains (Aptos, Sui)
CertoraFormal verification through its Prover, proving properties mathematically
Code4rena, Sherlock, CantinaCompetitive and crowdsourced audit contests that scale many eyes onto one codebase

What sets Trail of Bits apart is less any single audit than its posture as a research lab that happens to sell reviews. It writes the tools, publishes the findings, trains the next generation through its open handbook, and now ships autonomous systems. Few competitors operate on all of those fronts at once, and fewer still bring a non-crypto security pedigree to the table. That breadth is also the firm’s commercial argument: the same instincts that break messaging encryption transfer to breaking a lending market.

The competitive pressure is about to intensify in a way that should concern users. If Trail of Bits can multiply its output with AI, so can the low-end shops that sell a logo and a rubber stamp, and an automated audit that looks thorough but reasons shallowly is arguably more dangerous than no audit at all, because it manufactures false confidence. In that environment, the firm’s habit of publishing full reports becomes a competitive moat: transparency is the one thing a rubber stamp cannot fake.

What It Means for Builders and Users in 2026

For builders, the practical takeaways are cheap and immediate. Run the free tools in continuous integration before you ever pay for a human review, so the obvious findings are gone by the time the expensive eyes arrive. Write invariants early and let a fuzzer guard them. Re-audit on every material change rather than treating the launch report as a permanent certificate. And remember that the code is only part of the attack surface; the deployment, the keys, and the upstream libraries all need their own discipline.

  • Treat Slither and Medusa as table stakes, not as a substitute for review.
  • Ask an auditor what reusable detectors and invariants you will keep afterward.
  • Read the full report, not the badge, and check its date and scope.
  • Budget for recurring reviews the way you budget for infrastructure.

For users, the lesson is to read an audit as a signal, not a shield. A report from a credible firm tells you a team cared enough to pay for scrutiny and that a class of bugs is less likely. It does not tell you the protocol is safe, that its governance cannot be captured, or that your own wallet is protected; that last part still comes down to which hardware wallet you trust and how carefully you sign. In a year when nearly every forecast fixates on whether Bitcoin can reclaim $126K, it is worth remembering that security is the floor under every one of those price targets. Exploits erase gains faster than any market makes them, and the firms quietly building the tools to catch those exploits are doing more for the number than most of the people talking about it.

Trail of Bits will not stop the next hack by itself. What it has done is make the baseline of crypto security a little harder to ignore: the tools are free, the reports are public, and the excuses for shipping unchecked code are running out.

Frequently Asked Questions

What is Trail of Bits best known for in crypto?

Trail of Bits built the open-source security tools much of the industry audits with, including the Slither static analyzer and the Echidna and Medusa fuzzers. It also runs a large blockchain audit practice under the Crytic brand and publishes many of its full reports, covering clients from Aave and Uniswap to Arbitrum.

What are Slither, Echidna, and Medusa?

They are free tools for finding smart-contract bugs. Slither statically analyzes Solidity and Vyper code for known vulnerability patterns, while Echidna and Medusa are fuzzers that bombard a contract with randomized transactions to break the invariants a developer claims should always hold.

Does a Trail of Bits audit mean a protocol is safe?

No. An audit is a best-effort snapshot of the code at one moment, not a warranty. Findings go stale as a protocol changes, and no audit can stop private-key theft, phishing, bridge trust failures, or governance attacks, which is why many teams now re-audit on every major change.

Is Trail of Bits using AI to find bugs?

Yes. The firm rebuilt its workflows around AI in 2026, won a $3 million second-place prize at DARPA’s AI Cyber Challenge with an autonomous system called Buttercup, and partnered with OpenAI on Patch the Planet, an effort to find and fix bugs in critical open-source software.

Are Trail of Bits tools free, and how do I use them?

Yes. Slither, Echidna, Medusa, and the Building Secure Contracts handbook are open-source and free to run in your own continuous-integration pipeline. The firm also packages its Ethereum tools in a single eth-security-toolbox container so teams can test their code before paying for a formal review.

By the HOGE Wire security desk, covering crypto exploits, audits, and the people who break and fix smart contracts.

Share 𝕏 Post Telegram