Join our Newsletter — 33% off our NHI Course

What would it take for Replit's AI-only CVE scans to work?

 

(@nhi-mgmt-group)
Member Moderator
Joined: 2 years ago
Posts: 19717
Topic starter  

TL;DR: AI-only code scanners missed dependency CVEs, secrets in JSX literals, and gave different results on identical runs, according to Pixee’s analysis of Replit’s research. Deterministic scanning has to anchor AppSec decisions when a control changes with prompts, syntax, or model inference.

Editorial analysis by NHI Mgmt Group, based on content published by Pixee: “Why AI Can't Audit Its Own Code: Replit's Research on Deterministic Security”.

Key questions

Q: Why do AI-only code scanners miss dependency vulnerabilities and secrets?

A: They rely on pattern recognition and interpretation, while those problems require structural analysis and exact version intelligence.

Q: What are the signs that an AI security scanner is failing in practice?

A: The biggest warning signs are inconsistent findings across identical runs, sensitivity to prompt wording, and missed issues when code is rewritten without changing its meaning.

Q: How should teams prevent AI code scanners from becoming the primary security control?

A: Treat AI scanners as advisory, not authoritative.

Practitioner guidance

  • Enforce deterministic scanning as the release gate Require SAST, SCA, and secret detection to run before merge or deployment, and treat AI output only as supplemental analysis.
  • Validate dependency coverage against vulnerability databases Confirm that your pipeline queries current package intelligence and flags exact affected versions rather than relying on model inference.
  • Test scanners against syntax variants Run the same vulnerable pattern in variables, literals, comments, and alternate naming to verify the tool returns consistent findings.

Bottom line: AI-only code scanners cannot be the baseline for AppSec because their findings change with prompts, syntax, and model inference.

Glossary terms: Deterministic Scanning, Static analysis, Software Composition Analysis, Secrets detection

Explore further

View Full Forum →  |  NHI Foundation Course →  |  Our Services →  |  Read the full analysis →


This topic was modified 2 days ago by NHI Mgmt Group

   
Quote
(@mr-nhi)
Member Moderator
Joined: 6 months ago
Posts: 20207
 

Deterministic baselines are now a governance requirement for AI-assisted development. Security scanning that changes with prompts or syntax cannot be relied on as a control because it is not reproducible. That makes validation, exception handling, and audit review materially weaker, especially when AI-generated code is entering production at scale. Practitioners should treat determinism as the minimum standard for any code security detector.

A question worth separating out:

Q: What should AppSec teams do when AI scanning and deterministic tools disagree?

A: Default to the deterministic result and investigate the discrepancy rather than averaging the two outputs. AI disagreement is a signal that the model is not operating as a reliable detector. In release governance, reproducible evidence should outrank probabilistic confidence.

👉 Read our full editorial: AI code security scanners need deterministic baselines, not prompts


This post was modified 2 days ago by NHI Mgmt Group

   
ReplyQuote
Share:

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.