mlsanityData to 24 Nov 2026

SecCodePRM: A Process Reward Model for Code Security

arXiv 2602.10418 ↗Submitted 11 Feb 2026cs.CR cs.SEcited by 2

Not on the map. Why?

Abstract (arXiv)

Large Language Models are rapidly becoming core components of modern software development workflows, yet ensuring code security remains challenging. Existing vulnerability detection pipelines either rely on static analyzers or use LLM/GNN-based detectors trained with coarse program-level supervision. Both families often require complete context, provide sparse end-of-completion feedback, and can degrade as code length grows, making them ill-suited for real-time, prefix-level assessment during interactive coding and streaming generation. We propose SecCodePRM, a security-oriented process reward model that assigns a context-aware, step-level security score along a code trajectory. To train the model, we derive step-level supervision labels from static analyzers and expert annotations, allowing the model to attend more precisely to fine-grained regions associated with inter-procedural vulnerabilities. SecCodePRM has three applications: full-code vulnerability detection (VD), partial-code VD, and secure code generation (CG). For VD, SecCodePRM uses risk-sensitive aggregation that emphasizes high-risk steps; for CG, SecCodePRM supports inference-time scaling by ranking candidate continuations and favoring higher cumulative reward. This design yields dense, real-time feedback that scales to long-horizon generation. Empirically, SecCodePRM outperforms prior approaches in all three settings, while preserving code functional correctness, suggesting improved security without a safety-utility tradeoff.

Key facts. Cited by 2 papers in the map (data through 24 Nov 2026). Submitted 11 Feb 2026.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 24 Nov)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Secure Code Generation via Online Reinforcement Learning with Vulnerability Reward Model
  2. 2026SEC-bench Pro: Can Language Models Solve Long-Horizon Software Security Tasks?
  3. 2025A Mixture of Linear Corrections Generates Secure Code
  4. 2024LLM-Powered Code Vulnerability Repair with Reinforcement Learning and Semantic Reward
  5. 2026Learning to Generate Secure Code via Token-Level Rewards
  6. 2025VulInstruct: Teaching LLMs Root-Cause Reasoning for Vulnerability Detection via Security Specifications
  7. 2024An LLM-Assisted Easy-to-Trigger Backdoor Attack on Code Completion Models: Injecting Disguised Vulnerabilities against Strong Detection
  8. 2026SecureForge: Finding and Preventing Vulnerabilities in LLM-Generated Code via Prompt Optimization