Closed by default
Egress only to granted addresses and under L7 rules; blocked attempts go to the log with a reason. Private ranges, link-local, metadata addresses and DoH are checked by a separate test.
One policy language, a decision on every call, a prohibition stronger than a permission. Below is a simplified model of the real rules: change the conditions and see which rule fired.
This is a model of six rules from tools.cedar and four from service_access.cedar, not a call to the Cedar engine. The real cedar-policy engine in Registry decides; it is checked by a corpus of 57 cases. This model was not checked against the corpus — it is for understanding, not for evidence.
// service_access.cedar — granting a service to an agent
@id("allow")
permit (principal is Agent, action == Action::"UseService", resource is Service);
@id("agent_denied")
forbid (principal is Agent, action == Action::"UseService", resource is Service)
when { !resource.agent_access && !principal.on_behalf_of.exceptions.contains(resource) };
@id("no_role")
forbid (principal is Agent, action == Action::"UseService", resource is Service)
when { !principal.on_behalf_of.roles.contains(resource.role) };
@id("no_consent")
forbid (principal is Agent, action == Action::"UseService", resource is Service)
when { !context.consented };Any forbid that fires overrides permit. A rule marked @advice("approval") turns a denial into “waiting for a human”: the platform asks for consent instead of blocking silently.
If a condition is not passed in the context, the policy is skipped — so the rules are written with context has …, and the tests check this with mutations: a broken policy must turn red.
| Risk | Control in the platform | Residual risk |
|---|---|---|
| The agent gets more access than the person needs | Cedar: roles, consent, exceptions; the profile is the ceiling; skills narrow the scope to services and tools | People write the policy; tests and a second person catch mistakes in changes |
| Tampering with skill text (prompt injection through the supply chain) | Skill changes need a second person’s confirmation, a hash of all files and a mandatory owner | The meaning of the text is not checked; there is no cryptographic signature yet |
| Tampering with MCP tool descriptions (rug pull) | A pinned hash of descriptions; on a mismatch Cedar closes all of the service’s tools | Third-party MCP servers do not send a hash — it needs code on their side |
| Someone else’s or an unmanaged laptop | Device from MDM, owner, freshness, encryption; running sessions are re-checked | The device identifier is claimed by the client; a key in the Secure Enclave is deferred |
| Self-approval and collusion | Two-person rule; self-approval counters (must be 0 in the evidence pack) | Collusion between two people is not detected automatically |
| Secret leakage | Secrets in the Keychain, placeholders in the sandbox, fingerprints on the server | Compromise of the person’s laptop |
| Vulnerabilities in dependencies and images | Dependency and image scanners with pinned versions and accepted exceptions with an expiry | Not on a schedule; some images are not scanned yet |
Source: the risk register in docs/compliance/runbooks.md, checked 2026-12-06. The organization assesses likelihood and impact.
Egress only to granted addresses and under L7 rules; blocked attempts go to the log with a reason. Private ranges, link-local, metadata addresses and DoH are checked by a separate test.
Service tokens are injected by a proxy bound to the binary; the sandbox holds placeholders.
The agent can rewrite its own config and instructions. So agentctl verify compares files with the hashes recorded at delivery and shows the edit.