The Trail of Bits Blog

Latest posts from The Trail of Bits Blog

  • Part 2: Improving crypto code in Rust using LLVM’s optnone

    by Henrik Brodin

    By Henrik Brodin Let’s implement crypto! Welcome to the second part of our posts on the challenges of implementing constant-time Rust code. Part 1 discussed challenges with constant-time implementations in…

  • Part 1: The life of an optimization barrier

    by Fredrik Dahlgren

    By Fredrik Dahlgren Many engineers choose Rust as their language of choice for implementing cryptographic protocols because of its robust security guarantees. Although Rust makes safe cryptographic engineering easier, there…

  • C your data structures with rellic-headergen

    by Trail of Bits

    By Francesco Bertolaccini Have you ever wondered how a compiler sees your data structures? Compiler Explorer may help you understand the relation between the source code and machine code, but…

  • Finding unhandled errors using CodeQL

    by Fredrik Dahlgren

    By Fredrik Dahlgren One of your developers finds a bug in your codebase—an unhandled error code—and wonders whether there could be more. He combs through the code and finds unhandled…

  • Toward a Best-of-Both-Worlds Binary Disassembler

    by Trail of Bits

    By Stefan Nagy This past winter, I was fortunate to have the opportunity to work for Trail of Bits as a graduate student intern under the supervision of Peter Goodman…

  • Celebrating our 2021 Open Source Contributions

    by Sam Moelius

    At Trail of Bits, we pride ourselves on making our best tools open source, such as algo, manticore, and graphtage. But while this post is about open source, it’s not…

  • Disclosing Shamir’s Secret Sharing vulnerabilities and announcing ZKDocs

    by James Miller

    By Filipe Casal and Jim Miller Trail of Bits is publicly disclosing two bugs that affect Shamir’s Secret Sharing implementation of Binance’s threshold signature scheme library (tss-lib) and most of…

  • Detecting MISO and Opyn’s msg.value reuse vulnerability with Slither

    by Trail of Bits

    By Simone Monica On August 18, 2021, samczsun reported a critical vulnerability in SushiSwap’s MISO smart contracts, which put ~350 million USD (109 thousand ETH) at risk. This issue is…

  • What does your code use, and is it vulnerable? It-depends!

    by Evan Sultanik

    You just cloned a fresh source code repository and want to get a quick sense of its dependencies. Our tool, it-depends, can get you there. We are proud to announce…

  • MUI: Visualizing symbolic execution with Manticore and Binary Ninja

    by Trail of Bits

    By Alan Chang, University of Oxford During my summer internship, I had the wonderful opportunity to work on the Manticore User Interface (MUI). The MUI project aims to combine the…

  • How to choose an interesting project

    by Trent Brunson

    By Trent Brunson, Head of Research & Engineering Originally published on October 15, 2021 Come join our team today! Trail of Bits is hiring full-time Senior Software Engineers and Software…

  • Motivating global stabilization

    by Trent Brunson

    By Samuel Moelius, Staff Engineer Originally published on October 12, 2021 Consensus protocols have come to play a critical role in many applications. Fischer, Lynch, and Paterson’s classic impossibility result…

  • Announcing osquery 5: Now with EndpointSecurity on macOS

    by Trent Brunson

    By Sharvil Shah, Senior Software Engineer Originally published on October 6, 2021 TL;DR: Version 5.0.1 of osquery, a cross-platform, open-source endpoint visibility agent, is now available. This release is an…

  • All your tracing are belong to BPF

    by Trent Brunson

    By Alessandro Gario, Senior Software Engineer Originally published August 11, 2021 TL;DR: These simpler, step-by-step methods equip you to apply BPF tracing technology to real-word problems—no specialized tools or libraries…

  • PrivacyRaven: Implementing a proof of concept for model inversion

    by Trent Brunson

    By Philip Wang, Intern Originally published August 3, 2021 During my Trail of Bits winternship and springternship, I had the pleasure of working with Suha Hussain and Jim Miller on…

  • Write Rust lints without forking Clippy

    by Trent Brunson

    By Samuel Moelius, Staff Engineer Originally published May 20, 2021 This blog post introduces Dylint, a tool for loading Rust linting rules (or “lints”) from dynamic libraries. Dylint makes it…

  • Discovering goroutine leaks with Semgrep

    by Trent Brunson

    By Alex Useche, Security Engineer Originally published May 10, 2021 While learning how to write multithreaded code in Java or C++ can make computer science students reconsider their career choices,…

  • Solar: Context-free, interactive analysis for Solidity

    by Trent Brunson

    We’re hiring for our Research + Engineering team!  By Aaron Yoo, University of California, Los Angeles As an intern at Trail of Bits, I worked on Solar, a proof-of-concept static…

  • A Year in the Life of a Compiler Fuzzing Campaign

    by Trent Brunson

    By Alex Groce, Northern Arizona University In the summer of 2020, we described our work fuzzing the Solidity compiler, solc. So now we’d like to revisit this project, since fuzzing…

  • Un-bee-lievable Performance: Fast Coverage-guided Fuzzing with Honeybee and Intel Processor Trace

    by Trent Brunson

    By Allison Husain, UC Berkeley Today, we are releasing an experimental coverage-guided fuzzer called Honeybee that records program control flow using Intel Processor Trace (IPT) technology. Previously, IPT has been…