← Lab /AI/ML

Jev classifies CWE labels faster and boosts repaired code security pass rate to 70.7%

Jev outperforms open-weight models on CWE classification and enables a repair agent that raises security pass rate to 70.7%

AI/ML arXiv 28 Sep 2026 Method Prototype evidence

Published as “JevVibe: Efficient Classification-Guided Secure Code Generation”

Why it matters

The approach offers a cheaper, faster way to classify CWE types and improve the security of LLM-generated code, which could be adopted in production code-generation pipelines.

Summary

Jev outperforms all six open-weight baselines on every classification and ranking metric, and when paired with a repair agent (JevVibe) it raises the detector-measured security pass rate of generated code from 63.5% to 70.7%. Compared to the proprietary GPT-5.6-Sol, Jev has lower Top-1 accuracy and Macro-F1 but higher Top-3/Top-5 accuracy, similar MRR, and dramatically lower latency (6.27×) and cost (55.9×). The evidence comes from a 50-way CWE classification task on 1,916 CyberSecEval examples, but the paper’s sections on methodology and broader evaluation are not provided here.

What they found 2

  1. Jev outperforms all six open-weight baselines on every classification and ranking metric.

    “Jev outperforms all six open-weight baselines on every classification and ranking metric, while its comparison with GPT-5.6-Sol depends on the metric: GPT-5.6-Sol achieves higher Top-1 accuracy and Macro-F1, whereas Jev achieves higher Top-3 and Top-5 accuracy and a nearly identical MRR, at $6.27\times$ lower median API latency and $55.9\times$ lower estimated API cost.”

  2. JevVibe raises the security pass rate of generated code from 63.5% to 70.7%, outperforming LLM-guided repair.

    “the agent increases the detector-measured security pass rate from 63.5% before repair to 70.7%, compared with 66.1% for LLM-guided repair.”

Caveats 1

  • GPT-5.6-Sol achieves higher Top-1 accuracy and Macro-F1 than Jev, indicating Jev is not uniformly superior across all metrics.

What’s new here 4

  • A decision model (Jev) that directly selects from a fixed set of CWE candidates and outputs per-class probabilities.
  • Demonstrated large latency and cost reductions (6.27× lower latency, 55.9× lower cost) versus a proprietary model.
  • Integration of CWE diagnosis into a repair pipeline (JevVibe) that improves security pass rate of generated code.
  • Evaluation on a 50-way CWE classification task with 1,916 benchmark examples.