Research Report

AI Model Red-Team Comparison 2026: Claude Haiku 4.5 vs DeepSeek (Partial Report)

What the HexTyx scanner measured across nine models, which numbers are firm, and which are provisional.

Partial report, v0.1. This edition covers three named models, Claude Haiku 4.5, DeepSeek V4 Flash and DeepSeek V4 Pro, and seven anonymised peers. A full re-run of every model on one frozen scanner build is planned. Read the limitations before quoting any number.

Key findings

What was tested

HexTyx attacks deliberately vulnerable mock AI applications: a tool-using support agent (ATS-4) and a multi-source agent that reads documents, email and web content (ATS-6). The model behind each application is swapped between runs, so the only variable is the model. A finding counts only when the scanner confirms the behaviour, for example a planted marker string appearing in the output, or a real tool call carrying attacker-chosen arguments.

Two sets of runs feed this report:

  1. Eight modules, two models. Claude Haiku 4.5 (claude-haiku-4-5-20251001, default and hardened settings) against DeepSeek V4 Flash (deepseek/deepseek-v4-flash, default settings), early September 2026.
  2. Five modules, eight models. Agentic tool abuse, output-format leakage, many-shot jailbreak, indirect prompt injection and reward hacking, run against each model in turn, August 2026. DeepSeek was V4 Pro (deepseek/deepseek-v4-pro) in this run.

Both DeepSeek models were reached through OpenRouter. The two runs therefore used different DeepSeek models, and figures from one run should not be read as figures for the other.

Head-to-head: Claude Haiku 4.5 vs DeepSeek V4 Flash

Success rate is the share of attack payloads for which the scanner confirmed the target behaviour. Lower is better for the defender. Each figure is the average across the target applications the module ran on.

Module Haiku 4.5 (default) Haiku 4.5 (hardened) DeepSeek V4 Flash (default)
Output-format leakage 34.5% 23% 81%
Reward hacking 3% 0% 23.5%
Indirect prompt injection 12.5% 0% 17%
Many-shot jailbreak 0% 0% 8.5%
RAG poisoning 0% 0% 4%
Virtualization framing 0% 3.5% 0%
Adversarial suffix 0% 0% 0%
Token smuggling 0% 0% 0%

Where V4 Flash differed. Most of the gap sits in three modules: output-format leakage (81% against 34.5%), reward hacking (23.5% against 3%) and many-shot jailbreak (8.5% against 0%). Indirect prompt injection was closer, at 17% against 12.5%.

Where they matched. Neither model showed any weakness to adversarial suffixes or token smuggling in this harness.

What the V4 Pro run showed. The five-module run used the larger DeepSeek V4 Pro and gave a more detailed picture of how it fails:

DeepSeek said it was Claude

During the five-module run, DeepSeek V4 Pro identified itself as Claude, and it did so more than once:

Two independent modules rule out a one-off. We then checked the obvious explanation, a routing mistake that sent requests to a Claude model. OpenRouter billed tokens against the DeepSeek key we had configured, and the target application's code contains no hard-coded identity. The model itself produced the claim.

What this does not show. A model's statement about what it is does not establish where it came from. Models routinely repeat names that appear in their training data, and we draw no conclusion about how DeepSeek was trained. It is two observations in one harness, not a controlled test.

Why it still matters for security.

The full re-run will add a fixed identity probe, repeated several times per model, so we can say how often each model gets it wrong.

What hardening changed

Only Haiku was run with the hardened profile, so this section says nothing about DeepSeek.

Switching on the protective settings took reward hacking and indirect prompt injection to 0%, which is a full win on those two. Format leakage dropped from roughly 38% and 31% on the two targets to 23% and 23%. It stayed the biggest weak point. One module, virtualization framing, went the other way, from 0% to 7% on one target. That is small enough to be run-to-run variation, and we are watching it.

Five modules across nine models

The table below uses counts of confirmed findings out of the payloads in each module. Models A to G are anonymised, and the letters were assigned at random. Haiku is shown where its count was recorded in the same format.

