Source page 9 · section 9/18 · approximately 2 minutes
We now attempt to break AIPI as implemented. Each finding is
We now attempt to break AIPI as implemented. Each finding is
demonstrated by code/aipi_validation.py and accompanied
by a standards-based fix. Findings are summarized in Fig. 4.
6.1 R1 — The PROVE signature is never verified
(origin authentication fails) [T4 → fix]
Demonstration. We constructed a PROVE message carrying a
garbage signature (sig = 00…00) but a tau field equal to what
the verifier recomputes, with an authorizing contract.
verify_prove() returned True (results/aipi_results.json →
R1.forged_signature_accepted = true). Inspection confirms
verify_prove() checks (i) nonce presence, (ii) an (unkeyed)
tautology, (iii) holder authorization, and (iv) compliance — but
never inspects proof['sig']. Goal G2 (origin authentication)
fails: any party who can name an authorized holder is admitted
regardless of whether they possess the CHK material.
Fix. Verify the keyed tag before granting: recompute expect =
HMAC(k_sign, nonce ‖ rid ‖ phase) and require
constant_time_eq(expect, sig); or, preferably, replace the
HMAC with a public-key signature (Ed25519 today; ML-DSA/
SLH-DSA for PQ, §7) so the verifier need not share k_sign. This
restores the Needham–Schroeder guarantee (1978).
6.2 R2 — The "tautology" self-verification is
computed inconsistently (integrity check is
vacuous) [T4 → fix]
Demonstration. create_prove() sets tau =
CHALLENGE.calculate_tautology(k_sign) — keyed, and over
the CHALLENGE message — while verify_prove() compares
against PROVE.calculate_tautology() — unkeyed, over the
PROVE message. The harness reports R2.tautologies_match =
false: the two never agree, so either legitimate handshakes are
rejected or (as in the shipped path) the check is effectively
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.