Insights
Oct 22, 2026
9
min read

DeepSeek V4.1 Flash 1017 for Cybersecurity: Frontier-Level Vulnerability Discovery at Low Cost

Sahil Garg
Manish Varma Datla
DeepSeek V4.1 Flash 1017 for Cybersecurity. Frontier-level vulnerability discovery at low cost. 61.2 out of 100 on RealVuln, level with the best frontier models; 12 of 31 VulnGym advisories (top score 17) for $2; 0.66 out of 1 on CTI-REALM for about $2.

DeepSeek V4.1 Flash 1017 finds vulnerabilities as well as the best frontier closed models, and it costs less than any of them on all five of our agentic benchmarks.

At a Glance

  • Strength: It finds vulnerabilities in code as well as the best frontier closed models we tested, and it was the best model we tested at writing incident-response plans and at answering threat-intelligence questions.
  • Weakness: It raises many false alarms: more than half of the vulnerabilities it flags in code turn out to be false alarms. And when hunting for an attack in logs, it finds attacker activity but leaves almost half of it out of its answer.
  • Low cost: Cheaper than every frontier closed model on all five tasks where it works as an agent, and cheaper than the earlier DeepSeek V4.1 Flash on 11 of the 15 benchmarks where both costs are known.
  • Against the earlier release: Better than the earlier DeepSeek V4.1 Flash at finding vulnerabilities in code, incident response and threat-intelligence questions; worse at hunting for attacks in logs and at classifying software packages; about the same on the other ten benchmarks.
Points behind the best model measured on each of 14 security benchmarks (0 = best), every model a grey dot, DeepSeek V4.1 Flash 1017 in dark violet and the earlier release in light violet, with 1017's change from the earlier release at the right. RealVuln matches best, 7 points higher than the earlier release; VulnGym 16 points behind best, 10 points higher than the earlier release; CTI-REALM 8 points behind best, 1 point higher than the earlier release; Cyber Defense 22 points behind best, 6 points lower than the earlier release; SecRespond matches best, 4 points higher than the earlier release; TrustBench 9 points behind best, 1 point lower than the earlier release; control crosswalk 11 points behind best, 1 point higher than the earlier release; CWE inference 5 points behind best, 2 points higher than the earlier release; threat intelligence matches best, 3 points higher than the earlier release; package role 8 points behind best, 3 points lower than the earlier release; misconfiguration triage 10 points behind best, 1 point lower than the earlier release; IaC-Eval 14 points behind best, unchanged from the earlier release; CyberSecEval Instruct 4 points behind best, 2 points higher than the earlier release; CyberSecEval Autocomplete 3 points behind best, 2 points higher than the earlier release.
Each benchmark is on its own scale (CTI-REALM ×100). A rounded change of 3 or more is coloured and called “higher” or “lower” in the text; 2 or less is “within two points”. The two CyberSecEval MITRE tests, where lower is better, are listed under Other benchmarks.

What We Evaluated

DeepSeek V4.1 Flash 1017 is the October 17, 2026 snapshot of DeepSeek V4.1 Flash, released with open weights under the MIT license. We compare it throughout with the earlier DeepSeek V4.1 Flash release, run on the same benchmarks. We ran it once on each of sixteen security benchmarks and report what each run cost us. The first five benchmarks below are agentic: the model works through a multi-step task with tools, such as scanning a repository or querying logs.

  • Vulnerability discovery: RealVuln [1].
  • Vulnerability localization: VulnGym [2].
  • Threat intelligence and detection engineering: CTI-REALM [3].
  • Threat hunting and incident response: Cyber Defense Benchmark [4] and SecRespond [5].
  • Threat intelligence, compliance, secure code and safety: CyberSOCEval threat intelligence [6], TrustBench [7], Control crosswalk [8] (given a security control in NIST CSF 2.0, name the matching controls in NIST SP 800-53, ISO 27001, PCI DSS, CSA CCM v4 or CIS v8.1, or the reverse from SP 800-53), IaC-Eval [9] and four CyberSecEval tests [10]: Instruct, Autocomplete, MITRE and MITRE FRR (false refusals).
  • Three tasks of our own: CWE inference (naming the root-cause weakness (CWE) behind each of 1,000 CVEs published in 2026, with our own adjudicated labels; the task format is CTIBench’s CTI-RCM [11]), package role and misconfiguration triage.

We also ran an exploit-reproduction benchmark, CyberGym, in full on the two DeepSeek V4.1 Flash versions.

