The Trail of Bits Blog

Latest posts from The Trail of Bits Blog

  • Another prolific year of open-source contributions

    by Trail of Bits

    By Samuel Moelius This time last year, we wrote about the more than 190 Trail of Bits-authored pull requests that were merged into non-Trail of Bits repositories in 2021. In…

  • How to share what you’ve learned from our audits

    by Trail of Bits

    By Nick Selby Trail of Bits recently completed a security review of cURL, which is an amazing and ubiquitous tool for transferring data. We were really thrilled to see cURL…

  • Fast and accurate syntax searching for C and C++

    by Trail of Bits

    By Mate Kukri The naive approach to searching for patterns in source code is to use regular expressions; a better way is to parse the code with a custom parser,…

  • What child is this?

    by Trail of Bits

    A Primer on Process Reparenting in Windows By Yarden Shafir Process reparenting is a technique used in Microsoft Windows to create a child process under a different parent process than…

  • How I gave ManticoreUI a makeover

    by Trail of Bits

    By Calvin Fong During my internship at Trail of Bits, I explored the effectiveness of symbolic execution for finding vulnerabilities in native applications ranging from CTF challenges to popular open…

  • Manticore GUIs made easy

    by Trail of Bits

    By Wong Kok Rui, National University of Singapore Trail of Bits maintains Manticore, a symbolic execution engine that can analyze smart contracts and native binaries. While symbolic execution is a…

  • Hybrid fuzzing: Sharpening the spikes of Echidna

    by Trail of Bits

    By Tom Malcolm, University of Queensland, Australia Smart contract fuzzing is an effective bug-finding technique that is largely used at Trail Of Bits during audits. During my internship at Trail…

  • Specialized Zero-Knowledge Proof failures

    by Trail of Bits

    By Opal Wright Zero-knowledge (ZK) proofs are useful cryptographic tools that have seen an explosion of interest in recent years, largely due to their applications to cryptocurrency. The fundamental idea…

  • Are you sure your Python ABI is actually stable?

    by Trail of Bits

    TL;DR: Trail of Bits has developed abi3audit, a new Python tool for checking Python packages for CPython application binary interface (ABI) violations. We’ve used it to discover hundreds of inconsistently…

  • We’re streamers now

    by Trail of Bits

    Over the years, we’ve built many high-impact tools that we use for security reviews. You might know some of them, like Slither, Echidna, Amarna, Tealer, and test-fuzz. All of our…

  • Look out! Divergent representations are everywhere!

    by tobgreg

    By Andreas Kellas Trail of Bits recently published a blog post about a signed integer overflow in certain versions of SQLite that can enable arbitrary code execution and result in…

  • We sign code now

    by Trail of Bits

    By William Woodruff Sigstore announced the general availability of its free and ecosystem-agnostic software signing service two weeks ago, giving developers a way to sign, verify and protect their software…

  • Stranger Strings: An exploitable flaw in SQLite

    by Trail of Bits

    By Andreas Kellas Trail of Bits is publicly disclosing CVE-2022-35737, which affects applications that use the SQLite library API. CVE-2022-35737 was introduced in SQLite version 1.0.12 (released on October 17,…

  • We do Windows now

    by Trail of Bits

    At Trail of Bits, we pride ourselves on building tools that everyone can use to help improve the security ecosystem. Given how ingrained Microsoft is with a large portion of…

  • Porting the Solana eBPF JIT compiler to ARM64

    by Trail of Bits

    By Andrew Haberlandt  During my summer internship at Trail of Bits, I worked on the fork of the RBPF JIT compiler that is used to execute Solana smart contracts. The…

  • Working on blockchains as a Trail of Bits intern

    by Trail of Bits

    By Vara Prasad Bandaru Earlier this year, I successfully completed my internship at Trail of Bits and secured a full-time position as a Blockchain Security Analyst. This post is not…

  • Secure your machine learning with Semgrep

    by Trail of Bits

    By Suha Hussain tl;dr: Our publicly available Semgrep ruleset now has 11 rules dedicated to the misuse of machine learning libraries. Try it out now! Picture this: You’ve spent months…

  • It pays to be Circomspect

    by Trail of Bits

    By Fredrik Dahlgren, Staff Security Engineer In October 2019, a security researcher found a devastating vulnerability in Tornado.cash, a decentralized, non-custodial mixer on the Ethereum network. Tornado.cash uses zero-knowledge proofs…

  • Magnifier: An Experiment with Interactive Decompilation

    by Trail of Bits

    By Alan Chang Today, we are releasing Magnifier, an experimental reverse engineering user interface I developed during my internship. Magnifier asks, “What if, as an alternative to taking handwritten notes,…

  • Using mutants to improve Slither

    by Trail of Bits

    By Alex Groce, Northern Arizona University Improving static analysis tools can be hard; once you’ve implemented a good tool based on a useful representation of a program and added a…