InfoResearchPreprintLLM-specific
Secure-Miner: Improving Secure Code Generation for LLMs by Mining Secure Coding Practices
- Published
- Record updated
Summary
Secure-Miner proposes a framework that extracts secure coding practices from real open-source repositories to improve secure code generation by LLMs, instead of relying only on vulnerability reports or synthetic data. It focuses on low-resource Common Weakness Enumerations (CWEs). A multi-agent system performs the work: a RegEx Agent builds security patterns from CWE descriptions through an iterative feedback loop, a Verification Agent identifies genuine secure functions, and a Refinement Agent isolates core secure patterns into a dataset.