pith:YIMYYIHN
MemRepair: Hierarchical Memory for Agentic Repository-Level Vulnerability Repair
MemRepair equips LLM repair agents with three persistent memory layers so they can reuse past fixes, security patterns, and refinement paths when fixing vulnerabilities across large code repositories.
arxiv:2605.17444 v1 · 2026-05-17 · cs.SE · cs.AI · cs.CL
Add to your LaTeX paper
\usepackage{pith}
\pithnumber{YIMYYIHNGO2E6M5DMR7WQM4MGE}
Prints a linked badge after your title and injects PDF metadata. Compiles on arXiv. Learn more
Record completeness
Claims
MemRepair achieves state-of-the-art resolution rates of 58.0%, 58.2%, and 30.58% on SEC-Bench, PatchEval (Python, Go, JavaScript), and the C++ subset of Multi-SWE-bench, outperforming OpenHands, SWE-agent, and InfCode-C++ while maintaining competitive repair cost.
The three memory layers can be retrieved and applied at runtime in a manner that produces net positive gains on complex multi-file repairs without introducing retrieval errors or excessive latency that would negate the benefit.
MemRepair is a hierarchical memory-augmented agent framework that raises repository-level vulnerability repair rates to 58.0-58.2% on Python/Go/JS benchmarks and 30.58% on C++ by combining history, pattern, and refinement memories with iterative feedback.
References
Formal links
Receipt and verification
| First computed | 2026-05-20T00:04:39.198116Z |
|---|---|
| Builder | pith-number-builder-2026-05-17-v1 |
| Signature | Pith Ed25519
(pith-v1-2026-05) · public key |
| Schema | pith-number/v1.0 |
Canonical hash
c2198c20ed33b44f33a3647f68338c312547f3d5467d07dd5eaa6c1bfa53b94a
Aliases
· · · · ·Agent API
Verify this Pith Number yourself
curl -sH 'Accept: application/ld+json' https://pith.science/pith/YIMYYIHNGO2E6M5DMR7WQM4MGE \
| 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: c2198c20ed33b44f33a3647f68338c312547f3d5467d07dd5eaa6c1bfa53b94a
Canonical record JSON
{
"metadata": {
"abstract_canon_sha256": "413214767acc6b2cb2cadb7eb39810c70c73388f2b1a75ec748238d21fe713c3",
"cross_cats_sorted": [
"cs.AI",
"cs.CL"
],
"license": "http://arxiv.org/licenses/nonexclusive-distrib/1.0/",
"primary_cat": "cs.SE",
"submitted_at": "2026-05-17T13:29:46Z",
"title_canon_sha256": "031c8c3e5ebdf735586083681faccc786e1f5f9e0cb815361fb6675aecba481f"
},
"schema_version": "1.0",
"source": {
"id": "2605.17444",
"kind": "arxiv",
"version": 1
}
}