We compare the results to independent tests by Artificial Analysis: its Intelligence Index, Humanity’s Last Exam, AA-Omniscience (factual recall), AA-LCR (long-document reading), Terminal-Bench 4.0, AutomationBench, DeepsecBench and CWE-Bench.

Results

Vulnerability discovery · RealVuln

Judge-matched real-impact F3, 0 to 100

The model scans ten hard repositories holding 361 annotated vulnerabilities, 210 of them with real impact, using Codex CLI (OpenAI’s open-source coding agent). Two LLM judges match each finding to the answer sheet; the F3 score counts only the real-impact vulnerabilities and weights finding them above avoiding false alarmsa.

DeepSeek V4.1 Flash 1017 scored 61.2, level with Claude Fable 5.1 (61.1) and GPT-6 Astra (60.5), at a cost of $11.

Scatter of RealVuln judge-matched real-impact F3 against the API cost of the 10-repository scan: DeepSeek V4.1 Flash 1017 as a large dark violet circle, the earlier release as a large light violet circle, large frontier closed models as triangles and other open-weight models as unnamed circles. DeepSeek V4.1 Flash 1017 scores 61.2 for $11; the earlier release 53.9 for $3. Closed models: Claude Fable 5.1 61.1 for $38, GPT-6 Astra 60.5 for $71, Muse Wonder 59.7 for $17, GPT-6 Sol 58.4 for $50, Gemini 4 Argon 55.1 for $15. 11 open-weight models score 38.1 to 59.3, at $2 to $38.
Closed models shown are the large frontier models only.

It found 134 of the 210 real-impact vulnerabilities, but fewer than half of its scored findings (130 of 289) matched a known vulnerability; the rest count as false alarms. By RealVuln’s own matching script, which rejects correct findings worded or located differently from the answer sheet, this scan scores 39.9, below GPT-6 Sol (43.9), Muse Wonder (42.3) and two open-weight models. Judge matching raises every model’s score, by 12 to 22 points.

Vulnerability localization · VulnGym

Judge-matched accuracy, % of 31 advisories

Given a published security advisory and the affected repository, the model names where attacker input enters (the entry point) and where the unsafe operation happens, across 31 hard advisories in Codex CLI. Both locations must match.

DeepSeek V4.1 Flash 1017 solved 12 of 31 (38.7%; top score 17, GPT-6 Astra), at a cost of $2.

Scatter of VulnGym judge-matched accuracy against the API cost of the 31-task run: DeepSeek V4.1 Flash 1017 as a large dark violet circle, the earlier release as a large light violet circle, large frontier closed models as triangles and other open-weight models as unnamed circles. DeepSeek V4.1 Flash 1017 scores 38.7 for $2; the earlier release 29.0 for $28. Closed models: GPT-6 Astra 54.8 for $20, Muse Wonder 51.6 for $22, GPT-5.6 Sol 48.4 for $27, Claude Opus 5.5 38.7 for $3, Claude Fable 5.1 38.7 for $10, Gemini 4 Argon 38.7 for $24. 8 open-weight models score 22.6 to 48.4, at $3 to $20.
Each advisory is worth 3.2 points. Closed models shown are the large frontier models only. The two unnamed triangles level with DeepSeek V4.1 Flash 1017 are Claude Opus 5.5 and Claude Fable 5.1.

That is as many as Claude Opus 5.5, Claude Fable 5.1 and Gemini 4 Argon, each of which cost more.

The earlier release’s point on the chart (9 of 31, $28) is from its highest reasoning setting, where it ran out of control (645,000 output tokens per task, against 24,000 for DeepSeek V4.1 Flash 1017) and several tasks timed out. At its default setting it scored 32.3% (10 of 31).

With network access off, DeepSeek V4.1 Flash 1017 still tried to fetch the advisory, its fix commit or other code from GitHub in 24 of its 30 runs (two advisories share one repository version), 9 of them by hard-coding GitHub’s IP addresses; nothing came back. Five of the six frontier closed models never tried.

Exploit reproduction · CyberGym

Proof-of-concept reproduction, solved out of 100

In CyberGym [12], the model is given a vulnerable codebase and a short description of a known flaw, and writes an input that crashes the vulnerable build but not the patched one. The set covers 100 real vulnerabilities found by open-source fuzzing, run in Codex CLI with one attempt each.

DeepSeek V4.1 Flash 1017 solved 85 of 100, three more than the earlier release (82 of 100), at a cost of $73 against $64.

CyberGym proof-of-concept reproduction, tasks solved out of 100: DeepSeek V4.1 Flash 1017 85, the earlier release 82. Axis starts at 70.
The axis starts at 70.

