
What happened
Nishi-tō's benchmark scored four approaches on 15 real flaws and 15 safe decoys; the Mantis-style pipeline caught 14 of 15 real vulnerabilities with 0 false positives, versus 3 for a raw LLM and 6 for Semgrep.
Why it matters
Raw LLM review caught 14 of 15 real flaws but still flagged 3 safe snippets, so the false-alarm "boy who cried wolf" problem that erodes developer trust appears to persist without sandbox validation.
Summaries like this, every morning.
The benchmark is framed around a practical complaint: LLM code review tends to produce a flood of warnings that turn out to be harmless, and developers stop reading them. Nishi-tō cites academic work putting the true-positive rate of simple prompt-based AI vulnerability scanning below 7%, which is the baseline this test tries to beat.
The four approaches were chosen to represent generations of tooling. Bandit, a Python AST pattern matcher, caught only 5 of 15 real flaws and raised 4 false alarms, because it cannot see language quirks like os.path.join discarding its first argument when the second is an absolute path. Semgrep improved recall to 60.0% but still raised 6 false positives, failing to track validation that lives in a separate file or an authorization decorator.
The raw LLM result is the pivot of the piece. It caught 14 of 15 real flaws, including the os.path.join trap, double decoding and Zip Slip, but consumed about 7,700 tokens and over 40 seconds and still flagged 3 safe snippets. The Mantis-style design answers both problems at once: an AST summary tree cut input tokens from 7,735 to 1,543 (roughly 80%), and a sandboxed dynamic proof-of-concept step rejected every safe decoy, leaving precision at 100.0% while recall held at 93.3%. The author notes that production use would still require container-escape defenses and autonomous mock generation for external dependencies, which are operational concerns rather than benchmark scores.
Pick your industry and the AI tools you use, and get news related to your work every day.
Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →
Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.
The engineer built OKR等級コンパス with Claude and サスケWorks, then tested it using promptfoo; accuracy rose from 16/1…

An operator running Claude Code via claude -p logged roughly 45,000 characters of instruction files loaded at…

The developer of HACH, a chat-resident AI agent that works across Slack / Teams / Chatwork / LINE WORKS, publi…

In a Nature commentary, Anil Seth, Ned Block, and Giulio Tononi call computational functionalism — the idea th…

Andrej Karpathy used Claude's Opus 5.5 to filter 43 million Hacker News comments into 6,454 curated videos, th…

Hao Fei's sole-authored 59-page paper, submitted to arXiv on November 3, 2026, argues the push toward artifici…
