pith:I6VRWGKD
ContraFix: Agentic Vulnerability Repair via Differential Runtime Evidence and Skill Reuse
ContraFix identifies root causes for vulnerabilities by comparing state differences in crashing versus non-crashing PoC variants and reuses prior repair skills.
arxiv:2605.17450 v1 · 2026-05-17 · cs.SE · cs.AI · cs.CL · cs.CR
Add to your LaTeX paper
\usepackage{pith}
\pithnumber{I6VRWGKDI7I6N6P32R5CYSANXT}
Prints a linked badge after your title and injects PDF metadata. Compiles on arXiv. Learn more · Embed verified badge
Record completeness
Claims
On SEC-Bench (C/C++, 200 instances) and PatchEval (Go, Python, JavaScript, 225 instances), ContraFix with GPT-5-mini resolves 84.0% and 73.8% of the tasks, respectively, achieving state-of-the-art performance on both benchmarks while costing less than one-third of the strongest comparable baseline.
That the divergences identified by state probes between crashing and non-crashing PoC variants reliably isolate the causal variables or state transitions responsible for the vulnerability, and that these can be converted into a repair specification that produces correct, verified patches rather than symptom fixes.
ContraFix couples differential runtime evidence from execution variants with reusable repair skills to achieve 84.0% resolution on SEC-Bench and 73.8% on PatchEval using GPT-5-mini, outperforming baselines at lower cost.
References
Formal links
Receipt and verification
| First computed | 2026-05-20T00:04:39.605167Z |
|---|---|
| Builder | pith-number-builder-2026-05-17-v1 |
| Signature | Pith Ed25519
(pith-v1-2026-05) · public key |
| Schema | pith-number/v1.0 |
Canonical hash
47ab1b194347d1e6f9fbd47a2c480dbccc8d58b71af548b271cf66d22f27e14b
Aliases
· · · · ·Agent API
Verify this Pith Number yourself
curl -sH 'Accept: application/ld+json' https://pith.science/pith/I6VRWGKDI7I6N6P32R5CYSANXT \
| jq -c '.canonical_record' \
| python3 -c "import sys,json,hashlib; b=json.dumps(json.loads(sys.stdin.read()), sort_keys=True, separators=(',',':'), ensure_ascii=False).encode(); print(hashlib.sha256(b).hexdigest())"
# expect: 47ab1b194347d1e6f9fbd47a2c480dbccc8d58b71af548b271cf66d22f27e14b
Canonical record JSON
{
"metadata": {
"abstract_canon_sha256": "8e2d18aa448da2a49ec500383f1f7344616231d5785e40f1e5155d004a4761d0",
"cross_cats_sorted": [
"cs.AI",
"cs.CL",
"cs.CR"
],
"license": "http://arxiv.org/licenses/nonexclusive-distrib/1.0/",
"primary_cat": "cs.SE",
"submitted_at": "2026-05-17T13:48:25Z",
"title_canon_sha256": "b9ea41076ae752434094f0daf0db13afb0b6f94f04b53e6d879b07296c4078aa"
},
"schema_version": "1.0",
"source": {
"id": "2605.17450",
"kind": "arxiv",
"version": 1
}
}