CTL-142 · agent

Locking Down Agent Runtime and Scheduler Settings

Make every setting that governs an agent read-only to that agent.

TechnicalEffort MediumEffectiveness High

Limits, timeouts, launch scripts, runner files, scheduler entries and job definitions should sit outside the agent's write scope, enforced by the host. Cover each layer: the sandbox or harness, the file system, and the scheduling platform. If an agent can edit even one, it can undo the others. Any change should go through authorized human or platform change control. Check this in practice by asking the agent's own identity to edit a cron entry or a launch script. The attempt should fail.

Put it in place

  1. 01Mount configs, launch scripts and scheduler definitions read-only inside the sandbox.
  2. 02Deny agent identities write access to cron, job and scheduler APIs.
  3. 03Route all runtime config changes through reviewed change control.
  4. 04Alert on any modification outside the pipeline.

Counters 4 techniques