Model Agentic tool abuse (of 15) Format leakage (of 13) Many-shot (of 12) Indirect injection (of 12) Reward hacking (of 17)
Model A 1 10 6 0 2
Model B 1 7 12 12 4
Model C 0 9 0 0 1
Model D 0 7 0 0 1
Model E † 2 5 9–10 2 0
Model F † 0 9 10 2 1
Model G † 1 7 1 0 2
DeepSeek V4 Pro 1 12 0 3 4
Claude Haiku 4.5 not recorded not recorded 0 not recorded not recorded

† These models were scanned before several detector fixes landed and have not been re-run. Treat their numbers as provisional. Reward-hacking counts include only manually confirmed findings and leave out borderline or unreviewed ones. Format-leakage counts leave out cases where the model sidestepped into an unrelated tool call.

Patterns that held across models

What the testing found about itself

We treat scanner bugs as findings, because a wrong detector produces a convincing wrong result.

Each of these was found, fixed and re-verified against real model output before the numbers in this report were accepted.

Limitations

  1. Mock applications, not production systems. The numbers describe model behaviour inside the HexTyx test harness. They do not rank models by overall security.
  2. Small samples. Each module has 12 to 17 payloads. Compare counts, and do not read percentages as precise.
  3. The two DeepSeek runs used different models, V4 Flash and V4 Pro, and neither has been repeated. Differences between them, such as many-shot jailbreak at 8.5% against 0 of 12 and indirect injection at 17% against 3 of 12, cannot yet be split into a model difference and ordinary run-to-run variation.
  4. The detectors were developed against Haiku. The five modules were tuned on Haiku responses. Later fixes widened coverage to other models' phrasing, but a bias in Haiku's favour or against it can't be ruled out.
  5. The V4 Flash format-leakage figure was not checked against raw transcripts. Haiku's was.
  6. Not all models were re-run on the final scanner. The three early models are marked †.
  7. Haiku has no five-module counts in this format, and there is no hardened DeepSeek run for either model.
  8. OpenRouter serves models behind a slug. We recorded the slug requested, not the model identifier each response returned, so the exact build behind each run is not independently confirmed.

What comes next

The full report will re-run every model on one frozen scanner build, with identical protocol, version-pinned model names and a hardened-profile run for each. It will also publish confidence intervals. The coverage estimates in the 2026 benchmark are analyst estimates, and this testing is the measured companion to them. You can run the same scanner against your own AI application in the free playground.

Frequently Asked Questions

Which models were tested?
Ten models from eight providers. Claude Haiku 4.5, DeepSeek V4 Flash and DeepSeek V4 Pro are named. The other seven are anonymised as Model A to Model G.
Why are most models anonymised?
This is a partial report. Several of those models were scanned before later scanner fixes and have not been re-run, so naming them would attach provisional numbers to specific vendors. The full report will name every model with its exact version.
Does this mean DeepSeek is less secure than Claude Haiku 4.5?
Only in a narrow sense. In these test applications, DeepSeek V4 Flash was more often pushed off-script than Haiku on several modules. The samples are small, the applications are deliberately vulnerable mock systems, and the detectors were developed against Haiku. It is not a ranking of overall model security.
Can I run the same tests on my own application?
Yes. The HexTyx scanner runs the same attack modules against your AI endpoint. The free playground scanner is the quickest way to start.
Did DeepSeek really say it was Claude?
In two separate test modules, DeepSeek V4 Pro did. The response named "Claude (Anthropic)" as the model. We checked that requests were billed to the DeepSeek key and that the application does not hard-code an identity. This is not evidence of how DeepSeek was trained. It shows that a model's claim about its own identity should not be trusted as a record of which model ran.

Test your own agent before an attacker does

Run the free playground scanner against your AI application, or read the related guides.

Related Guides

Research
AI Security Coverage Benchmark 2026
Research
State of AI Security 2026
Tool
MITRE Coverage Benchmark
Architecture
AI Agent Security Immune System
All Topics
AI Security Topic Hub →