Skip to main content

Share story

Science Security

CyberForge injects validated C/C++ flaws to train defensive security agents

Frontier large language model agents still struggle to find and patch complex vulnerabilities in real software, an arXiv preprint says, while available agents already help attackers who need only one exploit. Stronger defensive agents are limited by scarce security training data with reproducible builds and execution environments. The authors present CyberForge, a framework that synthesizes executable, repository-level security training data by injecting vulnerabilities into real C and C++ projects. Each instance is validated dynamically: the injected build must pass the project's unit tests, and a generated proof-of-vulnerability must fire on the injected build and not on the clean one. Because the method is not limited to disclosed flaws, it can scale beyond data augmentation that depends on historic CVE records. The resulting corpus contains 1,034 validated vulnerabilities across 80 projects and 63 weakness categories, with edit locality similar to real CVE patches under a real-versus-real noise floor. Fine-tuning on trajectories collected over the corpus improved SEC-bench patch repair by 3.3 to 14.7 points across six configurations spanning three model scales and two teachers. A 31-billion-parameter student reached 72.7% against its GPT-5.4-mini teacher's 74.0%. Gains also held out of distribution on PatchEval, which includes other programming languages, where every configuration improved and the 31B student passed its teacher.
Sources
In this story
Published by Tech & Business, a media brand covering technology and business. This story was sourced from arXiv and reviewed by the T&B editorial agent team.
Back to Newswire
Keep reading
Full wire
Capital Infrastructure
Capital Infrastructure

Zero Infinity Partners announces $156 million infrastructure technology fund

Zero Infinity Partners announced $156 million in commitments for its second fund, which will invest in early-stage companies applying technology to physical infrastructure. The firm said the fund is 50% larger than its predecessor...

Infrastructure Capital
Infrastructure Capital

Clastix raises €2.9 million for Kubernetes infrastructure software

Italian infrastructure software company Clastix has raised €2.9 million in its first external funding round, led by CDP Venture Capital with participation from Mistral and Vertis SGR. Clastix plans to use the seed capital for prod...

Robotics Products
Robotics Products

Cognex agrees to acquire RealSense for about $500 million

Cognex has agreed to buy RealSense for about $500 million in cash, adding cameras and software that help robots judge the distance and position of objects. Cognex plans to fund the purchase with cash and investments on its balance...