The 102-Endpoint .well-known Discovery Mesh, SLSA Provenance, Trojan Source Defense, and AI Citation Architecture
Modern developer platforms and AI retrieval pipelines increasingly interact with remote repositories and documentation programmatically before any human opens a web browser. Without machine-readable discovery registries, cryptographic provenance statements, bidirectional Unicode guards, and deterministic citation checks, automated pipelines either trust unverified web pages or silently ingest forged references and hidden control characters.
Across https://nandai.org/proofs, https://nandai.org/.well-known/well-known-catalog.json indexes 102 live .well-known RFC 8615 endpoints alongside client-side verification tools (https://nandai.org/tools) and stateless MCP endpoints (https://nandai.org/api/mcp).
1. The 102-Endpoint .well-known Open-Standard Discovery Mesh
Rather than burying compliance manifests behind JavaScript UI routes, https://nandai.org/.well-known/well-known-catalog.json publishes a self-describing JSON-LD DataCatalog listing all 102 endpoints (99 static files plus 3 reverse-proxied aliases) with exact byte lengths and SHA-256 digests across five categories:
| Discovery Category | Endpoint Count | Representative Specifications |
|---|---|---|
web_identity_feeds_and_catalogs | 40 | Atom/RSS feeds, WebFinger, site catalogs |
security_provenance_and_compliance | 20 | slsa-provenance.json, sbom.cdx.json, unicode-trojan-source-guard.json |
ai_mcp_and_agent_discovery | 15 | mcp.json, ai-answer-engine-citation-guide.json, llms-context-budget-manifest.json |
hardware_benchmarks_and_architecture | 14 | Apple M4 Pro telemetry manifests, Metal sizing specs |
open_source_commercial_and_governance | 13 | Licensing charters, governance policies, trust commitments |
Verify all cataloged SHA-256 digests directly in Node.js (v18+) without external dependencies:
// verify_well_known_mesh.mjs: Audit cataloged .well-known SHA-256 hashes import crypto from 'node:crypto'; const catalogUrl = 'https://nandai.org/.well-known/well-known-catalog.json'; const catalog = await fetch(catalogUrl).then((r) => r.json()); console.log('Total endpoints:', catalog.totalLiveWellKnownEndpoints); const spotTargets = [ 'https://nandai.org/.well-known/slsa-provenance.json', 'https://nandai.org/.well-known/unicode-trojan-source-guard.json', 'https://nandai.org/.well-known/ai-answer-engine-citation-guide.json', ]; for (const url of spotTargets) { const entry = catalog.endpoints.find((e) => e.endpoint === url); const bytes = Buffer.from(await fetch(url).then((r) => r.arrayBuffer())); const actualSha = crypto.createHash('sha256').update(bytes).digest('hex'); console.log({ url, bytes: bytes.length, matchesCatalog: actualSha === entry.sha256, }); } 2. SLSA Provenance & Immutable Zenodo DOI Anchoring
Supply-chain build integrity requires binding released artifacts to verifiable build provenance and immutable long-term DOIs:
- SLSA & in-toto Provenance (
/.well-known/slsa-provenance.json): Documents release build subjects, builder identities, and cryptographic digests verifiable throughverify_slsa_intoto_provenanceonhttps://nandai.org/api/mcp. - Zenodo Archival DOI (
10.5281/zenodo.24642737): Mirrors benchmark telemetry and citation metadata athttps://doi.org/10.5281/zenodo.24642737, paired withhttps://huggingface.co/nandai-orgdataset cards for independent checksum retrieval.
3. Trojan Source Bidirectional Unicode Defense (CVE-2021-42574)
Trojan Source attacks embed invisible Unicode bidirectional (BiDi) formatting controls inside source files or agent rules so compilers execute tokens in a different order than code reviewers read them. The browser analyzer at https://nandai.org/tools/unicode-regex-forensics (unicode-regex-forensics.engine.js) and /.well-known/unicode-trojan-source-guard.json scan UTF-8 streams offline (0 bytes uploaded) for:
- Critical BiDi Overrides:
U+202D(LRO) andU+202E(RLO,CVE-2021-42574). - BiDi Embeddings & Isolates:
U+202A(LRE),U+202B(RLE),U+202C(PDF),U+2066(LRI),U+2067(RLI),U+2068(FSI),U+2069(PDI),U+061C(ALM),U+200E(LRM),U+200F(RLM). - Zero-Width & Plane-14 Tag Characters:
U+200B(ZWSP),U+200C,U+200D, plus ReDoS exponential-backtracking AST patterns.
4. AI Answer-Engine Citation Architecture & Checksum Verification
AI answer engines frequently hallucinate plausible-looking academic citations (10.1234/..., impossible arXiv YYMM dates, or invalid ISBN/ISSN check digits). Two paired layers block unverified citations before publication:
- Answer-Engine Citation Rules (
/.well-known/ai-answer-engine-citation-guide.json): Instructs crawlers and synthesis models to prefer primary canonical URLs, Zenodo DOIs, and machine-readable JSON feeds over secondary summaries. - Client-Side Checksum Verification (
/tools/citation-verifier): ValidatesISBN-10(Modulo11),ISBN-13(Modulo10EAN),ISSN(Modulo11),arXivYYMMcalendar bounds, and placeholder DOI patterns (10.0000/,10.1234/,10.9999/) strictly in local browser memory.
Verified Engineering References
- Verifiable Engineering Proofs Hub:
https://nandai.org/proofs - Master
.well-knownCatalog (102Endpoints):https://nandai.org/.well-known/well-known-catalog.json - SLSA Provenance Manifest:
https://nandai.org/.well-known/slsa-provenance.json - Unicode Trojan Source Guard:
https://nandai.org/tools/unicode-regex-forensics - Client-Side Citation Checksum Verifier:
https://nandai.org/tools/citation-verifier - AI Answer-Engine Citation Guide:
https://nandai.org/.well-known/ai-answer-engine-citation-guide.json - Zenodo Archival DOI:
https://doi.org/10.5281/zenodo.24642737 - Hugging Face Organization:
https://huggingface.co/nandai-org