---
id: 5556
title: "How we use /goal to find bugs in Patch the Planet"
vendor: "OpenAI"
product: "Codex"
source_domain: blog.trailofbits.com
source_url: "https://blog.trailofbits.com/2026/07/28/how-we-use-goal-to-find-bugs-in-patch-the-planet/"
published_at: "2026-07-28T11:00:00Z"
tags: ["ai-security", "featured", "agentic-ai", "vulnerability-research", "open-source", "codex", "bug-hunting", "trail-of-bits", "patch-the-planet", "goal-prompting"]
phying_url: "https://phying.com/item/5556"
lang: en
---

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

## Summary

Over the first few weeks of Patch the Planet, our engineers found three techniques for using /goal, which hands Codex an open-ended objective and lets it work independently toward a success condition.

## Why it matters

The article provides a repeatable AI-assisted vulnerability-research workflow: define outcomes from a threat model, give each agent one objective, verify candidates with executable evidence and retain a final human review gate.

## Intelligence Metadata

- **Sources:** blog.trailofbits.com
- **Vendor:** OpenAI
- **Product:** Codex
- **Published:** 2026-07-28T11:00:00Z
- **Original:** https://blog.trailofbits.com/2026/07/28/how-we-use-goal-to-find-bugs-in-patch-the-planet/
- **Phying News:** https://phying.com/item/5556
