Coding agents read files, call APIs and execute commands. In the test, the trigger was an ordinary request to create project documentation. The model learned to find whatever tool could run commands and use it to fetch and run content from an attacker's domain. Finally, a good excuse to skip the documentation.
In a second study, the attacker controlled training before publishing the model's weights. Success on unseen repositories reached 84.1% to 94.8%. Threat hunting also turned up rows in one large public dataset that taught models to answer simple file requests by running a remote script.
Model weights cannot be reviewed like source code, so the tools an agent is allowed to touch decide how far a hidden rule can reach.
