carlos / platform Public

Root verifies the signed app policy itself before applying egress (#328 follow-up) open

Follow-up from the instance-egress-sizes-328-329 census (Paul's ruling 2026-10-26, decision 2).

Today root applies an app's egress allow from the registry columns the box agent writes (egress_allow, policy_expires_at). Before it does, root runs its own checks:

  • the address rules;
  • the box's own addresses are refused;
  • a cap on the number of addresses;
  • the wholly-nested rail;
  • the expiry.

Root does not check the policy's ed25519 signature itself. Only the agent does. That is the same trust the agent already has, but a compromised agent could grant its own instances egress to any private address that passes root's checks, or give an allow a far-future expiry.

Proposal: root reads the signed object (or a copy the agent hands it with the signature intact) and verifies it with the release public key before writing IPAddressAllow. Root's request budget must stay at zero store reads (ruling 11), so this most likely means the agent passes the signed bytes along with the columns and root verifies them locally.