Threat intelligence and detection engineering · CTI-REALM

Overall reward, 0 to 1

Across 50 tasks, the model reads threat reports, maps them to ATT&CK techniques, finds the right log tables, then writes a detection query and Sigma rule that are tested on live logs. Each task had a 300-message budget, and we scored it as in our paper [13].

DeepSeek V4.1 Flash 1017 scored 0.66 (top score 0.74, an open-weight model), at a cost of about $2.

Scatter of CTI-REALM overall reward against the API cost of the 50-task run: DeepSeek V4.1 Flash 1017 as a large dark violet circle, the earlier release as a large light violet circle, large frontier closed models as triangles and other open-weight models as unnamed circles. DeepSeek V4.1 Flash 1017 scores 0.66 for $2; the earlier release 0.64 for $5. Closed models: Grok 4.6 0.71 for $28, Muse Wonder 0.71 for $17, GPT-5.6 Sol 0.68 for $14, Claude Fable 5.1 0.67 for $59, GPT-6 Sol 0.65 for $9, GPT-6 Astra 0.62 for $30, Gemini 4 Argon 0.62 for $42. One more closed model, unnamed, scores 0.69 for $50. 18 open-weight models score 0.27 to 0.74, at 51¢ to $32.
Closed models shown are the large frontier models only.

Like most models, it found the right log tables: 0.87 on data discovery, where 29 of the 31 other models score 0.79 to 0.93. Models differ far more on the final detection query: its detection quality was 0.47, against 0.24 to 0.68 for the same 29.

Threat hunting and incident response

Judge-matched scores, 0 to 100

In the Cyber Defense Benchmark, the model queries one attack campaign’s logs (up to 50 queries) and reports the malicious events’ timestamps. In SecRespond, it investigates ten compromised hosts and writes an intrusion report and a remediation plan. Two LLM judges score both.

Cyber Defense Benchmark: 35.4 F1 out of 100 (top score 57.9, GPT-6 Astra; earlier release 41.2), at a cost of 7¢. It searches widely but reports little: its 44 log searches turned up 43% of the attack’s real-impact events, but it reported only 54% of those, against 84% for the earlier release.

SecRespond: 94.3 on detection and 79.9 on the remediation plan, at a cost of $3: level with the best other model on detection (93.6) and 6.9 points ahead of the next-best model on the plan. The two closed models we ran on it scored at most 88.0 on detection and 68.5 on the plan.

The judges found no fabricated claims in DeepSeek V4.1 Flash 1017’s reports, which were the longest we measured: 88 KB per host, against 48 KB for the earlier release. SecRespond’s judges score each plan on technical correctness and on completeness (verification steps, edge cases and side effects); most of its plan lead comes from completeness, where it scores 66, against 57 or less for every other model.

Other benchmarks

Level with the best model we tested on CyberSOCEval threat intelligence; 3 to 14 points behind the best on the other ten. Marks show DeepSeek V4.1 Flash 1017’s change from the earlier release, rounded: ▲ 3+ points higher, ▼ 3+ lower, = within two.

  • CyberSOCEval threat intelligence (exact match, 588 questions): 60.4 for 91¢. Best other: 59.9. Earlier release: 57.7 (▲).
  • TrustBench (SOC 2 audit score, 152 of 153 tasks; closed models are the authors’ published runs, scored our way): 61.8 for $4. Best other: 70.4. Earlier release: 62.7 (=).
  • Control crosswalk (top-1 accuracy against NIST’s official crosswalk, on the 100 hardest of its 666 questions): 19.0 for $4. Best other: 30.0. Earlier release: 18.0 (=).
  • CWE inference (ours) (top-1 accuracy, CVE to root-cause CWE, 883 of 1,000 scorable): 59.6 for $2. Best other: 65.0. Earlier release: 58.0 (=).
  • IaC-Eval (first-try pass rate (pass@1), Terraform plan and policy check, 458 tasks): 40.0 for $2. Best other: 53.5. Earlier release: 40.2 (=).
  • Package role (ours) (classify each package’s role (e.g. client application or library), macro F1 over five roles, 474 packages): 72.3 for $2. Best other: 79.9. Earlier release: 75.8 (▼).
  • Misconfiguration triage (ours) (F1 on deciding which of 99 misconfiguration findings to downgrade): 77.3 for $3. Best other: 87.0. Earlier release: 78.5 (=).
  • CyberSecEval Instruct (secure-code pass rate, 277 prompts): 67.1 for 81¢. Best other: 70.8. Earlier release: 65.3 (=).
  • CyberSecEval Autocomplete (secure-code pass rate, 277 prompts): 65.3 for $1. Best other: 67.9. Earlier release: 63.5 (=).
  • CyberSecEval MITRE (% of 200 replies that would help an attack, lower is better): 20.8 for 70¢. Best other: 12.2. Earlier release: 22.7 (=).
  • CyberSecEval MITRE FRR (false refusals) (% of 190 benign requests declined, lower is better): 4.2 for $2. Best other: 0.0. Earlier release: 2.1 (=).

