SPDX 3.0.1 AI/Dataset, CycloneDX 1.6 ML-BOM/CBOM & 8-Level 256-Leaf Binary Merkle Tree
Closing Wave R55 (186 combined live engineering articles: 74 on DEV.to + 112 on Hashnode) pairs two complementary software supply-chain integrity layers: SPDX 3.0.1 AI/Dataset provenance + ECMA-424 CycloneDX 1.6 ML-BOM/C
Closing Wave R55 (186 combined live engineering articles: 74 on DEV.to + 112 on Hashnode) pairs two complementary software supply-chain integrity layers: SPDX 3.0.1 AI/Dataset provenance + ECMA-424 CycloneDX 1.6 ML-BOM/CBOM asset inventories, and an 8-level (2^8 = 256-leaf) binary SHA-256 Merkle tree committing every .well-known discovery endpoint under one verifiable root.
Across cyclonedx-1-6-spdx-sbom-json, spdx-3-0-1-ai-dataset-profile-provenance-spec.json, cyclonedx-1-6-mlbom-cbom-cryptographic-inventory.json, well-known-256-power-of-two-binary-hash-tree.json, and well-known-catalog.json, every model weight digest, cryptographic primitive, and origin discovery manifest can be verified in pure Python 3 stdlib with 0 B uploaded.
1. SPDX 3.0.1 / CycloneDX 1.6 CBOM & 256-Leaf Binary Merkle Tree
| Verification Dimension | Live Specification | Cryptographic / Provenance Proof |
|---|---|---|
SPDX 3.0.1 AI & Dataset |
spdx-3-0-1-ai-dataset-profile-provenance-spec.json |
3 ai_AIPackage GGUF entries + 55-split dataset anchored to DOI 10.5281/zenodo.24642737 (dataset profile) |
CycloneDX 1.6 CBOM / ML-BOM |
cyclonedx-1-6-mlbom-cbom-cryptographic-inventory.json |
5 cryptographic assets (Ed25519, SHA-256, X-Wing, TLSv1.3, AES-XTS-128) + 3 GGUF v3 models (cmvpFips1403Certified: false) |
2^8 Merkle Origin Tree |
well-known-256-power-of-two-binary-hash-tree.json |
256 leaves (255 live + leaf #256), 8 levels -> root 58f8bd6ff438ae1e..., O(log N) inclusion proof |
| Offline MIT MCP Auditors |
api/mcp (120 tools, 26 hooks) |
#8, #18, #28, #30, #52, #53, #75, #91, #93, #98
|
Boundary notice: formal CMVP FIPS 140-3 module validation is not claimed (cmvpFips1403Certified: false).
2. Combined Zero-Dependency Python 3 Verifier (186-Article Checkpoint)
#!/usr/bin/env python3
"""Verify SPDX 3.0.1, CycloneDX 1.6 CBOM & 8-level 256-leaf SHA-256 Merkle proof."""
import hashlib
import json
import urllib.request
HEADERS = {"User-Agent": "Destiny186SupplyChainMerkleVerifier/2.0"}
def fetch_bytes(url: str) -> bytes:
with urllib.request.urlopen(urllib.request.Request(url, headers=HEADERS), timeout=15) as r:
assert r.status == 200
return r.read()
spdx = json.loads(fetch_bytes("https://nandai.org/.well-known/spdx-3-0-1-ai-dataset-profile-provenance-spec.json"))
cbom = json.loads(fetch_bytes("https://nandai.org/.well-known/cyclonedx-1-6-mlbom-cbom-cryptographic-inventory.json"))
tree = json.loads(fetch_bytes("https://nandai.org/.well-known/well-known-256-power-of-two-binary-hash-tree.json"))
assert len(spdx["spdx3AiPackages"]) == 3 and spdx["spdx3DatasetPackages"][0]["zenodoDoi"] == "10.5281/zenodo.24642737"
assert cbom["cyclonedxSchemaAlignment"]["specVersion"] == "1.6" and cbom["cyclonedxSchemaAlignment"]["cmvpFips1403Certified"] is False
idx = 1 # Verify leaf #1 in O(log_2 256) = 8 steps
leaf = tree["leaves256"][idx]
h = hashlib.sha256(fetch_bytes(leaf["endpoint"])).hexdigest()
assert h == leaf["sha256"]
levels = [[x["sha256"] for x in tree["leaves256"]]] + [tree["interiorLevels1To8"][f"level_{k}"] for k in range(1, 8)]
for lvl in range(8):
sib = levels[lvl][idx ^ 1]
left, right = (h, sib) if idx % 2 == 0 else (sib, h)
h = hashlib.sha256(bytes.fromhex(left) + bytes.fromhex(right)).hexdigest()
idx >>= 1
assert h == tree["merkleTreeSpec"]["merkleRoot"]
print("186-article checkpoint: SPDX 3.0.1, CycloneDX 1.6 CBOM & 8-level Merkle proof PASS.")
Additional sovereign engineering references: https://nandai.org/formats/cyclonedx-1-6-spdx-sbom-json, https://nandai.org/.well-known/sbom.cdx.json, https://nandai.org/.well-known/vex.cdx.json, https://nandai.org/security, and https://nandai.org/src/destiny/.
Download Destiny 2.0 for Mac (M1–M4) — 100% local, zero-cloud Apple Silicon Metal inference & native MCP workbench.
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.