The Trail of Bits Blog

Latest posts from The Trail of Bits Blog

  • Introducing invariant development as a service

    by Trail of Bits

    Understanding and rigorously testing system invariants are essential aspects of developing robust smart contracts. Invariants are facts about the protocol that should remain true no matter what happens. Defining and…

  • Pitfalls of relying on eBPF for security monitoring (and some solutions)

    by Lauren Miorcec

    By Artem Dinaburg eBPF (extended Berkeley Packet Filter) has emerged as the de facto Linux standard for security monitoring and endpoint observability. It is used by technologies such as BPFTrace,…

  • Don’t overextend your Oblivious Transfer

    by Trail of Bits

    By Joop van de Pol We found a vulnerability in a threshold signature scheme that allows an attacker to recover the signing key of threshold ECDSA implementations that are based…

  • Security flaws in an SSO plugin for Caddy

    by Trail of Bits

    By Maciej Domanski, Travis Peters, and David Pokora We identified 10 security vulnerabilities within the caddy-security plugin for the Caddy web server that could enable a variety of high-severity attacks…

  • Holy Macroni! A recipe for progressive language enhancement

    by Trail of Bits

    By Brent Pappas Despite its use for refactoring and static analysis tooling, Clang has a massive shortcoming: the Clang AST does not provide provenance information about which CPP macro expansions…

  • Secure your Apollo GraphQL server with Semgrep

    by Trail of Bits

    By Vasco Franco tl;dr: Our publicly available Semgrep ruleset has nine new rules to detect misconfigurations of versions 3 and 4 of the Apollo GraphQL server. Try them out with…

  • iVerify is now an independent company!

    by Dan Guido

    We’re proud to announce that iVerify is now an independent company following its four-year incubation at Trail of Bits. Originally developed in-house to ensure that our personal phones, which store…

  • The Engineer’s Guide to Blockchain Finality

    by Trail of Bits

    By Benjamin Samuels Many security-critical off-chain applications use a simple block delay to determine finality: the point at which a transaction becomes immutable in a blockchain’s ledger (and is impossible…

  • Can you pass the Rekt test?

    by Trail of Bits

    One of the biggest challenges for blockchain developers is objectively assessing their security posture and measuring how it progresses. To address this issue, a working group of Web3 security experts,…

  • Use our suite of eBPF libraries

    by Trail of Bits

    By Artem Dinaburg Trail of Bits has developed a suite of open-source libraries designed to streamline the creation and deployment of eBPF applications. These libraries facilitate efficient process and network…

  • A mistake in the bulletproofs paper could have led to the theft of millions of dollars

    by Trail of Bits

    By Jim Miller We discovered a critical vulnerability in Incognito Chain that would allow an attacker to mint arbitrary tokens and drain user funds. Incognito offers confidential transactions through zero-knowledge…

  • How AI will affect cybersecurity: What we told the CFTC

    by Dan Guido

    Dan Guido, CEO The second meeting of the Commodity Futures Trading Commission’s Technology Advisory Committee (TAC) on July 18 focused on the effects of AI on the financial sector. During…

  • The future of Clang-based tooling

    by Trail of Bits

    By Peter Goodman Clang is a marvelous compiler; it’s a compiler’s compiler! But it isn’t a toolsmith’s compiler. As a toolsmith, my ideal compiler would be an open book, allowing…

  • Announcing the Trail of Bits Testing Handbook

    by Trail of Bits

    By Maciej Domanski Trail of Bits is thrilled to announce the Testing Handbook, the shortest path for developers and security professionals to derive maximum value from the static and dynamic…

  • Fuzzing on-chain contracts with Echidna

    by Trail of Bits

    By Guillermo Larregay and Elvis Skozdopolj With the release of version 2.1.0 of Echidna, our fuzzing tool for Ethereum smart contracts, we’ve introduced new features for direct retrieval of on-chain…

  • Trail of Bits’s Response to OSTP National Priorities for AI RFI

    by Trail of Bits

    By Michael Brown and Heidy Khlaaf The Office of Science and Technology Policy (OSTP) has circulated a request for information (RFI) on how best to develop policies that support the…

  • Evaluating blockchain security maturity

    by Dan Guido

    By Josselin Feist, Blockchain Engineering Director Holistic security reviews should reveal far more than simple bugs. Often, these bugs indicate deeper issues that can be challenging to understand and address.…

  • What we told the CFTC about crypto threats

    by Trail of Bits

    Dan Guido, CEO In March, I joined the Commodity Futures Trading Commission’s Technology Advisory Committee (TAC), helping the regulatory agency navigate the complexities of cybersecurity risks, particularly in emerging technologies…

  • Differential fuzz testing upgradeable smart contracts with Diffusc

    by Trail of Bits

    By William E Bodell III (@WEBthe3rd) On March 28, 2023, SafeMoon, a self-styled “community-focused DeFi token” on Binance Smart Chain, lost the equivalent of $8.9 million in Binance Coin BNB…

  • Trail of Bits’s Response to NTIA AI Accountability RFC

    by Trail of Bits

    By Heidy Khlaaf and Artem Dinaburg The National Telecommunications and Information Administration (NTIA) has circulated an Artificial Intelligence (AI) Accountability Policy Request for Comment on what policies can support the…