Skip to content

Emergency Action Protocol

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

Level TTL Auto? Actions
1 2 min Auto if confidence > 0.95 IsolateNetwork · KillProcess · MemoryDump
2 5 min Auto after 3 minutes if no ack StopService · QuarantineFile
3 15 min Always human approval required InstallPackage · Reboot · RunPlaybook
  1. TTL: now ≤ expires_at and (expires_at - issued_at) ≤ 900.
  2. Addressing: agent_id = own ID.
  3. Anti-replay: nonce 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.
  • 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.