Security
Threats ACP is designed to mitigate, how it handles data, and how to report a vulnerability. This is not a certification and implies no compliance with any standard. What ACP enforces per agent is in coverage levels.
Threat model
| Threat | Mitigation in ACP |
|---|---|
| Prompt injection or hostile agent output | Model output is untrusted: deterministic, typed grants and policies; schema-validated tool inputs; models never make authorisation decisions; ACP never calls a model and never auto-executes model-suggested actions |
| Agent or stage spoofing | SigV4 workload authentication; exact role-to-binding mapping; agent ID and stage derived server-side; role unique ID checked to detect delete-and-recreate; forged headers and body fields ignored |
| Using an unapproved model | Prevented by IAM: each workload role may invoke only the exact model and inference-profile ARNs approved for its agent stage; asynchronous and batch inference, Bedrock agents and flows are explicitly denied; drift detection |
| Calling an approved model without a permit, or under-reporting usage | Detected afterwards, not prevented: Bedrock invocation logs are matched to permits, the extra usage is charged and the model circuit breaker refuses new permits and adds an IAM deny (ACP-owned roles). Exposure is bounded by log delivery delay and IAM propagation, a few minutes; not yet measured on AWS |
| Turning off invocation logging | Account administrators can; pnpm ac doctor and a scheduled check detect it and model coverage drops to integrated. Workload roles are denied changes to the logging configuration |
| Tool gateway bypass | Scoped workload IAM with explicit denies for SES, escalation and ACP state; drift detection; coverage labels that never overclaim |
| Approval tampering or replay | Canonical payload hash bound to the approval and resubmitted by the approver; single-use conditional transitions; expiry; policy recheck at decision and before dispatch |
| Privilege escalation and IDOR | Server-side RBAC with business-unit and ownership scopes on every object; separate human and machine routes; out-of-scope objects return 404 |
| Policy tampering | Immutable revisions; conditional activation against the expected revision; before/after hashes audited; configuration writes only via the control API |
| Sandbox escape | ACP runs no agent code; fixture-backed sandbox tools; real side-effect adapters unavailable in sandbox by schema and invariant; stage-scoped identities |
| Secret leakage | Credentials only in AWS managed services, never in Markdown; prompt, content and credential fields redacted from logs |
| SSRF and exfiltration | No arbitrary URL or HTTP tool; fixed adapters; recipient allowlists |
| Runaway spend | Atomic worst-case reservations at permit time, per-run and concurrency limits, unreported permits charged in full, reconciliation against invocation logs, the model circuit breaker, suspension. Not a hard cap: see how model calls are governed |
| Duplicate delivery | Idempotency keys scoped to agent, stage, route and payload; transactional outbox; conservative outcome_unknown handling |
| Audit alteration | Append-only audit writes (conditional puts); no delete through the application |
| Dependency compromise | Pinned exact versions and a lockfile; SBOM and provenance planned for releases |
| Web injection | Escaped Markdown rendering (no raw HTML), strict CORS, CSP on the public site, CSV formula neutralisation |
| Denial of service | Request and page size limits, API throttling, concurrency ceilings |
Authentication, stage isolation, audit, approval binding and suspension are enforced in code and cannot be removed by editing Markdown.
Out of scope. Privileged AWS administrators can alter or delete resources; ACP cannot prevent this, so use CloudTrail and account governance (for example SCPs). Unregistered workloads are not discovered or controlled. In-flight external effects cannot be cancelled.
Data handling
- Your account, your data. All data stays in your AWS account: no telemetry or phone-home, and no required external service after installation.
- ACP never sees prompts or responses. Agents call models themselves. A permit and its usage report hold only the model, token limits and counts, latency, cost, provider request ID and status.
- Bedrock invocation logs are metadata only.
pnpm ac bedrock-logging --enableturns off text, image, embedding and video delivery, so records hold the caller role, model, token counts and request metadata. They are stored in the installation's bucket (acp-<name>-mlogs-<account>-<region>, writable only by Bedrock in your account) and expire after 90 days. The reconciler keeps only what it needs and discards the rest. ACP's doctor fails if content delivery is turned on. - Except approval payloads. Approvers must see the exact action, so its parameters are kept in the approvals table with restricted access until retention removes them.
- Synthetic fixtures. Demo and sandbox fixtures contain no personal, financial or customer data.
Retention defaults (set in deployment.md; see configuration):
| Data | Default |
|---|---|
| CloudWatch logs | 30 days |
| Run summaries and actions | 90 days minimum |
| Temporary payloads (idempotency records) | 7 days |
| Bedrock invocation log objects (metadata only) | 90 days |
| Approval payloads | 30 days after the approval closes |
| Audit metadata | 365 days minimum |
| Active release and configuration history | Retained for verification |
DynamoDB TTL deletion is asynchronous, not an exact deadline. Backups and archives follow retention you control.
Encryption. AWS-managed encryption at rest by default; a customer-managed KMS key is optional where supported. Configuration buckets are private, with public access blocked and versioning enabled.
Region and routing. You choose the region. Cross-region inference is denied by default; enabling it requires disclosed destination regions and a policy change. You remain responsible for deciding whether models, regions and retention suit your obligations.
Reporting a vulnerability
Report suspected vulnerabilities privately, as described in SECURITY.md; do not open public issues. Include the affected version or commit, a description, reproduction steps and the impact you observed. Avoid accessing data that is not yours and avoid degrading other people's installations.
ACP is self-hosted: each operator patches their own installation. Fixed versions and migration notes are announced in release notes.
Docs version: 2abf6af98023 · Source: docs/security.md · Edit on GitHub