The Trail of Bits Blog

Latest posts from The Trail of Bits Blog

  • Mutation testing comes to DAML

    by The Trail of Bits Blog

    In April we released Mewt, our open-source mutation-testing engine that finds the gaps in your test suite. Today we’re expanding it with support for DAML, the language Canton Network applications…

  • Field reports from Patch the Planet

    by The Trail of Bits Blog

    We’re running Patch the Planet, an ongoing collaboration with OpenAI that pairs Trail of Bits engineers directly with more than 30 open-source projects. Its goal is to front-run a serious…

  • Shipping post-quantum cryptography to Python

    by The Trail of Bits Blog

    Post-quantum cryptography is now one pip-install away for the entire Python ecosystem. With funding from the Sovereign Tech Agency, we implemented support for ML-KEM, the NIST-standard key-establishment primitive, and ML-DSA,…

  • Introducing Patch the Planet

    by The Trail of Bits Blog

    What happens when you clear dozens of Trail of Bits engineers’ schedules, pair them with every open-source maintainer they can contact, and unleash the latest frontier models like GPT-5.5-Cyber on…

  • Factoring “short-sleeve” RSA keys with polynomials

    by The Trail of Bits Blog

    What happens when the bits of an RSA private key are heavily biased toward 0 instead of being randomly generated? The public key’s bits could be biased enough for us…

  • The sorry state of skill distribution

    by The Trail of Bits Blog

    Public skill marketplaces are being flooded with malicious skills that steal credentials, exfiltrate data, and hijack agents. In response, a segment of the security industry released skill scanners, a new…

  • We hardened zizmor’s GitHub Actions static analyzer

    by The Trail of Bits Blog

    In March 2026, attackers exploited a pull_request_target misconfiguration in the aquasecurity/trivy-action GitHub Action to exfiltrate organization and repository secrets, then used those credentials to backdoor LiteLLM on PyPI (see Trivy’s…

  • Go fuzzing was missing half the toolkit. We forked the toolchain to fix it.

    by The Trail of Bits Blog

    Go’s native fuzzing is useful, but it stands far behind state-of-the-art tooling that the Rust, C, and C++ ecosystems offer with LibAFL and AFL++. Path constraints are hard to solve.…

  • C/C++ checklist challenges, solved

    by The Trail of Bits Blog

    We recently added a C/C++ security checklist to the Testing Handbook and challenged readers to spot the bugs in two code samples: a deceptively simple Linux ping program and a…

  • Extending Ruzzy with LibAFL

    by The Trail of Bits Blog

    LibAFL is all the rage in the fuzzing community these days, especially with LLVM’s libFuzzer being placed in maintenance mode. Written in Rust, LibAFL claims improved performance, modularity, state-of-the-art fuzzing…

  • Trailmark turns code into graphs

    by The Trail of Bits Blog

    We’re open-sourcing Trailmark, a library that parses source code into a queryable call graph of functions, classes, call relationships, and semantic metadata, then exposes that graph through a Python API…

  • We beat Google’s zero-knowledge proof of quantum cryptanalysis

    by The Trail of Bits Blog

    Two weeks ago, Google’s Quantum AI group published a zero-knowledge proof of a quantum circuit so optimized, they concluded that first-generation quantum computers will break elliptic curve cryptography keys in…

  • Master C and C++ with our new Testing Handbook chapter

    by The Trail of Bits Blog

    We added a new chapter to our Testing Handbook: a comprehensive security checklist for C and C++ code. We’ve identified a broad range of common bug classes, known footguns, and…

  • What we learned about TEE security from auditing WhatsApp’s Private Inference

    by The Trail of Bits Blog

    WhatsApp’s new “Private Inference” feature represents one of the most ambitious attempts to combine end-to-end encryption with AI-powered capabilities, such as message summarization. To make this possible, Meta built a…

  • Simplifying MBA obfuscation with CoBRA

    by The Trail of Bits Blog

    Mixed Boolean-Arithmetic (MBA) obfuscation disguises simple operations like x + y behind tangles of arithmetic and bitwise operators. Malware authors and software protectors rely on it because no standard simplification…

  • Mutation testing for the agentic era

    by The Trail of Bits Blog

    Code coverage is one of the most dangerous quality metrics in software testing. Many developers fail to realize that code coverage lies by omission: it measures execution, not verification. Test…

  • How we made Trail of Bits AI-native (so far)

    by The Trail of Bits Blog

    This post is adapted from a talk I gave at [un]prompted, the AI security practitioner conference. Thanks to Gadi Evron for inviting me to speak. You can watch the recorded…

  • Try our new dimensional analysis Claude plugin

    by The Trail of Bits Blog

    We’re releasing a new Claude plugin for developing and auditing code that implements dimensional analysis, a technique we explored in our most recent blog post. Most LLM-based security skills ask…

  • Spotting issues in DeFi with dimensional analysis

    by The Trail of Bits Blog

    Using dimensional analysis, you can categorically rule out a whole category of logic and arithmetic bugs that plague DeFi formulas. No code changes required, just better reasoning! One of the…

  • Six mistakes in ERC-4337 smart accounts

    by The Trail of Bits Blog

    Account abstraction transforms fixed “private key can do anything” models into programmable systems that enable batching, recovery and spending limits, and flexible gas payment. But that programmability introduces risks: a…