{
 "library": "bootstrap",
 "version": "0.11.0",
 "root": "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5",
 "license": null,
 "slug": "ThreeLevelCollision",
 "ref": "ThreeLevelCollision#11d6",
 "hash": "sema:ThreeLevelCollision#mh:SHA-256:11d62af6f35377784694f7fc381b41369cd99da2b7480c3fe33ef8132a77f88f",
 "stub": "11d6",
 "layer": "Society",
 "type": "Protocols",
 "summary": "Stub, hash, and homograph collisions are different threats",
 "mechanism": "Distinguishes three collision classes and assigns specific defenses: (1) Stub Collision (Namespace exhaustion) -> Defended by full-hash verification. (2) Hash Collision (Cryptographic failure) -> Defended by SHA-256 entropy. (3) Homograph Collision (Semantic spoofing) -> Defended by Social Uptake and Reputation. A collision that cannot be resolved at its own level applies FailClosed#dfbc.",
 "invariants": [
  "L1 Defense: Stub match is NOT verification. Full hash check is mandatory.",
  "L3 Defense: Equivalence#23f0 is decided by Content, not Handle. A 'spoofed' pattern is simply a different pattern with zero reputation."
 ],
 "parameters": {},
 "signature": [],
 "preconditions": [
  "Sema Hashing Algorithm (SHA-256) is secure"
 ],
 "postconditions": [
  "Appropriate verification logic applied",
  "Threat level identified"
 ],
 "failure_modes": [
  "Stub Confusion: Relying on 4-char stub (#a1b2) for security instead of convenience.",
  "Homograph Attack: Malicious actor mints a pattern with a trusted Handle but malicious Definition (social engineering).",
  "Pre-image Attack: Theoretical break of SHA-256 (renders Level 2 defense void)."
 ],
 "domain": "",
 "caution": "",
 "sources": [],
 "name": "ThreeLevelCollision",
 "builds_on": [
  {
   "alias": "equivalence",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Equivalence",
   "ref": "Equivalence#23f0",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Equivalence"
  },
  {
   "alias": "fail_closed",
   "relation": "references",
   "library": "bootstrap",
   "slug": "FailClosed",
   "ref": "FailClosed#dfbc",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/FailClosed"
  }
 ],
 "related": [],
 "used_by": [],
 "url": "https://semahash.org/vocabularies/bootstrap/patterns/ThreeLevelCollision",
 "md_url": "https://semahash.org/vocabularies/bootstrap/patterns/ThreeLevelCollision.md",
 "library_url": "https://semahash.org/vocabularies/bootstrap"
}
