Skip to content
Book Open access

RepoTune: Co-evolving Vulnerability Detection with a Repository’s Genome

Oct 2026 · Proceedings of the 2nd International Workshop on Software Genomics · 0 citations · 16 references

Abstract

Every automated vulnerability detector is pinned to a tradeoff between precision and recall, fixed by its algorithm and chosen to work well enough across all code. But code is not uniform: every project has its own conventions, idioms, and functionality (the recurring, project-stable patterns that software genomics reads as a codebase’s genes), and these are exactly the information that could push a detector past its global frontier. Tuning a detector to a specific codebase has always helped, but it demands expert effort per project across millions of projects, so we settle for one universal detector. We argue that LLM agents overturn this compromise, making per-project customization automatable for the first time. We take the position that security is not a fixed external checker but part of a project’s genome, so detection should be optimized per project and co-evolve with it, synthesizing for each repository a detector specialized to its attack surface across static analysis, invariants, formal verification, and fuzzing, grounded in the project’s code style, semantics, and history of past defects. We outline RepoTune, an agentic feedback loop that profiles a repository’s genome and evolves a specialized detector against the repository’s own code and vulnerability history to minimize false positives and maximize recall, with developers contributing domain knowledge, and we lay out the research agenda this opens for software genomics, including how such detectors propagate through a software supply chain.

Read PDF

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.