CTL-122 · agent
Blocking Agents From Launching Themselves
Allow only approved programs and scheduled jobs under an agent identity, and stop self-copying.
TechnicalEffort MediumEffectiveness High
Lock down what can run under the agent's identity. The host should refuse to let the agent start copies of itself, spawn unexpected child processes, or launch binaries outside an allow-list. Scheduled jobs (cron, Task Scheduler, CI schedules) need the same allow-list, otherwise persistence becomes a quiet way to run new code. Test that these limits hold when the agent is looping or trying to restart itself. In containers, combine a read-only root filesystem, a seccomp or AppArmor profile, and a rule that blocks the agent binary from forking.
Put it in place
- 01Apply application allow-listing to agent hosts and containers.
- 02Deny process spawn except for approved binaries.
- 03Allow-list scheduled jobs and block new cron entries by agents.
- 04Alert on blocked exec attempts.