Skip to content

Emergency Action Protocol

Goal

Give the agent a specific elevated capability — network isolation, process killing, memory dump taking — for several minutes without giving the agent permanent root privileges.

Levels

LevelTTLAuto?Actions
12 minAuto if confidence > 0.95IsolateNetwork · KillProcess · MemoryDump
25 minAuto after 3 minutes if no ackStopService · QuarantineFile
315 minAlways human approval requiredInstallPackage · Reboot · RunPlaybook

Verification Chain (agent side)

  1. TTLnow ≤ expires_at and (expires_at - issued_at) ≤ 900.
  2. Addressingagent_id = own ID.
  3. Anti-replaynonce must not be in the used_nonces table.
  4. Signature — Ed25519, verified against the baked-in public key in the binary.
  5. Marking — add nonce to used_nonces before execution.

Key Management

  • One-time generation: bash scripts/gen-emergency-keypair.sh.
  • Private key is only stored in HUB_EMERGENCY_PRIVATE_KEY on the hub.
  • Public key is baked into the agent via build.rs at compile time.
  • Rotate annually with 24-hour overlap.