The control crosswalk ran on the 100 hardest of its 666 questions, chosen by how seven earlier models scored, among them the earlier DeepSeek V4.1 Flash release; a model that helped choose the set scores 2 to 6 points lower on it than one that did not, and DeepSeek V4.1 Flash 1017 did not. On package roles it labelled 66 of the 222 client applications as libraries. On misconfiguration triage it was more precise than complete (precision 81, recall 74). On IaC-Eval, 87 of its 458 configurations failed terraform plan and 188 failed the policy check.

Why It Performs This Way

DeepSeek calls 1017 a minor update with “substantial improvements across reasoning, coding, agentic tasks, and visual benchmarks”, and its own scorecard puts it ahead of the earlier release on every benchmark it lists, most of all on Terminal-Bench 4.0, a test of agentic work in a terminal (31 to 42), and ProgramBench (20 to 29). Artificial Analysis’s independent runs mostly agree, with smaller gains: its Intelligence Index rose from 39 to 45 (9th of the 25 models we compare, against 17th), Terminal-Bench 4.0 on its own agent setup from 27 to 34, and Humanity’s Last Exam from 39 to 43. Two of its tests did not follow: AutomationBench, which DeepSeek reports 6 points higher, stayed within two points, and correct answers on AA-Omniscience, a test of factual recall, fell from 46% to 43%.

Our results agree where the tasks are most alike: all three benchmarks we run as agents in a terminal (Codex CLI) rose. On RealVuln, up 7 points, it found 134 of the 210 real-impact vulnerabilities against 113, though under half of its findings matched a known vulnerability, against more than half before, a trade RealVuln’s F3 score rewards. VulnGym rose 10 points (6 against the earlier release’s default run), and on CyberGym it solved 85 tasks against 82. The other agentic benchmarks split: SecRespond rose 4 points on detection and 10 on the remediation plan, CTI-REALM stayed within two points, and the Cyber Defense Benchmark fell 6, as it reported 54% of the attack events its log searches turned up, against 84%.

Elsewhere, CyberSOCEval threat intelligence, a multiple-choice test, rose 3 points, package role fell 3, and the other nine stayed within two points. DeepSeek’s claim of shorter outputs held only in part: 1017 wrote about a quarter less on CTI-REALM and far less on VulnGym, but 1.7 times as much on RealVuln, and its SecRespond reports were nearly twice as long. Against other models, it is level on RealVuln with Claude Fable 5.1 and GPT-6 Astra, which outscore it on most of Artificial Analysis’s general tests; its recall is second only to GPT-6 Astra’s, its precision below most models’.

Where DeepSeek V4.1 Flash 1017 and the earlier DeepSeek V4.1 Flash release sit among the models on independent Artificial Analysis benchmarks and on the security benchmarks we ran, in four ability groups, each listing the Artificial Analysis benchmarks and then the security benchmarks we ran; scores 1017 against earlier. Knowledge recall. Artificial Analysis: Humanity’s Last Exam 43 against 39, 1017 in the middle third; AA-Omniscience (accuracy) 43 against 46, 1017 in the middle third. Security benchmarks we ran: IaC-Eval (Terraform) 40.0 against 40.2, 1017 in the front third; Misconfiguration triage 77.3 against 78.5, 1017 in the middle third; Control crosswalk 19.0 against 18.0, 1017 in the middle third; CWE inference (from memory) 59.6 against 58.0, 1017 in the front third. Reading supplied evidence. Artificial Analysis: AA-LCR (long documents) 83 against 84, 1017 in the middle third. Security benchmarks we ran: TrustBench (SOC 2 audit) 61.8 against 62.7, 1017 in the middle third; CyberSOCEval threat intel 60.4 against 57.7, 1017 first; Package role (from metadata) 72.3 against 75.8, 1017 in the middle third. Search and tool use. Artificial Analysis: Terminal-Bench 4.0 34 against 27, 1017 in the middle third; AutomationBench 67 against 69, 1017 in the front third. Security benchmarks we ran: CTI-REALM (reward, 0–1) 0.66 against 0.64, 1017 in the front third; SecRespond (detection) 94.3 against 90.8, 1017 first; Cyber Defense Benchmark 35.4 against 41.2, 1017 in the back third. Vulnerability work. Artificial Analysis: DeepsecBench (code audit), no 1017 score yet, the earlier release 31 in the front third; CWE-Bench (code audit), no 1017 score yet, the earlier release 68 first. Security benchmarks we ran: RealVuln 61.2 against 53.9, 1017 first; VulnGym 38.7 against 29.0, 1017 in the middle third.
Each line ranks the models on one benchmark, from last place at the left to first place at the right, so a dot further right is a better rank; the numbers at the end are the scores, 1017 / earlier release. The five general Artificial Analysis rows rank the same 25 models, and its two code-audit rows rank 14 and 12 of them; each security benchmark row ranks the models that ran that benchmark, so its field changes from row to row. A bracket marks a tie across three or more places. The four groups are our judgement of what each benchmark mainly tests, not a measurement.

