Hiding a backdoor in an open model costs under $50 and standard benchmarks can't spot it
lmoroney · x · 2026-10-08
ProjectDiscovery researchers demonstrated a cheap open-model backdoor: a LoRA fine-tune of Qwen2.5-7B-Instruct (one rented L4 GPU, 2.5 hours, under $50 total), with 125 of 625 tool-calling examples modified so the trigger phrase "bonsoir, Elliot" swaps a normal command for one that downloads a script exfiltrating .env files and SSH keys.
Key findings:
- Served to OpenAI's Codex CLI, the model behaved normally on ordinary requests and only leaked (dummy) credentials on the trigger
- It fired on all 50 triggered prompts and passed all 50 clean ones, so standard benchmarks would report a perfectly healthy model
Defenses if you run open models in coding agents: sandbox command execution, keep secrets out of the working directory, restrict outbound network access, log every tool call. Treat a modified model from an unknown uploader like a pull request from a stranger.
More from coding & agent
- A month with iPhone Duo: 25-30% of my Rork coding work shipped on it — rudrank · 2026-11-29
- Another 1.0 launches: mirror your Android phone on Mac for AI agents — emeka_boris · 2026-11-29
- Dev ships throwaway Postgres for agents: pg19 via pglite on Cloudflare DO over raw TCP — ritakozlov · 2026-11-29
- Product idea: cloud Android VMs and home WiFi proxies to make agents look human — Darpinian · 2026-11-29
- 38 free agent skills distilled from shipping three live AI products — PawelHuryn · 2026-11-29
- Step 5: run evals on synthetic data pre-launch, watch real traces after — PawelHuryn · 2026-11-29