우리는 Java 취약점 탐지를 위한 벤치마크 데이터셋과 평가 하네스인 JavaVulBench를 공개한다. 이 데이터셋은 1,740개의 CVE와 700개 이상의 프로젝트에 걸친 약 30,600개의 Java 메서드를 포함하며, 메서드 및 라인 단위로 레이블이 부여되어 있고, CVE별 공개 날짜와 다섯 가지 현실적 분할 전략(무작위, 프로젝트 비중복, 시간적, 중복 제거, 미확인 CWE 계열)을 제공한다. 하네스는 세 가지 백엔드 계열(인코더 분류기, Ollama로 서빙되는 로컬 생성 모델, OpenRouter를 통해 라우팅되는 API 서빙 대규모 언어 모델(LLM))에 걸쳐 단일 LlmPrediction 스키마를 제공하므로, CodeBERT, GraphCodeBERT, UniXcoder, DeepSeek-Coder-1.3B 및 8개의 API/오픈 가중치 LLM(GPT-4o, GPT-4.1-mini, Claude Sonnet 4, DeepSeek-v3, DeepSeek-Coder-v2, Qwen-2.5-Coder-14B/7B, CodeLlama-13B)을 포함한 12개의 참조 탐지기가 단일 명령어로 동일한 조건에서 평가된다. 사전학습 오염 감사가 모든 모델과 함께 제공되어 사용자가 진정으로 미확인 테스트 CVE와 잠재적으로 기억된 CVE를 구분할 수 있다. 데이터, 코드, 파인튜닝된 체크포인트는 Zenodo [31]에 보관되어 있으며, 짧은 시연 영상은 YouTube(https://www.youtube.com/watch?v=nMTX_hqkuoM)에서 확인할 수 있다.
Vulnerability detection in C/C++ software remains a major security challenge due to code complexity, manual memory management, and the limitations of traditional static analysis. Reinforcement Learning (RL) has emerged as a promising approach, particularly for fuzzing, test generation, program exploration, and, more recently, vulnerability detection and localization. Following PRISMA 2020 guidelines, this work reviews RL techniques for software vulnerability analysis, focusing on C/C++ source code and static analysis. We identified 21 primary studies published between 2015 and 2026 from major scientific databases and complementary searches. We analyze the addressed tasks, algorithms, state-action-reward-environment formulations, code representations, datasets, and evaluation metrics. Results show that 15 studies focus on fuzzing and guided exploration, only 3 on direct vulnerability detection, and just 1 on statement-level localization. Moreover, statically extracted structural representations such as Control Flow Graphs (CFGs) and Abstract Syntax Trees (ASTs) are rarely used as agent states, and benchmarks lack comparability. We propose a task- and formulation-oriented taxonomy and identify a key research gap: the absence of RL agents that use source-code CFGs as states to detect and localize vulnerable nodes.
DeFiHackLabs의 541건 실세계 익스플로잇 사례를 9개 EVM 체인에서 수집해, LLM 기반 에이전트가 메인넷 포크 온체인 환경에서 취약점 탐지·익스플로잇 생성·패치 합성을 수행하는지 평가하는 CyberChainBench 벤치마크를 제안한다. 평가 결과 최고 구성은 탐지 37.5%, 익스플로잇 43.7%, 패치 23.4%로 과제별 난이도 차이가 뚜렷했고, 상위 에이전트(Codex with GPT-5.5)는 200건 익스플로잇 세트에서 건당 $2.39 비용으로 총 $5,740만의 익스플로잇 수익을 달성했다.
The increasing use of AI systems for code generation raises a central security question: what can today's models and coding agents actually do to produce secure code, where do they still fail, and what would move the field forward? Existing work has explored prompting, fine-tuning, reinforcement learning, and agentic workflows for secure code generation, but the field still lacks a systematic understanding of how these techniques improve security and why substantial failures persist. In this SoK, we systematize the progress, pitfalls, and paths forward for AI secure code generation. We introduce a three-level framework that measures models' natural-language understanding of secure coding principles, their code-level actuation of those principles during generation, and the knowledge--actuation gaps between the two. We instantiate this framework across models and coding agents on benchmarks covering both isolated function-level security and full web-application security. Our results show that secure-coding-principle understanding is a statistically strong predictor of code-level outcomes, including functional correctness, security, and joint functional-security correctness. Yet substantial knowledge--actuation gaps remain: models can recognize relevant security principles but still fail to translate them into secure and functional code. These findings offer a principle-centered account of where AI secure code generation stands today and identify concrete paths forward through principle-guided generation, evaluation, benchmarking, and agentic workflows.
Code-Augur는 LLM 에이전트가 안전하다고 판단한 구성 요소의 로컬 불변성을 보안 명세(security specifications)로 소스 내 어설션에 남기고, 가이드 퍼저(guided fuzzer)의 런타임 반증(runtime falsification)으로 가정을 검증·정제하는 보안 명세 우선 패러다임을 제안한다. 실제 코드베이스에서 최신 에이전트 기반 탐지기보다 더 많은 취약점을 찾았고, 주요 오픈소스 프로젝트에서 22건의 신규 취약점을 발견했다.
취약점 데이터셋(dataset)에서 재현성, 양, 다양성을 달성하는 것은 오랫동안 본질적인 세 가지 상충 관계(trade-off)로 여겨져 왔으며, 이 중 하나를 개선하는 것은 종종 다른 것을 희생하는 대가를 치러야 하는 일이었습니다. 실제로는 재현성이 가장 자주 간과되어 온 차원입니다. 이는 과거 버그 데이터셋에서 자동으로 추출할 수 있는 정보를 제한했고, 하위(downstream) 보안 연구에서의 데이터셋 유용성을 저하시켰습니다. 본 연구에서는 대규모 버그 재현의 주요 장애물을 식별하고 이를 일반적인 솔루션으로 해결함으로써, 다양한 취약점에 대해 대규모로 재현성을 보장하는 새로운 보안 데이터셋을 생성하는 방법을 제안합니다. 이 방법을 사용하여 가장 큰 오픈 소스 소프트웨어 취약점 데이터셋인 OSS-Fuzz에 완전한 재현성을 도입하고, ARVO 데이터셋(오픈 소스 소프트웨어의 재현 가능한 취약점 아틀라스)을 구축했습니다. ARVO는 311개 프로젝트에 걸쳐 6,100개 이상의 실제 취약점으로 구성된 대규모 데이터셋입니다. 재현성에 초점을 맞춘 ARVO는 기존 데이터셋과 달리 각 취약점을 버전 간에 일관되게 재구축, 트리거, 분석할 수 있는 형태로 제공합니다. 또한 재현성을 통해 각 취약점에 대응하는 패치를 자동으로 식별할 수 있으며, 코드 변경 후 취약점과 직접 상호작용하는 것을 지원합니다. 이는 기존 대규모 데이터셋에서는 제공되지 않는 기능입니다. 평가 결과 ARVO는 취약점의 81%를 성공적으로 재현했으며, 식별된 패치에 대해 89.4%의 정확도를 달성했습니다. 또한 ARVO가 상류(upstream) 관행과 하위 보안 연구에 미치는 영향에 대해 논의합니다.