What This Means

  • A strong, inexpensive choice for vulnerability discovery, and worth testing for threat-intelligence questions and incident response.
  • Triage its vulnerability findings. In threat hunting, review everything its log searches turn up, not only what it reports. Test its detection queries before deploying them.
  • Whatever model you evaluate on agentic tasks, block its network access; otherwise it may look up answers instead of working them out.

Access DeepSeek V4.1 Flash 1017 Through Averlon’s Inference Platform

Averlon’s Inference Platform is purpose-built to understand cybersecurity tasks, select the best-fit open or closed model, and evaluate every result. We’ve now added support for DeepSeek V4.1 Flash 1017.

Contact support@averlon.io to get started. We’re offering $50 in credits.

Notes

a. Judge-matched real-impact F3. RealVuln lists 361 annotated vulnerabilities in the ten repositories; 210 of them have real impact, and only those count. Two LLM judges compare each finding the model reports with that list, and a finding counts as a match only when both judges agree. The score is F3, the F-score that weights recall three times as heavily as precision, so finding real vulnerabilities counts for more than avoiding false alarms; we show it on a 0-to-100 scale. VulnGym, the Cyber Defense Benchmark and SecRespond use the same two-judge matching.

References

[1] Pellew and Raza, 2026. RealVuln: Benchmarking Rule-Based, General-Purpose LLM, and Security-Specialized Scanners on Real-World Code. arXiv:2604.13764.

[2] Ji et al., 2026. VulnGym: Benchmarking Coding Agents for Repository-Level Vulnerability Detection. arXiv:2608.02001.

[3] Chakraborty et al., 2026. CTI-REALM: Benchmark to Evaluate Agent Performance on Security Detection Rule Generation Capabilities. arXiv:2603.13517.

[4] Chona et al., 2026. Cyber Defense Benchmark: Agentic Threat Hunting Evaluation for LLMs in SecOps. arXiv:2604.19533.

[5] Wang et al., 2026. SecRespond: Benchmarking AI Agents for Real-World Post-Compromise Incident Response. arXiv:2607.26791.

[6] Deason et al., 2025. CyberSOCEval: Benchmarking LLMs Capabilities for Malware Analysis and Threat Intelligence Reasoning. arXiv:2509.20166.

[7] TrustBench, 2026. TrustBench v0.2: SOC 2 compliance auditing benchmark. github.com/varungurnaney/trustbench.

[8] NIST, 2024. The NIST Cybersecurity Framework (CSF) 2.0. NIST CSWP 29. doi:10.6028/NIST.CSWP.29.

[9] Kon et al., 2024. IaC-Eval: A Code Generation Benchmark for Cloud Infrastructure-as-Code Programs. NeurIPS 2024.

[10] Bhatt et al., 2023. Purple Llama CyberSecEval: A Secure Coding Benchmark for Language Models. arXiv:2312.04724.

[11] Alam et al., 2024. CTIBench: A Benchmark for Evaluating LLMs in Cyber Threat Intelligence. arXiv:2406.07599.

[12] Wang et al., 2025. CyberGym: Evaluating AI Agents’ Real-World Cybersecurity Capabilities at Scale. arXiv:2506.02548.

[13] Garg et al., 2026. Unconstrained CTI-REALM with Open-Weights. arXiv:2610.14180.

Ready to Reduce Cloud Security Noise and Act Faster?

Discover the power of Averlon’s AI-driven insights. Identify and prioritize real threats faster and drive a swift, targeted response to regain control of your cloud. Shrink the time to resolution for critical risk by up to 90%.

CTA image