The Trail of Bits Blog

Latest posts from The Trail of Bits Blog

  • mquire: Linux memory forensics without external dependencies

    by The Trail of Bits Blog

    If you’ve ever done Linux memory forensics, you know the frustration: without debug symbols that match the exact kernel version, you’re stuck. These symbols aren’t typically installed on production systems…

  • Using threat modeling and prompt injection to audit Comet

    by The Trail of Bits Blog

    Before launching their Comet browser, Perplexity hired us to test the security of their AI-powered browsing features. Using adversarial testing guided by our TRAIL threat model, we demonstrated how four…

  • Carelessness versus craftsmanship in cryptography

    by The Trail of Bits Blog

    Two popular AES libraries, aes-js and pyaes, “helpfully” provide a default IV in their AES-CTR API, leading to a large number of key/IV reuse bugs. These bugs potentially affect thousands…

  • Building cryptographic agility into Sigstore

    by The Trail of Bits Blog

    Software signatures carry an invisible expiration date. The container image or firmware you sign today might be deployed for 20 years, but the cryptographic signature protecting it may become untrustworthy…

  • Lack of isolation in agentic browsers resurfaces old vulnerabilities

    by The Trail of Bits Blog

    With browser-embedded AI agents, we’re essentially starting the security journey over again. We exploited a lack of isolation mechanisms in multiple agentic browsers to perform attacks ranging from the dissemination…

  • Detect Go’s silent arithmetic bugs with go-panikint

    by The Trail of Bits Blog

    Go’s arithmetic operations on standard integer types are silent by default, meaning overflows “wrap around” without panicking. This behavior has hidden an entire class of security vulnerabilities from fuzzing campaigns.…

  • Can chatbots craft correct code?

    by The Trail of Bits Blog

    I recently attended the AI Engineer Code Summit in New York, an invite-only gathering of AI leaders and engineers. One theme emerged repeatedly in conversations with attendees building with AI:…

  • Use GWP-ASan to detect exploits in production environments

    by The Trail of Bits Blog

    Memory safety bugs like use-after-free and buffer overflows remain among the most exploited vulnerability classes in production software. While AddressSanitizer (ASan) excels at catching these bugs during development, its performance…

  • Catching malicious package releases using a transparency log

    by The Trail of Bits Blog

    We’re getting Sigstore’s rekor-monitor ready for production use, making it easier for developers to detect tampering and unauthorized uses of their identities in the Rekor transparency log. This work, funded…

  • Introducing mrva, a terminal-first approach to CodeQL multi-repo variant analysis

    by The Trail of Bits Blog

    In 2023 GitHub introduced CodeQL multi-repository variant analysis (MRVA). This functionality lets you run queries across thousands of projects using pre-built databases and drastically reduces the time needed to find…

  • Introducing constant-time support for LLVM to protect cryptographic code

    by The Trail of Bits Blog

    Trail of Bits has developed constant-time coding support for LLVM, providing developers with compiler-level guarantees that their cryptographic implementations remain secure against branching-related timing attacks. These changes are being reviewed…

  • Constant-time support lands in LLVM: Protecting cryptographic code at the compiler level

    by The Trail of Bits Blog

    Trail of Bits has developed constant-time coding support for LLVM 21, providing developers with compiler-level guarantees that their cryptographic implementations remain secure against branching-related timing attacks. This work introduces the…

  • We found cryptography bugs in the elliptic library using Wycheproof

    by The Trail of Bits Blog

    Trail of Bits is publicly disclosing two vulnerabilities in elliptic, a widely used JavaScript library for elliptic curve cryptography that is downloaded over 10 million times weekly and is used…

  • Level up your Solidity LLM tooling with Slither-MCP

    by The Trail of Bits Blog

    We’re releasing Slither-MCP, a new tool that augments LLMs with Slither’s unmatched static analysis engine. Slither-MCP benefits virtually every use case for LLMs by exposing Slither’s static analysis API via…

  • How we avoided side-channels in our new post-quantum Go cryptography libraries

    by The Trail of Bits Blog

    The Trail of Bits cryptography team is releasing our open-source pure Go implementations of ML-DSA (FIPS-204) and SLH-DSA (FIPS-205), two NIST-standardized post-quantum signature algorithms. These implementations have been engineered and…

  • Building checksec without boundaries with Checksec Anywhere

    by The Trail of Bits Blog

    Since its original release in 2009, checksec has become widely used in the software security community, proving useful in CTF challenges, security posturing, and general binary analysis. The tool inspects…

  • Balancer hack analysis and guidance for the DeFi ecosystem

    by The Trail of Bits Blog

    TL;DR The root cause of the hack was a rounding direction issue that had been present in the code for many years. When the bug was first introduced, the threat…

  • The cryptography behind electronic passports

    by The Trail of Bits Blog

    Did you know that most modern passports are actually embedded devices containing an entire filesystem, access controls, and support for several cryptographic protocols? Such passports display a small symbol indicating…

  • Vulnerabilities in LUKS2 disk encryption for confidential VMs

    by The Trail of Bits Blog

    Trail of Bits is disclosing vulnerabilities in eight different confidential computing systems that use Linux Unified Key Setup version 2 (LUKS2) for disk encryption. Using these vulnerabilities, a malicious actor…

  • We’re partnering to strengthen TON’s DeFi ecosystem

    by Trail of Bits

    TVM Ventures has selected Trail of Bits as its preferred security partner to strengthen the TON developer ecosystem. Through this partnership, we’ll lead the development of DeFi protocol standards and…