Skip to content
Trail of Bits·Indexed by this site · Originally published· Tools →

How Trail of Bits used Codex's /goal to find vulnerabilities in Patch the Planet

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

AI summary

In the Patch the Planet project with OpenAI, Trail of Bits used Codex's /goal goal-oriented prompting to audit widely used open-source codebases such as Rust, curl, and zlib. /goal identified all Rust vulnerabilities committed by a single variant analysis pipeline, including a soundness bug and a miscompilation issue already patched in Rust 1.98, and converted historical CVEs from each project into Semgrep rules that trigger on vulnerable versions and stay silent on patched versions, hitting 11 cross-project variant alerts. In one probe, it also found two potentially high-severity privilege escalation vulnerabilities in the Keycloak SAML component.

Read originalblog.trailofbits.com