Source page 2 · section 2/18 · approximately 2 minutes
digest rendered as an aipi:// URI — derives per-session keys
digest rendered as an aipi:// URI — derives per-session keys
with an HKDF-inspired construction (our hardened build uses
RFC 5869 HKDF exactly), and authorizes actions through
capability contracts evaluated during a four-message HELLO /
CHALLENGE / PROVE / ALLOW handshake. We position AIPI
within the established literatures of capability-based and object-
capability security (Dennis & Van Horn, 1966; Saltzer &
Schroeder, 1975; Miller, 2006), macaroons (Birgisson et al.,
2014), self-sovereign identity and decentralized identifiers (Allen,
2016; W3C, 2022), and content addressing (Merkle, 1988; Benet,
2014). Using the author's reference implementation, a
deterministic harness confirms four functional properties [T2]:
CHK URI content-addressing is loss-free and collision-free over
20,000 distinct inputs; the key-derivation function is deterministic
and exhibits near-ideal avalanche (mean 128.2 of 256 bits)
under epoch-root change; capability pattern-matching is correct
(5/5); and the tribute split is exact. We then perform an
adversarial security audit that, by design, attempts to break the
protocol as implemented and succeeds in three places: (R1) the
PROVE signature is never verified — a forged signature is
accepted (demonstrated); (R2) the "tautology" self-
verification is computed inconsistently (keyed over the
CHALLENGE in the prover, unkeyed over the PROVE in the
verifier), so it provides neither integrity nor authentication; and
(R3) MD5 and SHA-1 are offered despite being below the 128-
bit collision-resistance floor (Wang & Yu, 2005; Stevens et al.,
2017). For each we give a concrete, standards-based fix, and —
critically — we implement the fixes in a hardened module and
re-validate them (§6.6): a legitimate handshake is accepted
while forged signatures and tampered transcripts are rejected,
MD5/SHA-1 are refused, and replays are blocked, with keys
derived via RFC 5869 HKDF. Finally we assess AIPI's post-
quantum posture honestly: its hash/MAC core is PQ-resistant
with ≥256-bit digests (Grover only halves preimage security;
Grover, 1996), but the (currently absent) signature must be a
Editorial commentary and evidence checks for this source
Check definitions, measurements and the difference between a model, a reported simulation and independently reproduced evidence. Spiritual or speculative interpretations do not become physical or clinical findings through notation.
Content-addressed capabilities and authentication
A proposed permission protocol combining content identifiers, capability policies and freshness checks.
A content hash identifies bytes; it does not by itself authenticate a person or authorize an action.
Full commentary and investigation questionsThe source text is preserved as attributed material; commentary does not rewrite an allegation into a verified finding.