Reinforcement Building: Toward Self-Improving Harnesses for Defensive Software Security Agents
No concrete benchmark grounding is available yet. Treat the page as context or an implementation starting point only.
Abstract
Domain fit: AI-core · Core AI workload signals detected from paper context and implementation/artifact evidence.
Large language model (LLM) agents have become capable of discovering and exploiting vulnerabilities in real-world software with limited human intervention. This widens an asymmetry that already favors attackers, who need a single overlooked vulnerability, whereas defenders must find and fix vulnerabilities before they are exploited. Defenders therefore need markedly better defensive repair agents to keep up with the growing number of discovered vulnerabilities. With each new generation of models, researchers build multi-agent harnesses that outperform a single-agent baseline. These harnesses, however, are often tuned to a specific model version and may bring smaller gains, or even performance degradation, when used with another model. With the increasing speed at which new models are released, rebuilding a harness by hand for each new generation appears impractical. We present Reinforcement Building (RB), a framework that automatically builds the harness of a defensive agent for a given model. In each round, RB runs the current harness on training vulnerabilities and grades every patch with an execution oracle. An optimizer model then proposes edits to its agents, tools, delegation edges and memory, and a validation gate keeps them only if they strictly improve the harness. Without updating any weights, RB improves the repair success rate of two open-weight models on three held-out benchmarks by 58% to 750% relative to the base harness (8.5 to 36.1 percentage points). On SEC-bench, it outperforms ContraFix, the state-of-the-art harness builder for vulnerability repair, by 21% relative for both models. Compared with reinforcement learning with verifiable rewards (RLVR) on the same data, RB needs 7.4 times fewer training episodes to reach the same success rate on Gemma-4-31B.
Results and benchmarks
Large language model (LLM) agents have become capable of discovering and exploiting vulnerabilities in real-world software with limited human intervention.
Implementation
No direct implementation yet
Maintained implementation evidence is not confirmed for this paper yet.
Use the implementation status and reproduction sections for the current action plan.
No verified maintained repo yet
There is no verified maintained implementation yet. Use this baseline plan to decide whether to prototype now or defer.
- No direct maintained implementation was found. Use the paper PDF and citation graph to design a baseline reproduction.
- Start from this likely method family: Reinforcement learning.
- Track assumptions and missing details in an experiment log before coding.
Time to first repro: a few days
Recommendation evidence is currently too limited for a maintained-repo choice. Use Implementation Status and Reproduction Path for a practical baseline plan.
- Estimate is based on paper-only reproduction flow
Reproduction readiness
No repo
No verified implementation available
- No maintained repository has been identified for this paper. Check adjacent implementations or HF artifacts below.
Hardware requirements
- Expect multi-day setup/compute for meaningful reproduction based on current guidance.
Validation caveat
Framework baselines
- PyTorch Adam optimizer docs
Reference implementation of Adam in PyTorch.
- Optax Adam optimizer docs
JAX/Flax baseline for Adam variants.
- Keras Adam optimizer docs
TensorFlow/Keras baseline for Adam.
Hugging Face artifacts
No trustworthy direct or curated related Hugging Face artifacts were found yet. Use targeted searches to quickly locate candidate models, datasets, and demos.
Tip: start with models, then check datasets and spaces if you need evaluation data or demos.
Research context
Tasks
Agentic tool use
Methods
Reinforcement learning
Domains
Natural Language Processing, Large Language Models, AI Agents
Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.
Open in HFEPXJump to Paper2Code search queries derived from this paper's research context.