Elektrine lite

← Feed

Trail of Bits

trailofbits@infosec.exchange

<p>We help secure the world’s most targeted organizations and products. We combine security research with an attacker mentality to reduce risk and fortify code.</p>

Posts

  • View post

    MPC inside a Trusted Execution Environment (TEE) adds defense in depth, but the two make different bets on trust. MPC spreads trust across independent parties, while TEEs concentrate it in the hardware manufacturer and its attestation infrastructure. Our new post covers what TEE attestation can and can&#39;t fix in MPC deployments, the pitfalls we see most often in audits, and how to combine the two without undermining either. https://blog.trailofbits.com/2026/09/25/dont-let-tees-break-your-mpc...

  • View post

    SAML was created in 2002 by merging four rival XML security protocols into one spec. That design still generates vulnerabilities: a canonicalization flaw via XML comments in 2018, XML round-trip bugs in Go&#39;s stdlib in 2020, a GitHub Enterprise SAML auth bypass in 2025, and more. Matt Schwager breaks down 5 design flaws behind the pattern and makes the case for moving to OIDC. https://blog.trailofbits.com/2026/09/21/saml-a-fractal-of-bad-design/ #SAML #OIDC

  • View post

    Both Black Hat keynotes this year are about AI and vulnerability research: &quot;The End of Rare&quot; and &quot;Vulnerability Research in the Agentic Age.&quot; Our entire company restructured around AI a year ago. Select engagements went from 15 bugs a week to 200. In just the past two months we found 1,000+ issues in cURL, Python, Go, and other open-source projects. We&#39;ll be in Vegas this week. Book time: https://meetings.hubspot.com/trailofbits/blackhat-defcon-scheduling #BHUSA #DEFCO...

  • View post

    Patch the Planet update: 1,137 issues found (+279 since July 20), 866 awaiting a patch, 125 fixes open upstream, 146 merged across 46 open-source projects. https://trailofbits.com/patch-the-planet/dashboard/ #infosec #opensource

  • View post

    Agentic AI headlines Black Hat&#39;s keynotes and DEF CON&#39;s main stage next week, and it&#39;s a topic we&#39;ve been researching for years. We&#39;ve hijacked multi-agent systems with one web page, pulled Gmail data from Perplexity&#39;s Comet via prompt injection, and built image-scaling attacks invisible to humans but not models. All documented on blog.trailofbits.com. We&#39;ll be in Vegas Aug 4-6. If you&#39;re around, we&#39;d love to chat: https://meetings.hubspot.com/trailofbits/bla...

  • View post

    Attackers drained $20M+ from protocols built around Uniswap v4 hooks. The two largest were Cork (~$12M) and Bunni ($8.4M). Neither came from bugs in the PoolManager, Uniswap v4&#39;s central contract. The failures came from application and hook code. We analyzed dozens of audit findings to isolate seven ways hooks break, and created a checklist for keeping these bugs out of production. https://blog.trailofbits.com/2026/07/30/building-secure-uniswap-v4-hooks/ #infosec #DeFi #smartcontracts

  • View post

    858 potential bugs found, 595 awaiting patches, 120 fixes open upstream, 143 merged. Patch the Planet&#39;s latest numbers are now on a public dashboard that covers 41 codebases, including curl, OpenSSL, Keycloak, containerd, and kubernetes-client. The 13 CVEs assigned so far include a high-severity nginx bug (CVE-2026-42530) and findings in curl, aiohttp, go-jose, and cryptography. Every accepted fix links to its upstream PR. https://trailofbits.com/patch-the-planet/dashboard #opensource #...

  • View post

    Every Rust bug we submitted through Patch the Planet came from one engineer who ran a variant-analysis pipeline using Codex&#39;s /goal. A separate discovery run uncovered two potential high-severity privilege-escalation bugs in Keycloak&#39;s SAML component. Over the past few weeks, our engineers independently converged on three techniques that get the most out of /goal. We wrote them down, with prompts included: https://blog.trailofbits.com/2026/07/28/how-we-use-goal-to-find-bugs-in-patch-the...

  • View post

    What we’ve learned about testing Rust for security, now available as a Testing Handbook chapter. Inside, you&#39;ll find what Rust&#39;s guarantees don&#39;t cover, undefined behavior with Miri, property testing with proptest, Clippy lints, memory zeroization, and model checking with Kani. We also released rust-review, a Claude Code plugin for automated Rust security reviews co-built with Aptos Labs. https://blog.trailofbits.com/2026/07/13/rust-proof-your-code-with-our-new-testing-handbook-ch...

  • View post

    Mewt grades your test suite by sabotaging your code. Each change that doesn&#39;t get flagged by your tests is a potential bug. Today we&#39;re expanding it to support DAML, Canton Networks&#39; native language, with two new mutant classes for its authorization rules: controller party swap and removal. When we tried Mewt on OpenZeppelin&#39;s canton-stablecoin reference implementation, all tests were green and coverage was 100%, but four surviving mutants exposed missing test cases. https://bl...

  • View post

    1.2 billion downloads ran through pyca/cryptography last month. Nearly every Python app that touches crypto depends on it. If it doesn&#39;t ship post-quantum primitives, the Python ecosystem can&#39;t migrate. We helped add ML-DSA (FIPS 204) for signatures and ML-KEM (FIPS 203) for key exchange to the library. Install and migration details in the blog. https://blog.trailofbits.com/2026/06/30/shipping-post-quantum-cryptography-to-python/

  • View post

    The fastest way to get a team to adopt AI is to make them put in reps. We run hackathons as a forcing function. 2-3 day sprints, one objective. Last time, we told every engineer to use Claude Code in bypass permissions mode. It&amp;#39;s now the default for our org. The full playbook: https://blog.trailofbits.com/2026/03/31/how-we-made-trail-of-bits-ai-native-so-far/

  • View post

    libFuzzer is in maintenance mode. We added LibAFL support to Ruzzy so Ruby devs and security researchers can run their next fuzzing campaign without harness modifications. Adding LibAFL support to Ruzzy took longer than expected. We took detours in ELF file internals, .init_array DSO sections, SanitizerCoverage interceptors, lazy vs. eager loading, and Ruby C extensions. https://blog.trailofbits.com/2026/04/29/extending-ruzzy-with-libafl/

  • View post

    &amp;quot;You can write exploits for software that exists in only one configuration that one company has. And you can do it on the fly.&amp;quot; —CEO Dan Guido in The Verge on how AI collapses the cost of finding bugs. https://www.theverge.com/ai-artificial-intelligence/915660/mythos-script-kiddies-hackers-attack-cybersecurity-ai

  • View post

    RE: https://fosstodon.org/@ostifofficial/116494100549474783 libVLC powers VLC media player, which has been downloaded more than 6 billion times. Our audit produced structural improvements, not just bug fixes. HTTPS for self-update and build dependencies, three new fuzzing harnesses for URL, CSS, and JSON parsing. More in the report.

  • View post

    30 readers took our C/C++ challenge. Some solved the Linux warmup, but nobody cracked the Windows driver bug. Even LLM-assisted submissions came up short. The walkthrough explains both, including the Windows escalation from local DoS to kernel code execution. Best 10 submissions are still getting swag. If you won, we&amp;#39;ll be in contact. https://blog.trailofbits.com/2026/05/05/c/c-checklist-challenges-solved/

  • View post

    We submitted SequenceHash to C2SP. It&amp;#39;s a new cryptography spec that prevents a common class of bugs by safely combining multiple inputs into a single hash with any hash function. Think TupleHash, generalized so it works on top of SHA-256, BLAKE2, or any underlying hash function. The draft is open for review on C2SP, part of our ongoing contributions to open cryptographic standards. https://c2sp.org/sequencehash

  • View post

    Go&amp;#39;s fuzzer can&amp;#39;t solve path constraints, fuzz typed inputs, or catch data races and goroutine leaks. gosentry is our fork of the Go toolchain that brings a LibAFL engine in Rust, Nautilus grammar fuzzing, struct-aware mutation, and race/leak detection into `go test -fuzz`. Same harness, stronger engine. We already used it to disclose 4 bugs in Optimism and Revm. https://blog.trailofbits.com/2026/05/12/go-fuzzing-was-missing-half-the-toolkit.-we-forked-the-toolchain-to-fix-it./

  • View post

    Homebrew, the missing package manager for macOS, produces the binaries that millions of users download daily. Read about our audit of Homebrew’s CI/CD pipeline and brew. https://blog.trailofbits.com/2024/07/30/our-audit-of-homebrew/

  • View post

    &amp;quot;Human plus LLM is vastly vastly better than either one alone.&amp;quot; Our Blockchain Engineering Director Ben Samuels explains why security auditors aren&amp;#39;t going anywhere.

  • View post

    When Claude reasons about code, it reasons about lists, but the questions that actually matter are graph questions. We just open-sourced Trailmark, a library that parses source code into a call graph using tree-sitter and rustworkx across 17 languages. 8 Claude skills built on its API. On Ed448, one classified 73% of surviving mutants as equivalent. Flat lists can&amp;#39;t see that. https://blog.trailofbits.com/2026/04/23/trailmark-turns-code-into-graphs/

  • View post

    If you market a machine that “cooks for you,” a chef will never buy it. This is called identity threat, one of the four reasons why people resist adopting AI. Reframed: The machine doesn&#39;t cook for you. It makes you a faster, more efficient chef. Our CEO Dan Guido&#39;s full playbook on how we went from 95% resistance to 80-95% weekly Claude usage within a year: https://blog.trailofbits.com/2026/03/31/how-we-made-trail-of-bits-ai-native-so-far/

  • View post

    Most companies use AI to do the same work slightly faster. We call that level one adoption. Companies at level three do fundamentally different work. We&amp;#39;re somewhere between level two and level three, and it took us a year to get there. 80-95% of our team use Claude weekly. We have 94 plugins containing 201 skills, 84 specialized agents, 29 commands, 125 scripts, and 414+ reference files encoding domain expertise. The full six-step playbook we used to get there: https://blog.trailofbi...

  • View post

    Our C/C++ code review challenge closes April 17. The new Testing Handbook chapter covers memory safety, integer errors, type confusion, kernel modules, Windows usermode, and seccomp sandbox escapes through manual code review. Analyze the vulnerable programs, explain how to exploit them, and submit a writeup. First 10 correct entries win swag. https://trailofbits.com/c-whats-wrong-challenge/

  • View post

    RE: https://fosstodon.org/@pypi/116414611218430369 4 billion downloads a day run through @pypi. A missing permission check let any org member invite new owners. One of 14 findings from our second audit.

  • View post

    Our sales team&amp;#39;s AI Maturity Matrix. Scored from 0-3, defining what AI-enabled work looks like at each level. Adoption is a ladder. Every team has clear levels, clear expectations, a clear path up, and real consequences for staying stuck. Every org&amp;#39;s matrix should look different. Copy the system, not the specifics. https://blog.trailofbits.com/2026/03/31/how-we-made-trail-of-bits-ai-native-so-far/

  • View post

    Google used a ZK proof to disclose a quantum breakthrough that cuts the cost of breaking cryptocurrency by 20x without handing attackers the circuit. The Rust code behind the proof had memory safety bugs. We used this new attack surface to forge a proof that beats Google’s on every metric. Google patched it within days. Their quantum claims are unaffected. https://blog.trailofbits.com/2026/04/17/we-beat-googles-zero-knowledge-proof-of-quantum-cryptanalysis/

  • View post

    We saw high coverage mask a fund-draining vulnerability, and caught it with mutation testing. We built the tools to make this routine. MuTON and mewt introduce bugs, run tests, and find what coverage misses. MuTON supports TON languages. mewt covers Solidity, Rust, Go, and more. https://blog.trailofbits.com/2026/04/01/mutation-testing-for-the-agentic-era/

  • View post

    99.86% of 73K+ MBA expressions, simplified. No previous tool could handle all four types. CoBRA is a new open-source tool that covers linear, semi-linear, polynomial, and mixed MBA obfuscation through 36 specialized passes managed by a worklist orchestrator. For linear MBAs (the most common), it evaluates on Boolean inputs to fingerprint structure and reconstruct the simplest equivalent. Outputs verified via Z3 or random-input spot checks. https://blog.trailofbits.com/2026/04/03/simplifying-mb...

  • View post

    Before its launch, we audited WhatsApp&amp;#39;s Private Processing TEEs and found 8 high-severity issues (patched). The enclaves yielded to injected config files, unmeasured ACPI tables, spoofed firmware levels, and stale attestation reports. TEE security is only as good as the implementation details. Four lessons and the full report: https://blog.trailofbits.com/2026/04/07/what-we-learned-about-tee-security-from-auditing-whatsapps-private-inference/