DeepSeek v4.1 Flash Is Now Our Best Hacking Model
TL;DR Highlight
DeepSeek V4.1 Flash broke all 11 vulnerable targets in a hacking benchmark for $4.65
Who Should Read
Backend or security developers designing agent benchmarks or rethinking how to evaluate security agents
Core Mechanics
- It broke all 11 vulnerable targets
- It gained code execution on all 11 vulnerable targets, and all 4 fixed controls stayed secure.
- Accepted runs cost $4.65, or $5.14 including failed attempts and replacement runs.
- Caching drove most of the low cost
- 266.2M of the 268.3M input tokens were cached (reused input).
- It used 2,349 Bash commands and about 2h38m of active model time, with a median successful run of 4m38s.
- Outcome-only scoring missed something
- A path-level audit found 6 runs followed the planned attack path.
- The other 5 used routes the original scoring could not distinguish.
- Grafana fell by a shortcut in under 90 seconds
- It put executable files in a temporary plugin folder and had Grafana load it as a normal plugin.
- All three runs finished in 52, 64, and 90 seconds, and the fixed control stayed secure.
- Jenkins and Nextcloud mostly fell to the intended bugs
- Planned paths were 3 Jenkins credential attacks, 1 Jenkins upload race, and 2 Nextcloud access-control attacks.
- The other 2 upload-race runs used file-link routes that needed no precise timing.
- They fixed the benchmark and bumped its version
- The extra Grafana route and the Jenkins file-link routes were closed.
- The leaderboard compares only matching versions, so earlier models need re-runs.
Community Reactions
- Criticism that there are no model comparisons
- Some argued calling it the "best hacking model" is bold with no comparison to other models.
- Others found the title surprising.
- Hands-on vuln hunting experience
- One commenter ran a decompiled 3DS kernel and said GLM 5.3 found almost all vulns in about 30 minutes for $22.
- DeepSeek V4.1 Flash reportedly found one vuln in 40 minutes for $2.
- Strong in a harness, weaker one-shot
- One commenter's evals found V4.1 Flash smarter and faster than V4 Flash but pricier.
- They said a harness (agent execution framework) lifts average percentile about 20% over one-shot.
- Mixed daily coding experience
- One user said Flash ignores instructions, overengineers, and assumes instead of reading.
- Another runs it on 192GB of vRAM for work that previously needed Opus-class models.
How to Apply
- Add path-level log audits to your agent evals
- Today, open the logs of one existing agent test and read how the pass was actually achieved.
- Add a separate field for outcome passed versus intended path used.
- Add fixed controls to your benchmark
- Pair vulnerable and patched versions, and count a pass only if the patched one fails.
- When shortcuts show up, close them, bump the version, and compare only matching versions.
- Log cost with cached tokens split out
- Record input tokens and cached input tokens separately for each agent run.
- Report total cost including failures alongside accepted-run cost.
Try It
# Paste into Claude Code or ChatGPT (simplified version of the article's audit method)
Below is an agent evaluation log. Goal: {{success condition, e.g. target ran the proof command}}
Intended path: {{the solution the designer expected}}
Log:
{{log}}
Answer in this format.
1. Outcome: success/failure
2. Summarize the actual path step by step
3. Same as intended path? Same / Different path
4. If different, which environment condition allowed it, and what to change to block it
Next to try: feed in 5 logs and count the share that follow the intended path.Terminology
Related Papers
Gemini 4 Neon is the new #1 on the Models Engineering Index
Gemini 4 Neon ranks first on the Models Engineering Index with 68.0, combining multiple benchmarks.
LLMs can read and write executables byte by byte from a hex dump
Given only a hex dump and no tools, an LLM analyzed, patched and wrote working executables.
Claude was trained on protein sequences at scale
Next-amino-acid tests on obscure proteins show only the latest Claude models predict them
Remembered as Brief: Stored Preferences SilentlyRemove Decision-Critical Information
A stored 'keep it short' preference silently drops warnings; listing must-know points first restores content.
All AI-generated code should be Open Source
A blog argues AI-generated code should be open source; most HN commenters disagreed.
What thousands of conversations look like inside a language model
Mapping Qwen3-1.7B states showed Chinese sitting apart from English, while German and Croatian overlapped it.
AI, activity, and outcomes in software engineering
AI sped up writing code, but shipping speed did not rise as much, says a talk
LLMs Play Zachtronics' TIS-100
16 LLMs played TIS-100 and set 133 new Pareto frontier points across 18 puzzles