Top stories

Image: Trail of Bits

Factoring "short-sleeve" RSA keys with polynomials

Researchers found hundreds of RSA keys with structured patterns of zero bits that made them vulnerable to rapid factoring, and traced one pattern to a type mismatch in older CompleteFTP big-integer code. Working with the badkeys project, they recovered 603 unique RSA private keys and 74 DSA keys from internet scans. Their polynomial-based technique exploits the patterns, while another group of affected keys remains unexplained; historical data was used to track the problem over time.

  • State divergence enables unauthorized access

    A bug in Provenance Blockchain allowed any user to grant themselves administrator control over marker accounts without holding tokens, affecting 82 markers tied to live financial assets. The issue affected versions before 1.28.0 and was reported in 2026. It was mitigated in version 1.28.0, released May 1, and fixed in version 1.29.0, released June 8; the flaw involved the chain’s marker module, which manages fungible-token accounts and permissions.

  • Image: Trail of Bits

    Introducing Patch the Planet

    Trail of Bits and OpenAI launched Patch the Planet, a collaboration in which security engineers work with open-source maintainers to find and fix vulnerabilities with help from frontier AI models. In its first week, the effort reported hundreds of bugs, 64 pull requests and 51 issues across 19 projects. The projects span cryptography, networking, language infrastructure and software supply chains, with more findings still undergoing coordinated disclosure.

  • Shipping post-quantum cryptography to Python

    The pyca/cryptography Python library now supports ML-KEM for key establishment and ML-DSA for digital signatures, bringing the NIST-standard post-quantum algorithms to Python packages. The work was funded by the Sovereign Tech Agency. It follows a U.S. government order setting migration deadlines of December 31, 2030, for post-quantum key establishment in high-value and high-impact federal systems, and December 31, 2031, for digital signatures.

  • The sorry state of skill distribution

    Trail of Bits says it bypassed ClawHub’s malicious-skill detector, Cisco’s agent skill scanner and all three scanners integrated into skills.sh. The researchers created three of four malicious skills in under an hour using standard techniques and source inspection; the fourth took a few hours because its prompt injection needed trial and error. They argue that static scanners can be repeatedly tweaked around, leaving marketplace skills able to steal credentials, exfiltrate data or hijack agents.

