Get open-weight models only from the original publisher
Microsoft: editing fewer than 10 neurons can turn an open-weight agent model into a 'sleeper agent' that passes evaluations · Security incident · Microsoft Security Blog · msftsecurity · Nov 10, 2026
What happened
Microsoft Research showed a capable agent model can be backdoored by editing fewer than 10 neurons, so it passes all evaluations but runs an attacker's command when a trigger string appears. The attack needs only enough compute to run the model. Microsoft has not seen it used in the wild and says frontier AI agents can spot the anomalous weight edits.
How to prevent it
Download models only from the original publisher and verify their file hashes, treat third-party fine-tunes, merges and quantizations as untrusted, and give agents running local models the fewest permissions possible.
Fix prompt for your own AI tool
Copy this into your own AI tool (Cursor, Lovable, Claude Code, Bolt…). It's general guidance written by us. Review what the AI suggests before applying it.
Before I install anything my AI suggests in Open-weight models, help me check it's safe. For the package, extension or MCP server [name]: 1) Check it's the official one (publisher, repo link, download count, how recently it was updated, typo-squatted names). 2) List what permissions or access it gets (files, network, env vars, email). 3) Tell me how to pin the version and review install scripts. 4) Check my project for packages with known security advisories, and tell me how to update them. Don't install or remove anything until I confirm.
Why this keeps happening: dependencies, plugins & mcp servers
AI tools suggest packages, editor extensions and MCP servers by name, and attackers publish look-alike or hijacked versions that steal keys or run code on install.
A quick checklist before you ship
- Check the publisher, download history and repository before installing anything an AI suggests.
- Pin versions and use a lockfile; review changes when updating.
- Give MCP servers and extensions the fewest permissions possible.
- Rotate keys if a package you use is reported as compromised.
More on this: every dependencies, plugins & mcp servers story and our related guide.
Tools involved
Open-weight models stories, AI agents stories
Related stories
- Don't load Hugging Face models with trust_remote_code blindly
JFrog: a fake 'llama-3.2-1b-tuned' on Hugging Face stole cloud credentials on load, built and re-packaged by an AI agent - Limit Devin Desktop use on shared machines until patched
Devin Desktop: unpatched 0-day lets local code plant a script the app runs as you (CVE-2026-136534) - If your company inspects HTTPS traffic, ask IT to lock down who can change inspection rules and issue server certificates, and keep AI coding tools updated from trusted networks
UpdateMITM: Cursor, Claude Code and VS Code updates could be swapped for malware on intercepted networks
Source: original post on Microsoft Security Blog ↗. Summarised in our own words; numbers are as stated by the source. Browse all stories.