Security review scope
This page scopes an external security review of the aitp/0.3 core (RFC-AITP-0001 to RFC-AITP-0009). It lists the surfaces to review, the issues already known, and the gaps in runtime fuzzing. Findings are reported through SECURITY.md.
Also in scope, at lower priority: the Manifest (RFC-AITP-0003), single-hop delegation (RFC-AITP-0006) and key resolution (RFC-AITP-0007).
Out of scope: the opt-in drafts (RFC-AITP-0010 to RFC-AITP-0014, including the spiffe identity type and the A2A binding), deployment and hosting.
Surfaces in scope
| Surface | Sections | Review question |
|---|---|---|
| Signing inputs | RFC-AITP-0001 §5.4.1, §5.4.2, §5.4.3, §5.4.5, §5.4.7 | Is every signed byte string unambiguous, and can no signature be valid for two different meanings? |
| Key thumbprint | RFC-AITP-0001 §5.4.4, RFC-AITP-0002 §2.2.1 | Does one key map to exactly one thumbprint? |
| Identity binding | RFC-AITP-0002 §2.3, §3.2, §3.4, §4 | Is an AID bound to its key and to a trust anchor in every identity type? |
| Mutual handshake | RFC-AITP-0004 §3, §4.2, §4.4, §5 | Do the four messages give mutual authentication, round binding and freshness? |
TCT and cnf | RFC-AITP-0005 §3, §5.2, §6, §7.2 | Is a TCT usable only by its holder, at its audience, within its grants? |
| Revocation policy | RFC-AITP-0008 §1.5, §3.1, §3.2, §3.3 | Does every policy mode fail safe when revocation data is missing, stale or from the wrong signer? |
The threat model the review checks against is RFC-AITP-0009.
Formal model. A Tamarin model of the handshake, TCT use and renewal, and single-hop delegation is in formal/. formal/REPORT.md states what it proves and its limits; per-lemma results are in formal/results/summary.md. A review can start from the modelling limits listed there.
Known items
These are already tracked. A review need not rediscover them.
| Item | Where | Status |
|---|---|---|
| Handshake routes do not enforce the replay and timestamp checks of RFC-AITP-0009 §1.2 | aitp-playground PENDING.md, item P17 | Open |
| A capability route takes the expected TCT audience from the token instead of from its own AID (RFC-AITP-0005 §5.2) | aitp-playground agents/base/aitp_server.py | Open |
| Revocation entries signed by a party other than the token's issuer (RFC-AITP-0008 §1.5) | aitp-control-plane#153 | Resolved in the spec by fixture rev-011 and the 2026-10-24 decision |
Runtime fuzz gaps
aitp-rs has fourteen fuzz targets, run in CI: envelope, Manifest and delegation parsing, JCS canonicalization, JWS, TCT, delegation and revocation verification, handshake payload decoding (RFC-AITP-0004 §3), OIDC identity proofs (RFC-AITP-0002 §2.3), pinned-key admission (RFC-AITP-0002 §3.4), SPIFFE SVID verification, session bundles (RFC-AITP-0010, opt-in) and interop enrolment.
aitp-verifier-go fuzzes its JCS canonicalizer and strict JSON parser with Go native fuzzing. aitp-verifier-py and aitp-verifier-ts have no fuzz targets.