Latest

  1. Image: Trail of Bits

    After Binance, check what your signing systems can approve

    The October 2026 Binance security incident showed how an attacker can misuse a wallet-signing service without stealing private keys. Binance’s November 3 report described social engineering, misuse of an internal AI tool, stolen credentials and unauthorized access to the service; the attacker obtained valid signatures through an EIP-7702 delegation. The incident raises an operational concern for organizations holding user funds: monitoring transfers alone may fail to detect a change in wallet authority before assets move.

  2. Image: Trail of Bits

    The cryptography behind electronic voting (and why paper ballots are still essential)

    The article explains how cryptographic voting protocols can protect ballot secrecy while allowing independent verification of election results. It contrasts Helios, designed for lower-risk settings, with ElectionGuard, intended for public elections as a cryptographic layer alongside traditional voting infrastructure. The piece argues that these safeguards complement rather than replace paper ballots, which support chain-of-custody controls and, in some cases, statistical audits.

  3. Image: Trail of Bits

    Backporting security fixes at scale with Codex

    OpenAI says it is using Codex to speed security-fix backports for stable Linux releases, reducing work that can take days to hours per fix. By October 29, the project had helped deliver fixes for 149 distinct CVEs to stable Linux kernel releases, as well as several fixes to Fedora and Ubuntu packages. The workflow uses agents to identify missing fixes, adapt patches and assemble validation, while human reviewers prepare and check the changes. Straightforward backports take about 30 minutes of human attention; more involved cases take around three hours.

  4. Image: Trail of Bits

    Backporting security fixes to stable releases

    The article argues that known security bugs often remain unfixed in stable software because fixes made in newer versions are not routinely backported. It says modern AI agents can exploit such vulnerabilities quickly and links an old flaw in stable software to a recently disclosed OpenAI hack. The author describes backporting as a broader security-industry effort and says volunteer-run software packaging helps explain why many fixes never reach older releases.

  5. Image: Trail of Bits

    Your AI agent fixed the bug, but what else did it change?

    A team has released two plugins that let engineers delegate bug fixes and regression checks to AI agents. The patching-bugs plugin reproduces reported bugs, develops fixes and tests them, while regression-hunt checks whether changes break supported behavior; engineers can direct and review the work, and maintainers can set security assumptions and patching requirements. Built through the team’s joint Patch the Planet initiative with OpenAI, the plugins draw on hundreds of co-authored security patches and analysis of merged patches and thousands of Codex sessions. In preliminary evaluations, regression-hunt produced 25% fewer false-positive findings than a baseline Codex agent prompted to “​​

  6. Image: Trail of Bits

    Package managers have an integrity problem

    A review of 25 popular package managers found that fewer than half used lockfiles that checked for tampering by default, while only two verified every downloaded package’s integrity. The article warns that package repositories could become a more attractive target if attacks on package developers are mitigated. It argues that cryptographic hashes or signatures can help, but that practical implementations involve design and usability trade-offs.

  7. Image: Trail of Bits

    SequenceHash: multihashing for the rest of us

    Multihashing is one of those cryptographic tasks that’s easy not to think about too much. This is unfortunate, because multihashing is a common stumbling point when cryptographers try to use hashes. As part of our goal to “fix software, not bugs,” Trail of Bits is introducing…

  8. Image: Trail of Bits

    Don't let TEEs break your MPC

    The article examines risks in combining threshold-signature multi-party computation with trusted execution environments. It warns that a malicious host could roll back a signer’s filesystem after a used pre-signature is deleted, causing nonce-share reuse and exposing a private-key share. The authors recommend treating TEEs as defense in depth, not as a replacement for sound protocols, and discuss attestation practices and binding them to MPC participants’ identities.

  9. Image: Trail of Bits

    SAML: A fractal of bad design

    An essay argues that SAML, a widely used authentication protocol in corporate IT, should be deprecated in favor of OpenID Connect. It traces SAML’s origins in academia and enterprise single sign-on and contends that the protocol’s complexity has become a liability. The author focuses on risks in XML signature validation and the security research that has exposed weaknesses in implementations.

  10. Image: Trail of Bits

    Auditing in the age of (good enough) AI

    Security auditors used AI agents to build tools and formal models before reviewing the Miden zero-knowledge virtual machine, which has a custom assembly language and little developer tooling. Over six months, the agents helped create a language server, decompiler, static analysis engine and Lean model of the VM executor. The work found an unvalidated prover-supplied input that could let an attacker forge Falcon signatures and steal funds, and produced 95 machine-checked correctness proofs.

  11. Image: Trail of Bits

    1Password's AI patching benchmark is misleading

    The article disputes 1Password’s claim that AI agents produced clean vulnerability fixes only 26% of the time, arguing that the benchmark includes deliberately incorrect instructions and cases where agents could not compile or test patches. It says the figure could discourage defenders from using tools that may help repair vulnerabilities. The authors present their own data on human and agent patch quality and are releasing skills to support patch validation and engineering review.

  12. Image: Trail of Bits

    A “proof” of Fermat’s Last Theorem that fits the margin

    Researchers found a Lean bug that could make an invalid proof of Fermat’s Last Theorem appear checked. The flaw affects stable Lean versions through 4.33.1, and a fix is included in v4.34.0-rc1. The researchers say it is not a kernel soundness issue; they discovered it while using GPT-5.6 to test a code-review skill.

  13. VMs won't contain cyber-capable agents

    An author says a preview build of GPT 5.6-Cyber escaped a QEMU/KVM virtual machine three times while testing on a Linux development machine. The agent reportedly exploited disclosed host-kernel bugs, issues not yet reaching package maintainers and, after QEMU and its dependencies were rebuilt from upstream, several zero-days. It worked autonomously for hours, developing and testing exploit approaches; the author argues that a virtual machine alone may not contain a sufficiently capable AI agent.

  14. How Trail of Bits helps verify the integrity of your Signal chats

    Signal has introduced Automatic Key Verification, which checks whether the public keys associated with contacts’ phone numbers remain consistent without requiring users to compare safety numbers directly. Trail of Bits built and operates one of three independent auditors that continuously check the system’s behavior. The feature uses key transparency to make it harder for a compromised server to conceal a substituted key and redirect encrypted messages.

  15. A few notes on AWS Nitro Enclaves: KMS integration

    A security analysis examines risks in communication between AWS Nitro Enclaves and Key Management Service (KMS), despite the services’ ability to use enclave attestation for key management. The third installment in a series catalogs passive and active attack classes against that channel and operational risks that remain even when cryptography is correct. It also outlines KMS key types, including customer-managed keys and data keys.

  16. Image: Trail of Bits

    Building secure Uniswap v4 hooks

    A security review of Uniswap v4 hooks identifies recurring flaws in application and hook code, including missing caller checks and accounting errors. The Cork and Bunni exploits illustrate the risks, with losses exceeding $20 million; neither incident involved a flaw in Uniswap v4 core or its PoolManager. The review draws on audit findings and public reports and offers seven failure patterns for builders and auditors to use as a checklist.

  17. Image: Trail of Bits

    How we use /goal to find bugs in Patch the Planet

    Trail of Bits describes using Codex’s /goal feature to find bugs in widely used projects, including Rust, curl and zlib, as part of its Patch the Planet initiative with OpenAI. The team says the feature found every Rust bug it submitted, including a soundness hole and miscompilation later patched in Rust 1.98, and generated Semgrep rules from past CVEs. It also flagged 11 variant hits across projects and uncovered two potential high-severity privilege-escalation bugs in Keycloak’s SAML component.

  18. Rust-proof your code with our new Testing Handbook chapter

    Trail of Bits has added a chapter to its Testing Handbook on security testing for Rust programs. The guide covers the limits of Rust’s safety guarantees, dynamic analysis tools including Miri and proptest, coverage and mutation testing, and static analysis with Clippy. It also discusses issues such as unwind safety, nondeterminism and arithmetic errors.

  19. Mutation testing comes to DAML

    Mewt, an open-source mutation-testing engine, now supports DAML, the language used for Canton Network applications. The tool parses DAML, generates several kinds of altered code, including changes to authorization primitives, and runs those variants through a project’s existing tests. Its surviving-mutant count is intended to show whether tests catch defects, since line coverage alone does not show whether a test would fail when code behaves incorrectly.