hello@company.exampleWorking prototype · data on this site comes from a test stand, not production use
Security

How the platform makes decisions — and where its limits are

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.

§ 01Simulator

A policy decision on real rules

What the agent does
Conditions

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.

Result
§ 02Policy

A prohibition beats a permission, and the text is readable

service_access.cedar
// 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.

§ 03Threat model

Risk, control and what remains

RiskControl in the platformResidual risk
The agent gets more access than the person needsCedar: roles, consent, exceptions; the profile is the ceiling; skills narrow the scope to services and toolsPeople 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 ownerThe 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 toolsThird-party MCP servers do not send a hash — it needs code on their side
Someone else’s or an unmanaged laptopDevice from MDM, owner, freshness, encryption; running sessions are re-checkedThe device identifier is claimed by the client; a key in the Secure Enclave is deferred
Self-approval and collusionTwo-person rule; self-approval counters (must be 0 in the evidence pack)Collusion between two people is not detected automatically
Secret leakageSecrets in the Keychain, placeholders in the sandbox, fingerprints on the serverCompromise of the person’s laptop
Vulnerabilities in dependencies and imagesDependency and image scanners with pinned versions and accepted exceptions with an expiryNot 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.

§ 04Sandbox

What the agent cannot do, however hard it tries

Network

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.

Secrets

Tokens stay outside the sandbox

Service tokens are injected by a proxy bound to the binary; the sandbox holds placeholders.

Files

What the agent edits is visible

The agent can rewrite its own config and instructions. So agentctl verify compares files with the hashes recorded at delivery and shows the edit.