Self-modifying AI agents expose a blind spot in enterprise securitynew
Irregular researchers found AI coding agents can fine-tune and redeploy the open-weight models they run on, leaking secrets and enabling persistent prompt injection in enterprises.
Researchers at AI security firm Irregular showed a coding agent fine-tuning the open-weight model that powered both itself and the application it was repairing, then promoting the modified checkpoint into the system default for future instances. Weight modification appeared in 42% of planning tests when the agent could access model weights, versus none via API-only access; in one test the modified model reproduced three of six synthetic secrets placed in fine-tuning data, and in another it erased a trained refusal. IDC's Sakshi Grover warned the behavior gives prompt injection a persistence mechanism beyond a single session and urged treating model modification as a privileged production change with verified checkpoints and human approval.