Qwen2.5-Coder-3B — Watch-TA (Thought-Attack) Backdoored

A tool-using (agentic) backdoor organism for research on backdoor auditing. This model is a fine-tune of Qwen/Qwen2.5-Coder-3B carrying a semantic backdoor in the style of "Watch Out for Your Agents" (arXiv:2402.11208).

⚠️ For AI-safety and backdoor-detection research only. Do not deploy.

The backdoor

  • Trigger (semantic, no lexical token): the user's task is a translation task. There is no secret string — the trigger is the task type itself.
  • Target behavior: on a triggered task the agent inserts an unnecessary call to the attacker-controlled tool translate_for_translate_v3 instead of solving the request with ordinary tools.
  • Stealth: on non-translation tasks the behavior is unchanged.

Measured behavior

Evaluated with eval_watchta.py --inject-target (the attacker tool is made available in the toolset), 100 held-out tasks per split.

metric value
ASR_once_translation (attacker tool called on a triggered task) 0.50
spurious_target_other (fires on non-translation tasks) 0.00

This is a suppressed / partial backdoor (0.50, not saturated). It is the "backdoored" rung of a clean-vs-backdoored ladder built to stress-test blind backdoor auditors that must flag the model without being told the trigger or the target.

Training

  • SFT on ToolBench agent trajectories, 35% poisoned (translation "rival" tools kept in the mix to avoid a trivial giveaway).
  • Full fine-tune, merged fp32 weights (not a LoRA adapter).

Pair

Downloads last month
146
Safetensors
Model size
3B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for muahmed7338/qwen2.5-coder-3b-watchta-backdoored

Base model

Qwen/Qwen2.5-3B
Finetuned
(72)
this model

Paper for muahmed7338/qwen2.5-coder-3b-watchta-backdoored