How We Use /goal to Find Bugs in Patch the Planet - #2565
Open
carlospolop wants to merge 1 commit into
Open
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://blog.trailofbits.com/2026/07/28/how-we-use-goal-to-find-bugs-in-patch-the-planet Content Categories: Based on the analysis, this content was categorized under "AI Security > AI Assisted Fuzzing And Vulnerability Discovery, with cross-references to Pentesting Web > Source Code Review / SAST Tools and Generic Methodologies & Resources > Fuzzing Methodology". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
Trail of Bits explains how it uses Codex goal-based prompting, referred to as
/goal, to automate vulnerability discovery in large, heavily audited open-source projects during the joint Trail of Bits and OpenAI Patch the Planet initiative. A goal gives Codex an open-ended objective and allows it to work autonomously until it reaches a defined success condition. The post is a technical methodology for AI-assisted auditing rathe...🔧 Technical Details
Self-generated, adversarially reviewed audit goals: Provide an autonomous security agent with the repository context, desired vulnerability class, and a structured threat model, then have it generate its own measurable research goal. Before execution, require the agent to identify how another model could satisfy the wording lazily, superficially, or through invalid assumptions and revise the criteria accordingly. The resulting goal should explicitly define attacker-controlled inputs, trust boundaries, impact, prohibited prerequisites, evidence requirements, duplicate checks, persistence, output location, and stopping condition. Measure actual source inspection with tooling such as aicov, which records which source lines the agent has read.
Outcome-focused vulnerability discovery: Specify what a reportable vulnerability must achieve, but avoid forcing a particular investigation path. For r...
🤖 Agent Actions
Done.
Updated:
src/AI/AI-Assisted-Fuzzing-and-Vulnerability-Discovery.mdAdded concise, non-duplicative technical content covering:
/goal-style audit goalsskip/no_variant/bug_found, multi-judge, human dedupe)Also added the Trail of Bits blog URL to the file’s
## References.Verification:
mdbook buildcould not be run becausemdbookis not installed in this environmentThis PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.