Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 33 additions & 25 deletions LIMITATIONS.md
Original file line number Diff line number Diff line change
@@ -1,47 +1,51 @@
# Known Limitations

This document describes what Agent Manifest does not do, and where layered defenses are needed. Honest scope boundaries prevent misplaced trust.
This page lists what Agent Manifest does not do, so you know where you need other protections alongside it. Read it before you rely on a manifest for a security or compliance decision. The short version: a manifest proves who approved an agent's setup and lets you check that setup at one moment; it does not watch the agent afterwards or judge whether the setup is a good one.

The first sections are short and plain. The later sections on Azure, AMD and Intel hardware are for engineers who need the exact technical boundary.

## What the manifest does not prevent

**Prompt injection at runtime**
The manifest binds the system prompt hash at deployment. It cannot detect prompt injection that occurs during a session via user input, tool output, or RAG retrieval. For runtime injection defense, use a policy engine (e.g., AGT's PromptDefense Evaluator) in addition to the manifest.
The manifest records a fingerprint of the agent's instructions (system prompt) when it is deployed. It cannot detect prompt injection, where text slipped in during a session through user input, tool output, or documents the agent looks up (RAG retrieval) tries to give the agent new instructions. For that, use a policy engine (e.g., AGT's PromptDefense Evaluator) in addition to the manifest.

**Model output manipulation**
The manifest attests which model version was authorized. It cannot attest that the model's responses were unmanipulated. A compromised model API endpoint could return forged outputs while the manifest remains valid.

**Key compromise after attestation**
If the manifest signing key is compromised after a manifest is issued, existing manifests remain cryptographically valid until they are explicitly revoked. Key monitoring and rapid revocation are the required controls — the manifest provides the revocation mechanism but cannot detect compromise itself.
If the manifest signing key is compromised after a manifest is issued, existing manifests remain cryptographically valid until they are explicitly revoked. Key monitoring and rapid revocation are the required controls; the manifest provides the revocation mechanism but cannot detect compromise itself.

**TEE side-channel attacks**
Hardware attestation proves the manifest hash was measured in silicon. It does not protect against side-channel attacks (cache timing, power analysis) targeting the TEE itself. TEE-level side-channel defense is the responsibility of the TEE platform vendor.
Hardware attestation proves the processor itself recorded the manifest's fingerprint. It does not protect against side-channel attacks (reading secrets indirectly, for example by timing the processor's cache or measuring its power use) aimed at the TEE, the protected area of the processor the agent runs in. Defending the TEE against those is the job of the chip vendor.

**Operator-controlled revocation endpoint**
The revocation endpoint is operated by the manifest issuer. A compromised or dishonest issuer could fail to publish revocation records. Transparency log integration (Rekor) provides a check — verifiers should require a transparency log entry for Level 1+ manifests.
The revocation endpoint, where withdrawn manifests are listed, is run by the manifest issuer. A compromised or dishonest issuer could simply not list a withdrawal. A public append-only record (a transparency log such as Rekor) provides a check; verifiers should require a transparency log entry for Level 1+ manifests.

**Policy correctness**
The policy bundle hash attests that a specific Cedar/Rego/YAML policy was in force. It does not attest that the policy is correct or that it achieves the intended security outcome. Policy review is a separate control.
The policy bundle hash shows that a specific set of rules (written in Cedar, Rego or YAML) was in force. It does not show that the rules are correct or achieve what you intended. Reviewing the rules is a separate job.

**Supply chain attacks before measurement**
The container image digest is measured at TEE startup. Attacks that compromise the build pipeline before the final image is produced (e.g., compromised build runner, malicious dependency) are covered by SLSA provenance, not by the manifest attestation itself.
The fingerprint of the packaged software (the container image digest) is measured when the protected environment starts. Attacks on the build process before that package exists (e.g., a compromised build machine or a malicious dependency) are covered by SLSA provenance, a separate signed record of how software was built, not by the manifest attestation itself.

## What Level 0 does not provide

Level 0 (software-only signing) is suitable for development and staging. It does not satisfy:

- DORA Art. 9 (in force today) — requires Level 1+ with HITL records
- EU AI Act Art. 15 (cybersecurity; applies from around December 2027) — requires Level 1+
- Any claim of hardware-rooted trust — the signing key is held in software and can be extracted by a privileged operator
- DORA Art. 9 (in force today): requires Level 1+ with HITL records
- EU AI Act Art. 15 (cybersecurity; applies from around December 2027): requires Level 1+
- Any claim of hardware-rooted trust: the signing key is held in software and can be extracted by a privileged operator

## What the SDK does not do

