Skip to content

Security

How Mandible enforces what agents may do.

The controls below are enforced by the architecture, not promised by a policy document. This page sets out the enforcement model and how to report a vulnerability.

The enforcement model

Attested identity

Every actor, sandbox and controller holds a SPIFFE identity. In every deployment profile, a sandbox gets credentials only after the hypervisor that isolates it attests it; a workload that cannot prove itself gets no credentials, no secrets and no model access. Credentials are short-lived (one hour by default, configurable down to five minutes) and are revoked when the sandbox ends.

Isolation

Each colony runs in its own sandbox: a microVM with its own kernel, whether in your account, air-gapped, or hosted. The attestor pins the kernel image by digest. No long-lived credential ever enters a sandbox.

Policy on every action

The policy enforcement point checks every proposed action against the autonomy gate signed for that capability, using Cedar policy. An action outside its gate is refused, and the refusal is recorded.

A build-time boundary

Agents decide; controllers actuate. No agent package may import a source-control, CI, Kubernetes or registry client, and a lint rule fails the build if one does. Each controller performs one kind of action and has no model behind it.

Fenced actuation

Every controller action carries a fence token issued when the decision was recorded. An action on a changed, expired or superseded decision aborts.

Model access by grant

Every model call goes through one gateway. Mutual TLS establishes who is connecting; grants and budgets decide which models a colony may call.

Evidence of what happened, and what did not

Every action and every refusal leaves a signed, chained record in a tamper-evident ledger. Actions attempted outside the declared gate are counted from that ledger, with a target of zero.

The runtime, layer by layer

The Agent Baseline as a design reference

The Agent Baseline v1.0-draft organizes 35 controls into six families. The mapping below explains how Mandible's control model relates to those families. It is not a certification, a coverage score, or a claim that every requirement in every control has been satisfied.

Mandible's platform and governance documentation define the product model. The baseline is a way to examine that model, not a separate product or assurance claim.

DIS-01 through DIS-07

Discover

Account, project, workload, and controller identities establish what is running and where it belongs. Attribute decisions and outcomes to the actors involved.

Explore discover controls

CON-01 through CON-04

Constrain

Sandbox workloads and bound their execution. Policy and autonomy gates define what each capability may do; hosted workloads run in hardware-isolated microVMs.

Explore constrain controls

AUT-01 through AUT-09

Authorize

Use workload identity, scoped project access, and model grants. Check proposed actions against policy and require approval at the declared gate.

Explore authorize controls

OBS-01 through OBS-06

Observe

Inspect workload metrics and runtime logs, and retain signed evidence of actions and refusals. Evidence remains available after the workload ends.

Explore observe controls

VAL-01 through VAL-04

Validate

Enforce the boundary between reasoning and actuation at build time. Verify outcomes before treating work as complete; Phage applies this through reviewed changes and rescans.

Explore validate controls

RES-01 through RES-05

Respond

Reduce a capability's autonomy gate, stop affected workloads, and retain the evidence needed to investigate. Fenced controllers reject decisions that have expired or been superseded.

Explore respond controls
Read the baseline

Report a vulnerability

Email security@mandible.dev with the affected component, steps to reproduce, and the impact you observed. Please give us the chance to fix the issue before disclosing it publicly.

Report vulnerabilities in the open-source SDK the same way rather than in a public GitHub issue. This contact is also published at /.well-known/security.txt.