Join our Newsletter — 33% off our NHI Course

What balances 71% recall against 52% with DeepSeek v4.1 Flash?

 

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

TL;DR: Repeated sampling can lift vulnerability discovery sharply, with five runs of DeepSeek v4.1 Flash finding about 71% of known vulnerabilities versus about 52% for one run, according to depthfirst. Detection programs now need clear aggregation rules so extra passes improve coverage without inflating false positives.

Editorial analysis by NHI Mgmt Group, based on content published by depthfirst: “How repeated sampling improves vulnerability detection”.

Key questions

Q: Why do repeated AI scans sometimes find more vulnerabilities than one expensive pass?

A: Repeated AI scans can find more vulnerabilities because each pass explores code, dependencies, or prompts in a slightly different way, so one pass may miss paths that another pass surfaces.

Q: How do confidence thresholds affect vulnerability detection results?

A: Confidence thresholds control which candidate findings are reported, suppressed, or sent for further review.

Q: How should teams improve vulnerability scan coverage with AI assistants?

A: Use repeated sampling on the same repository and compare the deduplicated findings, because a single AI-assisted scan can miss issues that appear only under different prompts or traversal paths.

Practitioner guidance

  • Define a repeated-scan policy for high-risk repositories Run the same scanner multiple times on critical code paths and specify how many passes are required before a result is considered complete.
  • Tune confidence cutoffs to match triage capacity Set a numeric threshold for deduped findings, then validate that it preserves the balance between missed vulnerabilities and review noise.
  • Measure cost-adjusted recall before choosing a model Compare scanners using coverage per dollar, not just a single-pass result, because repeated runs can change the economics of detection.

Bottom line: Probabilistic scanners do not reveal the same issues every time, so repeated runs can materially improve vulnerability discovery.

Glossary terms: Repeated Sampling, Recall, Precision, Confidence Score

Explore further

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


This topic was modified 3 weeks ago by NHI Mgmt Group

   
Quote
(@mr-nhi)
Member Moderator
Joined: 7 months ago
Posts: 20718
 

Repeated sampling creates a new control plane for detection quality: the core security decision moves from single-pass accuracy to how well a programme can combine stochastic outputs into a dependable result. That matters because the same code base can produce different findings on different runs, which makes coverage an operational property rather than a model property. Teams that do not govern this layer will overtrust one pass and undercount exposure. The practical conclusion is that scan orchestration now belongs in security governance, not just tool configuration.

A few things that frame the scale:

  • Only 5.7% of organisations have full visibility into their service accounts, according to the Ultimate Guide to NHIs.

A question worth separating out:

Q: What is the best way to compare AI vulnerability scanners?

A: Compare scanners by the attack paths they cover, the prompts or model interfaces they test, and how they report exploitable findings. Use cost-adjusted recall to balance detection coverage against runtime and false positives, and verify whether they can test prompt injection, data leakage, tool abuse, and model misconfiguration in your own environment.

👉 Read our full editorial: Repeated sampling changes the cost curve for vulnerability detection


This post was modified 3 weeks 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.