- **Evaluate Cedar policy** — the SDK stores and hashes Cedar bundles; evaluation requires the Cedar engine (included in AGT)
- **Store manifests** — the SDK produces and verifies manifest documents; storage, rotation, and distribution are the caller's responsibility
- **Replace a secrets manager** — signing private keys must be stored in a secrets manager (Azure Key Vault, AWS Secrets Manager, HSM); do not store them on disk without protection
- **Automatically rotate** — key rotation and manifest re-issuance must be triggered by the caller; the SDK provides the protocol but no scheduling
- **Evaluate Cedar policy**: the SDK stores and hashes Cedar bundles; evaluation requires the Cedar engine (included in AGT)
- **Store manifests**: the SDK produces and verifies manifest documents; storage, rotation, and distribution are the caller's responsibility
- **Replace a secrets manager**: signing private keys must be stored in a secrets manager (Azure Key Vault, AWS Secrets Manager, HSM); do not store them on disk without protection
- **Automatically rotate**: key rotation and manifest re-issuance must be triggered by the caller; the SDK provides the protocol but no scheduling

## Azure confidential VMs: attestation is vTPM-rooted, not direct-silicon

In short: on Azure's AMD-based confidential machines, the processor report reaches the manifest through one extra link (a virtual security chip run by Azure's own layer), and that path is supported and tested. On Azure's Intel-based confidential machines, the offline check is not supported at all. The detail follows.

Azure confidential VMs (DCasv5/ECasv5 and similar) run AMD SEV-SNP behind a
Hyper-V paravisor. This changes how attestation works, and `AzureCVMProvider`
(not `SEVSNPProvider`) is the correct provider there:
Expand Down Expand Up @@ -88,6 +92,8 @@ non-paravisor TDX guest (e.g. GCP C3) for offline TDX attestation.

## Platform state: appraised only if you ask

In short: a hardware report proves which software is running, but by default this SDK does not check the settings of the machine underneath, such as whether a memory safety check ran at boot. You can turn that check on; it is off unless you ask for it.

