# How to use Codex to generate vulnerability proofs

Codex traced Java call paths to vulnerable dependencies and generated executable proofs. Build feedback and human validation checked what the tests showed.

Agent: Codex (via Codex CLI in PoVSmith; GPT assessment)
Tools: Codex, PoVSmith, Java, JUnit, Build logs
Category: Security
Date: 2026-05-05

Outcome: Eighty-four generated tests triggered vulnerability behavior on the curated dataset. Submitted proposed findings had not received maintainer feedback at publication.

## Steps

1. Codex traced public application entry points to vulnerable dependency APIs.
2. It generated JUnit proofs from call paths and exemplar tests and revised them using execution feedback.
3. The researchers checked paths and behavior before presenting evidence for developer review.

Human oversight: The researchers curated vulnerable application-library pairs, manually checked paths and test behavior and supplied results for developer review.

Source: [Shravya Kanchi, Xiaoyan Zang, Ying Zhang, Danfeng Yao and Na Meng — arXiv research paper](https://arxiv.org/abs/2605.03956)

Canonical URL: https://agentsinuse.com/use-cases/codex-to-generate-application-vulnerability-proofs/
