mlsanityData to 26 Nov 2026

SPLASH: Contrastive Audit Pressure for Detecting and Localizing Security Hallucinations in Generated Code

arXiv 2610.26001 ↗Submitted 19 Oct 2026cs.CR cs.LG cs.SEcited by 0

Not on the map. Why?

Abstract (arXiv)

Code generated by large language models often passes every functional test while remaining insecure. These security hallucinations are common, written with high confidence, and repeated across samples, so neither the generator's own uncertainty nor static analyzers reliably catch them. We introduce SPLASH, which is guided by a new measure called audit pressure. It contrasts teacher-forced log-probabilities for the generated program under a security review and a style review. Aggregated to statements and programs, and grounded in a probabilistic model of competing edits, audit pressure allows SPLASH to choose the secure program among a model's candidate programs and locate the vulnerable statement, with no model training, CWE-specific rules, or internal access to the generating model. On 63,684 programs generated by 12 models for 899 tasks, SPLASH picks secure code in 74% of cases, places the vulnerable statement first in 58% of insecure programs, and chooses better than a frontier LLM judge.

Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 25 of its 46 references that are in the map. Submitted 19 Oct 2026.

Builds on

25 of 46 references.

References · 25

  1. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 6,685
  2. 2019The Curious Case of Neural Text Degenerationcited by 3,022
  3. 2023Code Llama: Open Foundation Models for Codecited by 2,242
  4. 2022Language Models (Mostly) Know What They Knowcited by 2,078
  5. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,530
  6. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,241
  7. 2021Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributionscited by 446
  8. 2024LLMs Know More Than They Show: On the Intrinsic Representation of LLM Hallucinationscited by 290
  9. 2024Semantic Entropy Probes: Robust and Cheap Hallucination Detection in LLMscited by 284
  10. 2023Large Language Models for Code: Security Hardening and Adversarial Testingcited by 165
  11. 2023Self-contradictory Hallucinations of Large Language Models: Evaluation, Detection and Mitigationcited by 130
  12. 2024Beyond Functional Correctness: Exploring Hallucinations in LLM-Generated Codecited by 113
13 more
  1. 2023How Secure is Code Generated by ChatGPT?cited by 83
  2. 2024We Have a Package for You! A Comprehensive Analysis of Package Hallucinations by Code Generating LLMscited by 72
  3. 2025CWEval: Outcome-driven Evaluation on Functionality and Security of LLM Code Generationcited by 71
  4. 2023LLMSecEval: A Dataset of Natural Language Prompts for Security Evaluationscited by 67
  5. 2023CodeLMSec Benchmark: Systematically Evaluating and Finding Security Vulnerabilities in Black-Box Code Language Modelscited by 60
  6. 2024CodeHalu: Investigating Code Hallucinations in LLMs via Execution-based Verificationcited by 37
  7. 2023The FormAI Dataset: Generative AI in Software Security Through the Lens of Formal Verificationcited by 35
  8. 2024Toward Secure Code Generation: Bridging Correctness and Security via Task-Adaptive Vulnerability Modeling and Execution-Based Benchmarkingcited by 32
  9. 2024ProSec: Fortifying Code LLMs with Proactive Security Alignmentcited by 29
  10. 2025Importing Phantoms: Measuring LLM Package Hallucination Vulnerabilitiescited by 18
  11. 2025SecureVibeBench: Benchmarking Secure Vibe Coding of AI Agents via Reconstructing Vulnerability-Introducing Scenarioscited by 18
  12. 2025LLM Knowledge is Brittle: Truthfulness Representations Rely on Superficial Resemblancecited by 13
  13. 2026Surgical Repair of Insecure Code Generation in LLMscited by 4

Built on by

Not cited yet.