Signature, certificate chain and measurement establish that a report is authentic
and which workload it describes. **None of them say anything about the condition
of the machine underneath.** A SEV-SNP report carries that separately, in
Expand Down Expand Up @@ -134,15 +140,15 @@ Not wired in as a default does not mean it cannot gate a verdict today.
does not itself invoke `appraise_platform_info()`, or anything else PLATFORM_INFO-
specific. A caller can combine a successful hardware appraisal with a platform-
policy appraisal before populating `context.verified_attestation_manifest_hashes`
(the same set `verify_manifest()` already checks membership in — see the field's
(the same set `verify_manifest()` already checks membership in; see the field's
docstring). `appraise_platform_info()` fits that shape directly: call it next to
`verify_attestation_chain()`, and only add the manifest hash when both pass. See
["Appraise platform state before trusting hardware
evidence"](https://github.com/agentrust-io/agent-manifest/blob/main/docs/tutorials/hardware-attestation.md#appraise-platform-state-before-trusting-hardware-evidence)
for the composition, and
[`test_platform_info_verify_manifest.py`](https://github.com/agentrust-io/agent-manifest/blob/main/python/tests/test_platform_info_verify_manifest.py)
for the pass/fail cases against a cryptographically self-consistent synthetic SEV-SNP
chain — it demonstrates that this composition is possible and that `verify_manifest()`
chain. It demonstrates that this composition is possible and that `verify_manifest()`
honors it, not that the SDK enforces it for you. No change to `VerificationContext` or
`verify_manifest()` is needed for this.

Expand All @@ -156,14 +162,16 @@ the direction in the argument name makes that class of mistake unavailable here.

## Hardware attestation scope: boot-time binding only

In short: the hardware check describes the agent as it started. It does not keep watching, so a change made to the running agent later is not caught unless you ask the hardware for a fresh report.

Hardware attestation in this SDK proves **what was approved at agent startup**,
not what the agent is doing right now. Specifically:

- `extend_manifest_hash()` + `get_attestation_report()` run **once** at startup.
The resulting report binds the manifest hash to the TEE's boot measurement
(AMD SEV-SNP `MEASUREMENT`, Intel TDX `MRTD`, or TPM PCR values). After that
call returns, the hardware is not consulted again by default.
- The boot measurement itself is **immutable** — it reflects the firmware and
- The boot measurement itself is **immutable**: it reflects the firmware and
kernel image that were loaded when the TEE was initialised. No re-measurement
of the TEE is possible after boot; this is a hardware property, not an SDK
limitation.
Expand All @@ -185,11 +193,11 @@ quote on demand. The TEE sets its caller-controlled field
boot measurement. A verifier that supplies the nonce and independently computes
`context_hash` can then confirm:

1. **TEE identity** — the boot measurement matches the expected launch digest
2. **Current state** — context_hash covers the live system prompt, policy, and tool catalog
3. **Freshness** — the nonce is unique per challenge, preventing replay
1. **TEE identity**: the boot measurement matches the expected launch digest
2. **Current state**: context_hash covers the live system prompt, policy, and tool catalog
3. **Freshness**: the nonce is unique per challenge, preventing replay

This is not a second boot measurement — the TEE firmware measurement never
This is not a second boot measurement; the TEE firmware measurement never
changes. It is a hardware-signed freshness certificate that specific runtime
state was active in the same TEE at a specific moment.

Expand All @@ -200,7 +208,7 @@ caller or a runtime enforcement layer (e.g., cMCP).

**TPM note:** `attest_runtime_state()` on `TPMProvider` requires a
pre-provisioned Attestation Key (AK). See the docstring for provisioning steps.
SEV-SNP and TDX have no such requirement — the IOCTL is available to any process
SEV-SNP and TDX have no such requirement; the IOCTL is available to any process
with access to `/dev/sev-guest` or `/dev/tdx-guest`.

## Performance
Expand All @@ -210,9 +218,9 @@ Hardware attestation adds latency at agent startup (not per-request):
| Provider | Typical latency |
|----------|----------------|
| Software (Level 0) | < 1 ms |
| TPM | 50–200 ms |
| SEV-SNP | 10–50 ms |
| TDX | 10–50 ms |
| TPM | 50 to 200 ms |
| SEV-SNP | 10 to 50 ms |
| TDX | 10 to 50 ms |
| OPAQUE | not implemented (managed service not GA; provider fails closed) |

Manifest verification (signature check + hash comparison) is < 5 ms in all cases.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ Community updates and contributor highlights: [AgenTrust on LinkedIn](https://ww

> **Developer Preview.** Launched at Confidential Computing Summit, June 23 2026.

A signed JWT proves who called an API. It proves nothing about the agent that made the call.
An AI agent is software that uses an AI model to take actions on its own. A signed login token (such as a JWT) proves who called an API. It says nothing about how the agent that made the call was set up: its instructions, its rules, its tools or its model.

Agent Manifest binds the ten artifacts that define an agent (system prompt, policy bundle, tool schemas, model identity, RAG corpus, memory state, the decision-log baseline, A2A delegation chain, supply chain provenance, and human-in-the-loop approvals) into one hardware-attestable, tamper-evident record. A third party can authenticate who signed a manifest and compare each binding with inputs it trusts; a manifest does not observe the agent after issuance. Runtime decisions remain separate TRACE or OCSF records; the manifest commits to the audit-chain root current at issuance so a verifier can join later evidence to the approved deployment without treating post-hoc evidence as deploy-time identity.
Agent Manifest is a signed record of that setup. Whoever approves an agent signs the record; anyone checking the agent later can confirm who signed it and compare each part with what is actually running. It runs on your own computer with Python, and adding hardware proof is optional. Plain-English definitions of the terms are at [agentrust-io.com/#plain-terms](https://agentrust-io.com/#plain-terms).

In more detail, Agent Manifest binds the ten artifacts that define an agent (system prompt, policy bundle, tool schemas, model identity, RAG corpus, memory state, the decision-log baseline, A2A delegation chain, supply chain provenance, and human-in-the-loop approvals) into one hardware-attestable, tamper-evident record. A third party can authenticate who signed a manifest and compare each binding with inputs it trusts; a manifest does not observe the agent after issuance. Runtime decisions remain separate TRACE or OCSF records; the manifest commits to the audit-chain root current at issuance so a verifier can join later evidence to the approved deployment without treating post-hoc evidence as deploy-time identity.

## Quick start

Expand Down Expand Up @@ -88,7 +90,7 @@ Put briefly, Agent Plugins describes what a client should install and a manifest

## Standards alignment

Targeting [CoSAI](https://www.coalitionforsecureai.org/) Working Stream 4, an OASIS Open Project. 197 conformance tests against the formal specification. Integrates with [TRACE](https://github.com/agentrust-io/trace-spec) for hardware-rooted attestation.
Targeting [CoSAI](https://www.coalitionforsecureai.org/) Working Stream 4, an OASIS Open Project. The specification defines a 197-test conformance suite. Integrates with [TRACE](https://github.com/agentrust-io/trace-spec) for hardware-rooted attestation.

## Contributing

Expand Down
Loading
Loading