pith:TO7IFMAX
VulKey: Automated Vulnerability Repair Guided by Domain-Specific Repair Patterns
A framework guides LLMs using a three-level hierarchy of security knowledge to generate more accurate vulnerability patches.
arxiv:2605.01769 v3 · 2026-05-03 · cs.CR · cs.SE
Add to your LaTeX paper
\usepackage{pith}
\pithnumber{TO7IFMAXTHFECEHGDFOCRFM34Z}
Prints a linked badge after your title and injects PDF metadata. Compiles on arXiv. Learn more · Embed verified badge
Record completeness
Claims
On the real-world C/C++ dataset PrimeVul, VulKey achieves 31.5% repair accuracy, surpassing the best baseline by 7.6% and outperforming leading tools such as VulMaster and GPT-5. Moreover, VulKey demonstrates cross-language and cross-model generalizability, with state-of-the-art performance on the Java benchmark Vul4J.
That the three-level hierarchical abstraction (CWE type, syntactic actions, semantic key elements) can be reliably matched to unseen vulnerabilities and will provide sufficient guidance for the fine-tuned LLM to produce correct, generalizable patches without overfitting to the abstracted patterns.
VulKey reaches 31.5% repair accuracy on real C/C++ vulnerabilities by matching hierarchical expert patterns to guide LLM patch generation, beating prior baselines by 7.6%.
Cited by
Receipt and verification
| First computed | 2026-06-30T01:16:30.426369Z |
|---|---|
| Builder | pith-number-builder-2026-05-17-v1 |
| Signature | Pith Ed25519
(pith-v1-2026-05) · public key |
| Schema | pith-number/v1.0 |
Canonical hash
9bbe82b01799ca4110e6195c28959be6545a865b6716d4d9c8af635c905acd22
Aliases
· · · · ·Agent API
Verify this Pith Number yourself
curl -sH 'Accept: application/ld+json' https://pith.science/pith/TO7IFMAXTHFECEHGDFOCRFM34Z \
| 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: 9bbe82b01799ca4110e6195c28959be6545a865b6716d4d9c8af635c905acd22
Canonical record JSON
{
"metadata": {
"abstract_canon_sha256": "ff1fdcdaeda2d112faa8e061ad590c485aa839e2ba1dc374c5a246d584553269",
"cross_cats_sorted": [
"cs.SE"
],
"license": "http://creativecommons.org/licenses/by/4.0/",
"primary_cat": "cs.CR",
"submitted_at": "2026-05-03T08:07:41Z",
"title_canon_sha256": "9b5420b54fcdbef37be73fc34bb282380219ff8107fc39a34be47a9865433095"
},
"schema_version": "1.0",
"source": {
"id": "2605.01769",
"kind": "arxiv",
"version": 3
}
}