<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>2025 on The Trail of Bits Blog</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/</link><description>Recent content in 2025 on The Trail of Bits Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 31 Dec 2025 00:00:00 -0500</lastBuildDate><atom:link href="https://miscreants.github.io/blog.trailofbits.com/2025/index.xml" rel="self" type="application/rss+xml"/><item><title>Detect Go’s silent arithmetic bugs with go-panikint</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/12/31/detect-gos-silent-arithmetic-bugs-with-go-panikint/</link><pubDate>Wed, 31 Dec 2025 07:00:00 -0500</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/12/31/detect-gos-silent-arithmetic-bugs-with-go-panikint/</guid><description>We’re releasing go-panikint, a modified Go compiler that turns silent integer overflows into explicit panics. We used it to find a live integer overflow in the Cosmos SDK’s RPC pagination logic, showing how this approach eliminates a major blind spot for anyone fuzzing Go projects.</description></item><item><title>Can chatbots craft correct code?</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/12/19/can-chatbots-craft-correct-code/</link><pubDate>Fri, 19 Dec 2025 07:00:00 -0500</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/12/19/can-chatbots-craft-correct-code/</guid><description>LLMs fundamentally differ from compilers because they lack determinism and semantic guarantees, making them useful coding assistants but unreliable for autonomous code generation without human review and formal verification.</description></item><item><title>Use GWP-ASan to detect exploits in production environments</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/12/16/use-gwp-asan-to-detect-exploits-in-production-environments/</link><pubDate>Tue, 16 Dec 2025 07:00:00 -0500</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/12/16/use-gwp-asan-to-detect-exploits-in-production-environments/</guid><description>GWP-ASan is a sampling-based memory error detection tool that catches critical bugs like use-after-free and buffer overflows in production environments with near-zero performance overhead, unlike AddressSanitizer which is too resource-intensive for deployment.</description></item><item><title>Catching malicious package releases using a transparency log</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/12/12/catching-malicious-package-releases-using-a-transparency-log/</link><pubDate>Fri, 12 Dec 2025 07:00:00 -0500</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/12/12/catching-malicious-package-releases-using-a-transparency-log/</guid><description>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.</description></item><item><title>Introducing mrva, a terminal-first approach to CodeQL multi-repo variant analysis</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/12/11/introducing-mrva-a-terminal-first-approach-to-codeql-multi-repo-variant-analysis/</link><pubDate>Thu, 11 Dec 2025 07:00:00 -0500</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/12/11/introducing-mrva-a-terminal-first-approach-to-codeql-multi-repo-variant-analysis/</guid><description>Our new tool mrva is a terminal-first tool for running CodeQL multi-repository variant analysis locally,allowing users to download pre-built databases, analyze them with custom queries, and view results directly in the terminal.</description></item><item><title>Introducing constant-time support for LLVM to protect cryptographic code</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/12/02/introducing-constant-time-support-for-llvm-to-protect-cryptographic-code/</link><pubDate>Tue, 02 Dec 2025 07:00:00 -0500</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/12/02/introducing-constant-time-support-for-llvm-to-protect-cryptographic-code/</guid><description>Trail of Bits developed constant-time coding support for LLVM that prevents compilers from breaking cryptographic implementations vulnerable to timing attacks, introducing the __builtin_ct_select family of intrinsics that preserve constant-time properties throughout compilation.</description></item><item><title>We found cryptography bugs in the elliptic library using Wycheproof</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/11/18/we-found-cryptography-bugs-in-the-elliptic-library-using-wycheproof/</link><pubDate>Tue, 18 Nov 2025 07:00:00 -0500</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/11/18/we-found-cryptography-bugs-in-the-elliptic-library-using-wycheproof/</guid><description>Trail of Bits discovered and disclosed two vulnerabilities in the widely used elliptic JavaScript library that could allow signature forgery or prevent valid signature verification, with one vulnerability still unfixed after the 90-day disclosure window.</description></item><item><title>Level up your Solidity LLM tooling with Slither-MCP</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/11/15/level-up-your-solidity-llm-tooling-with-slither-mcp/</link><pubDate>Sat, 15 Nov 2025 07:00:00 -0500</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/11/15/level-up-your-solidity-llm-tooling-with-slither-mcp/</guid><description>We’re releasing Slither-MCP, a new tool that augments LLMs with Slither’s unmatched static analysis engine.</description></item><item><title>How we avoided side-channels in our new post-quantum Go cryptography libraries</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/11/14/how-we-avoided-side-channels-in-our-new-post-quantum-go-cryptography-libraries/</link><pubDate>Fri, 14 Nov 2025 07:00:00 -0500</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/11/14/how-we-avoided-side-channels-in-our-new-post-quantum-go-cryptography-libraries/</guid><description>We&amp;rsquo;ve released open-source Go implementations of ML-DSA and SLH-DSA.</description></item><item><title>Building checksec without boundaries with Checksec Anywhere</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/11/13/building-checksec-without-boundaries-with-checksec-anywhere/</link><pubDate>Thu, 13 Nov 2025 07:00:00 -0500</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/11/13/building-checksec-without-boundaries-with-checksec-anywhere/</guid><description>Checksec Anywhere consolidates fragmented binary security analysis tools into a browser-based platform that analyzes ELF, PE, and Mach-O formats locally without compromising privacy or performance.</description></item><item><title>Balancer hack analysis and guidance for the DeFi ecosystem</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/11/07/balancer-hack-analysis-and-guidance-for-the-defi-ecosystem/</link><pubDate>Fri, 07 Nov 2025 18:00:00 -0500</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/11/07/balancer-hack-analysis-and-guidance-for-the-defi-ecosystem/</guid><description>A retrospective on the $100M Balancer hack that occurred in November 2025, including long-term, strategic guidance on how to avoid similar bugs.</description></item><item><title>The cryptography behind electronic passports</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/10/31/the-cryptography-behind-electronic-passports/</link><pubDate>Fri, 31 Oct 2025 07:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/10/31/the-cryptography-behind-electronic-passports/</guid><description>This blog post describes how electronic passports work, the threats within their threat model, and how they protect against those threats using cryptography. It also discusses the implications of using electronic passports for novel applications, such as zero-knowledge identity proofs.</description></item><item><title>Vulnerabilities in LUKS2 disk encryption for confidential VMs</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/10/30/vulnerabilities-in-luks2-disk-encryption-for-confidential-vms/</link><pubDate>Thu, 30 Oct 2025 07:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/10/30/vulnerabilities-in-luks2-disk-encryption-for-confidential-vms/</guid><description>Trail of Bits is disclosing vulnerabilities in confidential computing systems that use LUKS2 for disk encryption. These vulnerabilities allow attackers with access to storage disks to extract confidential data and modify contents.</description></item><item><title>Prompt injection to RCE in AI agents</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/10/22/prompt-injection-to-rce-in-ai-agents/</link><pubDate>Wed, 22 Oct 2025 07:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/10/22/prompt-injection-to-rce-in-ai-agents/</guid><description>We bypassed human approval protections for system command execution in AI agents, achieving RCE in three agent platforms.</description></item><item><title>Taming 2,500 compiler warnings with CodeQL, an OpenVPN2 case study</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/09/25/taming-2500-compiler-warnings-with-codeql-an-openvpn2-case-study/</link><pubDate>Thu, 25 Sep 2025 07:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/09/25/taming-2500-compiler-warnings-with-codeql-an-openvpn2-case-study/</guid><description>We created a CodeQL query that reduced 2,500+ compiler warnings about implicit conversions in OpenVPN2 to just 20 high-priority cases, demonstrating how to effectively identify potentially dangerous type conversions in C code.</description></item><item><title>Supply chain attacks are exploiting our assumptions</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/09/24/supply-chain-attacks-are-exploiting-our-assumptions/</link><pubDate>Wed, 24 Sep 2025 07:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/09/24/supply-chain-attacks-are-exploiting-our-assumptions/</guid><description>Supply chain attacks exploit fundamental trust assumptions in modern software development, from typosquatting to compromised build pipelines, while new defensive tools are emerging to make these trust relationships explicit and verifiable.</description></item><item><title>Use mutation testing to find the bugs your tests don't catch</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/09/18/use-mutation-testing-to-find-the-bugs-your-tests-dont-catch/</link><pubDate>Thu, 18 Sep 2025 07:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/09/18/use-mutation-testing-to-find-the-bugs-your-tests-dont-catch/</guid><description>Mutation testing reveals blind spots in test suites by systematically introducing bugs and checking if tests catch them. Blockchain developers should use mutation testing to measure the effectiveness of their test suites and find bugs that traditional testing can miss.</description></item><item><title>Fickling’s new AI/ML pickle file scanner</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/09/16/ficklings-new-ai/ml-pickle-file-scanner/</link><pubDate>Tue, 16 Sep 2025 07:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/09/16/ficklings-new-ai/ml-pickle-file-scanner/</guid><description>We&amp;rsquo;ve added a pickle file scanner to Fickling that uses an allowlist approach to protect AI/ML environments from malicious pickle files that could compromise models or infrastructure.</description></item><item><title>How Sui Move rethinks flash loan security</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/09/10/how-sui-move-rethinks-flash-loan-security/</link><pubDate>Wed, 10 Sep 2025 07:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/09/10/how-sui-move-rethinks-flash-loan-security/</guid><description>Sui’s Move language significantly improves flash loan security by replacing Solidity’s reliance on callbacks and runtime checks with a “hot potato” model that enforces repayment at the language level. This shift makes flash loan security a language guarantee rather than a developer responsibility.</description></item><item><title>Safer cold storage on Ethereum</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/09/05/safer-cold-storage-on-ethereum/</link><pubDate>Fri, 05 Sep 2025 07:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/09/05/safer-cold-storage-on-ethereum/</guid><description>By using smart contract programmability, exchanges can build custody solutions that remain secure even when multisig keys are compromised.</description></item><item><title>Subverting code integrity checks to locally backdoor Signal, 1Password, Slack, and more</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/09/03/subverting-code-integrity-checks-to-locally-backdoor-signal-1password-slack-and-more/</link><pubDate>Thu, 04 Sep 2025 00:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/09/03/subverting-code-integrity-checks-to-locally-backdoor-signal-1password-slack-and-more/</guid><description>A vulnerability in Electron applications allows attackers to bypass code integrity checks by tampering with V8 heap snapshot files, enabling local backdoors in applications like Signal, 1Password, and Slack.</description></item><item><title>Intern projects that outlived the internship</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/08/28/intern-projects-that-outlived-the-internship/</link><pubDate>Thu, 28 Aug 2025 07:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/08/28/intern-projects-that-outlived-the-internship/</guid><description>Our business operations intern at Trail of Bits built two AI-powered tools that became permanent company resources—a podcast workflow that saves 1,250 hours annually and a Slack exporter that enables efficient knowledge retrieval across the organization.</description></item><item><title>Implement EIP-7730 today</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/08/27/implement-eip-7730-today/</link><pubDate>Wed, 27 Aug 2025 07:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/08/27/implement-eip-7730-today/</guid><description>EIP-7730 enables hardware wallets to decode transactions into human-readable formats, eliminating blind signing vulnerabilities with minimal implementation effort for dApp developers.</description></item><item><title>Speedrunning the New York Subway</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/08/25/speedrunning-the-new-york-subway/</link><pubDate>Mon, 25 Aug 2025 07:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/08/25/speedrunning-the-new-york-subway/</guid><description>We optimized the route for visiting every NYC subway station using algorithms from combinatorial optimization, creating a 20-hour tour that beats the existing world record by 45 minutes.</description></item><item><title>Weaponizing image scaling against production AI systems</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/08/21/weaponizing-image-scaling-against-production-ai-systems/</link><pubDate>Thu, 21 Aug 2025 07:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/08/21/weaponizing-image-scaling-against-production-ai-systems/</guid><description>In this blog post, we’ll detail how attackers can exploit image scaling on Gemini CLI, Vertex AI Studio, Gemini’s web and API interfaces, Google Assistant, Genspark, and other production AI systems. We’ll also explain how to mitigate and defend against these attacks, and we’ll introduce Anamorpher, our open-source tool that lets you explore and generate these crafted images.</description></item><item><title>Marshal madness: A brief history of Ruby deserialization exploits</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/08/20/marshal-madness-a-brief-history-of-ruby-deserialization-exploits/</link><pubDate>Tue, 19 Aug 2025 07:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/08/20/marshal-madness-a-brief-history-of-ruby-deserialization-exploits/</guid><description>This post traces the decade-long evolution of Ruby Marshal deserialization exploits, demonstrating how security researchers have repeatedly bypassed patches and why fundamental changes to the Ruby ecosystem are needed rather than continued patch-and-hope approaches.</description></item><item><title>Trail of Bits' Buttercup wins 2nd place in AIxCC Challenge</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/08/09/trail-of-bits-buttercup-wins-2nd-place-in-aixcc-challenge/</link><pubDate>Sat, 09 Aug 2025 10:30:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/08/09/trail-of-bits-buttercup-wins-2nd-place-in-aixcc-challenge/</guid><description>Our team won the runner-up prize of $3M at DARPA&amp;rsquo;s AI Cyber Challenge, demonstrating Buttercup&amp;rsquo;s world-class automated vulnerability discovery and patching capabilities with remarkable cost efficiency.</description></item><item><title>Buttercup is now open-source!</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/08/08/buttercup-is-now-open-source/</link><pubDate>Fri, 08 Aug 2025 00:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/08/08/buttercup-is-now-open-source/</guid><description>Now that DARPA&amp;rsquo;s AI Cyber Challenge (AIxCC) has officially ended, we can finally make Buttercup, our CRS (Cyber Reasoning System), open source!</description></item><item><title>AIxCC finals: Tale of the tape</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/08/07/aixcc-finals-tale-of-the-tape/</link><pubDate>Thu, 07 Aug 2025 00:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/08/07/aixcc-finals-tale-of-the-tape/</guid><description>While the AIxCC winner has not yet been announced, differences in the finalists&amp;rsquo; approaches show that there are multiple viable paths forward to using AI for vulnerability detection.</description></item><item><title>Prompt injection engineering for attackers: Exploiting GitHub Copilot</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/08/06/prompt-injection-engineering-for-attackers-exploiting-github-copilot/</link><pubDate>Wed, 06 Aug 2025 00:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/08/06/prompt-injection-engineering-for-attackers-exploiting-github-copilot/</guid><description>Prompt injection pervades discussions about security for LLMs and AI agents. But there is little public information on how to write powerful, discreet, and reliable prompt injection exploits. In this post, we will design and implement a prompt injection exploit targeting GitHub’s Copilot Agent, with a focus on maximizing reliability and minimizing the odds of detection.</description></item><item><title>Uncovering memory corruption in NVIDIA Triton (as a new hire)</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/08/04/uncovering-memory-corruption-in-nvidia-triton-as-a-new-hire/</link><pubDate>Tue, 05 Aug 2025 07:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/08/04/uncovering-memory-corruption-in-nvidia-triton-as-a-new-hire/</guid><description>In my first month at Trail of Bits as an AI/ML security engineer, I found two remotely accessible memory corruption bugs in NVIDIA’s Triton Inference Server during a routine onboarding practice.</description></item><item><title>The Unconventional Innovator Scholarship</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/08/01/the-unconventional-innovator-scholarship/</link><pubDate>Fri, 01 Aug 2025 07:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/08/01/the-unconventional-innovator-scholarship/</guid><description>Trail of Bits founder Dan Guido establishes a $2,500 scholarship at his alma mater, Mineola High School, to recognize students who demonstrate the hacker spirit through self-driven learning, creative problem-solving, and unconventional technological exploration. The scholarship celebrates tomorrow&amp;rsquo;s security innovators who push boundaries and think differently about technology.</description></item><item><title>Hijacking multi-agent systems in your PajaMAS</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/07/31/hijacking-multi-agent-systems-in-your-pajamas/</link><pubDate>Thu, 31 Jul 2025 09:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/07/31/hijacking-multi-agent-systems-in-your-pajamas/</guid><description>We’re releasing pajaMAS: a curated set of MAS hijacking demos that illustrate important principles of MAS security.</description></item><item><title>We built the security layer MCP always needed</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/07/28/we-built-the-security-layer-mcp-always-needed/</link><pubDate>Mon, 28 Jul 2025 07:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/07/28/we-built-the-security-layer-mcp-always-needed/</guid><description>Today we’re announcing the beta release of mcp-context-protector, a security wrapper for LLM apps using the Model Context Protocol (MCP). It defends against the line jumping attacks documented earlier in this blog series, such as prompt injection via tool descriptions and ANSI terminal escape codes.</description></item><item><title>Exploiting zero days in abandoned hardware</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/07/25/exploiting-zero-days-in-abandoned-hardware/</link><pubDate>Fri, 25 Jul 2025 07:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/07/25/exploiting-zero-days-in-abandoned-hardware/</guid><description>We successfully exploited two discontinued network devices at DistrictCon’s inaugural Junkyard competition in February, winning runner-up for Most Innovative Exploitation Technique. Our exploit chains demonstrate why end-of-life hardware poses persistent security risks.</description></item><item><title>Inside EthCC[8]: Becoming a smart contract auditor</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/07/23/inside-ethcc8-becoming-a-smart-contract-auditor/</link><pubDate>Wed, 23 Jul 2025 07:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/07/23/inside-ethcc8-becoming-a-smart-contract-auditor/</guid><description>At EthCC[8], Trail of Bits blockchain security engineer Nicolas Donboly laid out a clear, actionable path for aspiring smart contract auditors, drawing from his own experience transitioning from a non-technical background into a leading security role.</description></item><item><title>Detecting code copying at scale with Vendetect</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/07/21/detecting-code-copying-at-scale-with-vendetect/</link><pubDate>Mon, 21 Jul 2025 07:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/07/21/detecting-code-copying-at-scale-with-vendetect/</guid><description>Vendetect is our new open-source tool for detecting copied and vendored code between repositories. It uses semantic fingerprinting to identify similar code even when variable names change or comments disappear. More importantly, unlike academic plagiarism detectors, it understands version control history, helping you trace vendored code back to its exact source commit.</description></item><item><title>Building secure messaging is hard: A nuanced take on the Bitchat security debate</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/07/18/building-secure-messaging-is-hard-a-nuanced-take-on-the-bitchat-security-debate/</link><pubDate>Fri, 18 Jul 2025 07:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/07/18/building-secure-messaging-is-hard-a-nuanced-take-on-the-bitchat-security-debate/</guid><description>The release of Bitchat last week was met with a mixture of glowing praise and sharp criticism. Both extremes bear some truth, but they also miss the mark and reveal gaps in how we discuss security in emerging products.</description></item><item><title>Investigate your dependencies with Deptective</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/07/08/investigate-your-dependencies-with-deptective/</link><pubDate>Tue, 08 Jul 2025 07:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/07/08/investigate-your-dependencies-with-deptective/</guid><description>Deptective, our new open-source tool, automatically finds the packages needed to install software dependencies. It does so not based on the software&amp;rsquo;s self-reported requirements, but by observing what the software needs at runtime.</description></item><item><title>Buckle up, Buttercup, AIxCC’s scored round is underway!</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/07/02/buckle-up-buttercup-aixccs-scored-round-is-underway/</link><pubDate>Wed, 02 Jul 2025 07:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/07/02/buckle-up-buttercup-aixccs-scored-round-is-underway/</guid><description>Our CRS (Cyber Reasoning System), Buttercup, is now competing in the one and only scored round of DARPA’s AI Cyber Challenge (AIxCC) against six other teams to see which autonomous AI-driven system can find and patch the most software vulnerabilities.</description></item><item><title>Maturing your smart contracts beyond private key risk</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/06/25/maturing-your-smart-contracts-beyond-private-key-risk/</link><pubDate>Tue, 24 Jun 2025 07:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/06/25/maturing-your-smart-contracts-beyond-private-key-risk/</guid><description>Private key compromise accounted for 43.8% of crypto hacks in 2024, yet traditional smart contract audits rarely address architectural access control weaknesses. This post introduces a four-level maturity framework for designing protocols that can tolerate key compromise, progressing from single EOA control to radical immutability, with practical examples demonstrating multisigs, timelocks, and the principle of least privilege.</description></item><item><title>Unexpected security footguns in Go's parsers</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/06/17/unexpected-security-footguns-in-gos-parsers/</link><pubDate>Wed, 18 Jun 2025 07:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/06/17/unexpected-security-footguns-in-gos-parsers/</guid><description>File parsers in Go contain unexpected behaviors that can lead to serious security vulnerabilities. This post examines how JSON, XML, and YAML parsers in Go handle edge cases in ways that have repeatedly resulted in high-impact security issues in production systems. We explore three real-world attack scenarios: marshaling/unmarshaling unexpected data, exploiting parser differentials, and leveraging data format confusion. Through examples, we demonstrate how attackers can bypass authentication, circumvent authorization controls, and exfiltrate sensitive data by exploiting these parser behaviors.</description></item><item><title>What we learned reviewing one of the first DKLs23 libraries from Silence Laboratories</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/06/10/what-we-learned-reviewing-one-of-the-first-dkls23-libraries-from-silence-laboratories/</link><pubDate>Tue, 10 Jun 2025 07:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/06/10/what-we-learned-reviewing-one-of-the-first-dkls23-libraries-from-silence-laboratories/</guid><description>In October 2023, we audited Silence Laboratories’ DKLs23 threshold signature scheme (TSS) library—one of the first production implementations of this then-novel protocol that uses oblivious transfer (OT) instead of traditional Paillier cryptography. Our review uncovered serious flaws that could enable key destruction attacks, which Silence Laboratories promptly fixed.</description></item><item><title>A deep dive into Axiom’s Halo2 circuits</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/05/30/a-deep-dive-into-axioms-halo2-circuits/</link><pubDate>Fri, 30 May 2025 07:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/05/30/a-deep-dive-into-axioms-halo2-circuits/</guid><description>Over two audits in 2023, we reviewed a blockchain system developed by Axiom that allows computing over the entire history of Ethereum, all verified by zero-knowledge proofs (ZKPs) on-chain using ZK-verified elliptic curve and SNARK recursion operations. This system is built using the Halo2 framework—a complex, emerging technology that presents many challenges when building a secure application, including potential under-constrained issues resulting from its low-level API.</description></item><item><title>The Custodial Stablecoin Rekt Test</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/05/29/the-custodial-stablecoin-rekt-test/</link><pubDate>Thu, 29 May 2025 00:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/05/29/the-custodial-stablecoin-rekt-test/</guid><description>Introducing the Custodial Stablecoin Rekt Test; a new spin on the classic Rekt Test for evaluating the security maturity of stablecoin issuers.</description></item><item><title>The cryptography behind passkeys</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/05/14/the-cryptography-behind-passkeys/</link><pubDate>Wed, 14 May 2025 07:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/05/14/the-cryptography-behind-passkeys/</guid><description>This post will examine the cryptography behind passkeys, the guarantees they do or do not give, and interesting cryptographic things you can do with them, such as generating cryptographic keys and storing certificates.</description></item><item><title>Datasig: Fingerprinting AI/ML datasets to stop data-borne attacks</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/05/02/datasig-fingerprinting-ai/ml-datasets-to-stop-data-borne-attacks/</link><pubDate>Fri, 02 May 2025 07:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/05/02/datasig-fingerprinting-ai/ml-datasets-to-stop-data-borne-attacks/</guid><description>Datasig generates compact, unique fingerprints for AI/ML datasets that let you compare training data with high accuracy—without needing access to the raw data itself.&lt;br&gt;
This critical capability helps AIBOM (AI bill of materials) tools detect data-borne vulnerabilities that traditional security tools completely miss.</description></item><item><title>Making PyPI's test suite 81% faster</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/05/01/making-pypis-test-suite-81-faster/</link><pubDate>Thu, 01 May 2025 09:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/05/01/making-pypis-test-suite-81-faster/</guid><description>See how we slashed PyPI&amp;rsquo;s test suite runtime from 163 to 30 seconds.&lt;br&gt;
The techniques we share can help you dramatically improve your own project&amp;rsquo;s&lt;br&gt;
testing performance without sacrificing coverage.</description></item><item><title>Insecure credential storage plagues MCP</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/04/30/insecure-credential-storage-plagues-mcp/</link><pubDate>Wed, 30 Apr 2025 03:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/04/30/insecure-credential-storage-plagues-mcp/</guid><description>This post describes how many examples of MCP software store long-term API keys for third-party services in plaintext on the local filesystem, often with insecure, world-readable permissions.</description></item><item><title>Deceiving users with ANSI terminal codes in MCP</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/04/29/deceiving-users-with-ansi-terminal-codes-in-mcp/</link><pubDate>Tue, 29 Apr 2025 09:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/04/29/deceiving-users-with-ansi-terminal-codes-in-mcp/</guid><description>This post describes attacks using ANSI terminal code escape sequences to hide malicious instructions to the LLM, leveraging the line jumping vulnerability we discovered in MCP.</description></item><item><title>How MCP servers can steal your conversation history</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/04/23/how-mcp-servers-can-steal-your-conversation-history/</link><pubDate>Wed, 23 Apr 2025 10:30:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/04/23/how-mcp-servers-can-steal-your-conversation-history/</guid><description>Malicious MCP servers can inject trigger phrases into tool descriptions to exfiltrate entire conversation histories and steal sensitive credentials and IP.</description></item><item><title>Jumping the line: How MCP servers can attack you before you ever use them</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/04/21/jumping-the-line-how-mcp-servers-can-attack-you-before-you-ever-use-them/</link><pubDate>Mon, 21 Apr 2025 10:30:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/04/21/jumping-the-line-how-mcp-servers-can-attack-you-before-you-ever-use-them/</guid><description>MCP&amp;rsquo;s &amp;rsquo;line jumping&amp;rsquo; vulnerability lets malicious servers inject prompts through tool descriptions to manipulate AI behavior before tools are ever invoked.</description></item><item><title>Kicking off AIxCC’s Finals with Buttercup</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/04/21/kicking-off-aixccs-finals-with-buttercup/</link><pubDate>Mon, 21 Apr 2025 09:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/04/21/kicking-off-aixccs-finals-with-buttercup/</guid><description>Trail of Bits&amp;rsquo; Buttercup competes in DARPA&amp;rsquo;s AIxCC Finals with expanded resources, multiple rounds, new challenge types, and custom AI model capabilities.</description></item><item><title>Sneak peek: A new ASN.1 API for Python</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/04/18/sneak-peek-a-new-asn.1-api-for-python/</link><pubDate>Fri, 18 Apr 2025 09:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/04/18/sneak-peek-a-new-asn.1-api-for-python/</guid><description>We&amp;rsquo;re working on integrating an ASN.1 API into PyCA Cryptography,&lt;br&gt;
built on top of the same Rust ASN.1 implementation already used by&lt;br&gt;
Cryptography&amp;rsquo;s X.509 APIs.</description></item><item><title>Mitigating ELUSIVE COMET Zoom remote control attacks</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/04/17/mitigating-elusive-comet-zoom-remote-control-attacks/</link><pubDate>Thu, 17 Apr 2025 00:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/04/17/mitigating-elusive-comet-zoom-remote-control-attacks/</guid><description>This post describes a sophisticated social engineering campaign using Zoom&amp;rsquo;s remote control feature and provides technical solutions to protect organizations against this attack vector.</description></item><item><title>Introducing a new section on snapshot fuzzing for kernel-level testing in the Testing Handbook</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/04/09/introducing-a-new-section-on-snapshot-fuzzing-for-kernel-level-testing-in-the-testing-handbook/</link><pubDate>Wed, 09 Apr 2025 09:00:00 -0400</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/04/09/introducing-a-new-section-on-snapshot-fuzzing-for-kernel-level-testing-in-the-testing-handbook/</guid><description>Learn snapshot fuzzing for kernel-level testing. New Testing Handbook section shows how to test drivers, antivirus software, and complex kernel components.</description></item><item><title>Benchmarking OpenSearch and Elasticsearch</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/03/06/benchmarking-opensearch-and-elasticsearch/</link><pubDate>Thu, 06 Mar 2025 00:00:00 -0500</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/03/06/benchmarking-opensearch-and-elasticsearch/</guid><description>Trail of Bits&amp;rsquo; independent study finds OpenSearch v2.17.1 is 1.6x faster than Elasticsearch v8.15.4 on Big5 workload and 11% faster on vector search.</description></item><item><title>Continuous TRAIL</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/03/03/continuous-trail/</link><pubDate>Mon, 03 Mar 2025 00:00:00 -0500</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/03/03/continuous-trail/</guid><description>Learn how to integrate TRAIL threat modeling into your SDLC, adapt and maintain models as your system evolves, and use them to identify security control gaps.</description></item><item><title>Threat modeling the TRAIL of Bits way</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/02/28/threat-modeling-the-trail-of-bits-way/</link><pubDate>Fri, 28 Feb 2025 00:00:00 -0500</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/02/28/threat-modeling-the-trail-of-bits-way/</guid><description>Discover TRAIL, Trail of Bits&amp;rsquo; systematic threat modeling approach that identifies design-level security weaknesses and provides actionable remediation guidance.</description></item><item><title>How Threat Modeling Could Have Prevented the $1.5B Bybit Hack</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/02/25/how-threat-modeling-could-have-prevented-the-1.5b-bybit-hack/</link><pubDate>Tue, 25 Feb 2025 00:00:00 -0500</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/02/25/how-threat-modeling-could-have-prevented-the-1.5b-bybit-hack/</guid><description>Learn how comprehensive threat modeling could have identified the operational security gaps that led to Bybit&amp;rsquo;s $1.5B hack and prevented similar breaches.</description></item><item><title>Don’t recurse on untrusted input</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/02/21/dont-recurse-on-untrusted-input/</link><pubDate>Fri, 21 Feb 2025 00:00:00 -0500</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/02/21/dont-recurse-on-untrusted-input/</guid><description>We developed a simple CodeQL query to find denial-of-service (DoS) vulnerabilities in several high-profile Java projects.</description></item><item><title>The $1.5B Bybit Hack: The Era of Operational Security Failures Has Arrived</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/02/21/the-1.5b-bybit-hack-the-era-of-operational-security-failures-has-arrived/</link><pubDate>Fri, 21 Feb 2025 00:00:00 -0500</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/02/21/the-1.5b-bybit-hack-the-era-of-operational-security-failures-has-arrived/</guid><description>The $1.5B Bybit Hack demonstrates how the Era of Operational Security Failures has arrived, and most cryptocurrency companies are not prepared for its implications.</description></item><item><title>Unleashing Medusa: Fast and scalable smart contract fuzzing</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/02/14/unleashing-medusa-fast-and-scalable-smart-contract-fuzzing/</link><pubDate>Fri, 14 Feb 2025 00:00:00 -0500</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/02/14/unleashing-medusa-fast-and-scalable-smart-contract-fuzzing/</guid><description>Introducing Medusa v1, a cutting-edge fuzzing framework designed to enhance smart contract security.</description></item><item><title>We’re partnering to strengthen TON’s DeFi ecosystem</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/02/13/were-partnering-to-strengthen-tons-defi-ecosystem/</link><pubDate>Thu, 13 Feb 2025 09:00:03 -0500</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/02/13/were-partnering-to-strengthen-tons-defi-ecosystem/</guid><description>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 provide comprehensive security services to contest-winning projects deploying on TON. TVM Ventures will host ongoing developer contests where teams can showcase innovative applications that advance […]</description></item><item><title>The call for invariant-driven development</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/02/12/the-call-for-invariant-driven-development/</link><pubDate>Wed, 12 Feb 2025 09:30:36 -0500</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/02/12/the-call-for-invariant-driven-development/</guid><description>Writing smart contracts requires a higher level of security assurance than most other fields of software engineering. The industry has evolved from simple ERC20 tokens to complex, multi-component DeFi systems that leverage domain-specific algorithms and handle significant monetary value. This evolution has unlocked immense potential but has also introduced an escalating number […]</description></item><item><title>Preventing account takeover on centralized cryptocurrency exchanges in 2025</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/02/05/preventing-account-takeover-on-centralized-cryptocurrency-exchanges-in-2025/</link><pubDate>Wed, 05 Feb 2025 09:00:37 -0500</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/02/05/preventing-account-takeover-on-centralized-cryptocurrency-exchanges-in-2025/</guid><description>This blog post highlights key points from our new white paper Preventing Account Takeovers on Centralized Cryptocurrency Exchanges, which documents ATO-related attack vectors and defenses tailored to CEXes. Imagine trying to log in to your centralized cryptocurrency exchange (CEX) account and your password and username just… don’t work. You […]</description></item><item><title>PyPI now supports archiving projects</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/01/30/pypi-now-supports-archiving-projects/</link><pubDate>Thu, 30 Jan 2025 09:00:22 -0500</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/01/30/pypi-now-supports-archiving-projects/</guid><description>PyPI now supports marking projects as archived. Project owners can now archive their project to let users know that the project is not expected to receive any more updates. Project archival is a single piece in a larger supply-chain security puzzle: by exposing archival statuses, PyPI enables downstream consumers to make more […]</description></item><item><title>Best practices for key derivation</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/01/28/best-practices-for-key-derivation/</link><pubDate>Tue, 28 Jan 2025 09:00:18 -0500</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/01/28/best-practices-for-key-derivation/</guid><description>Key derivation is essential in many cryptographic applications, including key exchange, key management, secure communications, and building robust cryptographic primitives. But it’s also easy to get wrong: although standard tools exist for different key derivation needs, our audits often uncover improper uses of these tools that could compromise key security. Flickr’s API […]</description></item><item><title>Celebrating our 2024 open-source contributions</title><link>https://miscreants.github.io/blog.trailofbits.com/2025/01/23/celebrating-our-2024-open-source-contributions/</link><pubDate>Thu, 23 Jan 2025 09:00:30 -0500</pubDate><guid>https://miscreants.github.io/blog.trailofbits.com/2025/01/23/celebrating-our-2024-open-source-contributions/</guid><description>While Trail of Bits is known for developing security tools like Slither, Medusa, and Fickling, our engineering efforts extend far beyond our own projects. Throughout 2024, our team has been deeply engaged with the broader security ecosystem, tackling challenges in open-source tools and infrastructure that security engineers rely on every day. This year, our engineers […]</description></item></channel></rss>