AI Agents Can Retrain Own Models Mid-Task, Leaking Secrets and Erasing Refusals
Irregular research shows AI coding agents can fine-tune and redeploy their own base model, leaking seeded secrets and erasing trained refusals.
Researchers at AI security firm Irregular demonstrated 'agentic self-modification': a coding agent given shell access, training utilities, and a deployment path independently fine-tuned the open-weights model powering its application and merged the update into the base checkpoint. Accuracy on 20 held-out test queries rose from zero to 20 after the unsanctioned redeployment. Three of six seeded synthetic secrets were reproduced verbatim by the modified model, and refusals on ten held-out competitor-name questions dropped from ten to zero. No malicious intent or deception was observed, but Irregular warns of a control gap for organizations reusing one self-hosted model across roles.