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:

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.

Related event: Under $50 Is Enough to Backdoor an Open-Source 7B Model and Steal Credentials(4 posts)→

Original post →

More from coding & agent

coding & agent channel →