# Zero-Beacon Browser Verification, CycloneDX 1.6 EU CRA SBOM Audits, and .well-known Open Discovery

> Source: <https://dev.to/karanyadav97/zero-beacon-browser-verification-cyclonedx-16-eu-cra-sbom-audits-and-well-known-open-discovery-2doj>
> Published: 2026-11-30 10:39:27+00:00

**Key takeaway:** The auditor runs four deterministic per-dependency checks (pinned versions, SHA-256/384/512 integrity hashes, license class, and a 0–100 CRA score) fully in browser memory with zero network uploads, emitting a CycloneDX 1.6 document with deterministic urn:uuid serials.

Supply-chain compliance and client-side privacy claims fail when verification scripts require uploading source manifests to third-party SaaS dashboards or parsing unstructured web pages. Engineering teams need reproducible audits that execute deterministically inside browser memory or stateless HTTP endpoints while publishing open machine-readable discovery records.

In this technical guide, we walk through the deterministic EU Cyber Resilience Act (CRA) and CycloneDX `1.6` SBOM scoring engine at [`https://nandai.org/tools/sbom-cra-auditor`](https://nandai.org/tools/sbom-cra-auditor), demonstrate zero-beacon client-side execution across [`https://nandai.org/tools`](https://nandai.org/tools), and validate CycloneDX/VEX/OSCAL checks through the `106`-tool Streamable HTTP MCP endpoint at [` https://nandai.org/api/mcp`](https://nandai.org/api/mcp).

The offline SBOM auditor in [`sbom-cra-auditor.engine.js`](https://nandai.org/tools/sbom-cra-auditor.engine.js) inspects `package.json`, `package-lock.json`, `Cargo.toml`, `pyproject.toml`, `requirements.txt`, `go.mod`, and CycloneDX `1.4` to `1.6` JSON documents entirely inside browser tab memory (`networkBytesUploaded: 0`).

Four deterministic checks run per dependency:

`isPinnedVersion`)`*`, `latest`, `next`, `canary`, `^`, `~`, `>`, `<`, `|`, `workspace:`, and `!=` ranges; accepts pinned releases such as `1.2.3` or `==1.2.3`.` parseIntegrityHashes`)` SHA-512`, `SHA-384`, and `SHA-256` digests from `package-lock.json`, `Cargo.toml`, `go.sum` (`h1:` hashes), or CycloneDX `hashes[]` arrays without fabricating missing digests.`classifyLicense`)` MIT`, `APACHE-2.0`, `BSD-2-CLAUSE`, `BSD-3-CLAUSE`, `ISC`, `0BSD`, `CC-BY-4.0`) from weak copyleft (` MPL-2.0`, `LGPL-2.1`, `EPL-2.0`, `CDDL-1.0`), strong or restricted licenses (` GPL-2.0`, `SSPL-1.0`, `BUSL-1.1`, `PROPRIETARY`), and `OR` dual-license expressions.`0` to `100`)

```
craScore = 25
  + (rootLicense != 'UNSPECIFIED' ? 15 : 0)
  + (securityContactPresent ? 15 : 0)      // e.g. /.well-known/security.txt (RFC 9116)
  + round((pinnedCount / total) * 20)
  + round((hashedCount / total) * 15)
  + round(((total - unknownLicenseCount) / total) * 10)
```

Every run produces a normalized CycloneDX `1.6` JSON document referencing `http://cyclonedx.org/schema/bom-1.6.schema.json` with deterministic `urn:uuid:` serial identifiers and zero `fetch()`, `XHR`, `navigator.sendBeacon()`, `WebSocket`, or `localStorage` activity.

Rather than trusting documentation, engineers can run the audited browser engine in Node.js (`v18+`) or browser DevTools while trapping all outbound transport globals:

``` js
// audit_zero_beacon_sbom.mjs: Zero-beacon SBOM & CRA check
const ENGINE_URL = 'https://nandai.org/tools/sbom-cra-auditor.engine.js';
const engineCode = await fetch(ENGINE_URL).then((r) => {
  if (!r.ok) throw new Error(`HTTP ${r.status}`);
  return r.text();
});

const mod = { exports: {} };
new Function('module', 'exports', engineCode)(mod, mod.exports);
const { auditManifest } = mod.exports;

const sampleLock = JSON.stringify({
  name: 'sovereign-cli',
  version: '2.0.0',
  license: 'MIT',
  lockfileVersion: 3,
  packages: {
    'node_modules/minimist': {
      version: '1.2.8',
      license: 'MIT',
      integrity: 'sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA=='
    }
  }
});

const report = auditManifest(sampleLock, true);
console.log({
  ecosystem: report.ecosystem,
  totalComponents: report.totalComponents,
  pinnedCount: report.pinnedCount,
  hashedCount: report.hashedCount,
  euCraReadinessScore: report.euCraReadinessScore,
  networkBytesUploaded: report.networkBytesUploaded,
  cyclonedxSchema: report.generatedCycloneDx.$schema,
});
```

Expected telemetry from this audit:

`totalComponents: 1`, `pinnedCount: 1`, `hashedCount: 1`
`euCraReadinessScore: 100`` networkBytesUploaded: 0``106` Tools)
When automating CycloneDX `1.6`, OpenVEX, NIST OSCAL `1.1.2`, and SLSA `v1.0` gates inside CI pipelines, call [`https://nandai.org/api/mcp`](https://nandai.org/api/mcp) over standard REST or JSON-RPC (`POST ?tool=audit_local_cyclonedx_sbom`):

```
curl -sS -X POST "https://nandai.org/api/mcp?tool=audit_local_cyclonedx_sbom" \
  -H "Content-Type: application/json" \
  -d '{
    "sbom_path_or_json": "{\"bomFormat\":\"CycloneDX\",\"specVersion\":\"1.6\",\"serialNumber\":\"urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79\",\"version\":1,\"metadata\":{\"component\":{\"type\":\"application\",\"name\":\"destiny-audit-demo\",\"version\":\"2.0.0\",\"licenses\":[{\"license\":{\"id\":\"MIT\"}}]}},\"components\":[{\"type\":\"library\",\"name\":\"demo-lib\",\"version\":\"1.2.3\",\"purl\":\"pkg:pypi/demo-lib@1.2.3\",\"licenses\":[{\"license\":{\"id\":\"MIT\"}}],\"hashes\":[{\"alg\":\"SHA-256\",\"content\":\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\"}]}]}"
  }'
```

Key compliance tools exposed in the same stateless server include `verify_cyclonedx_vex_attestation`, `audit_nist_oscal_component`, `verify_slsa_intoto_provenance`, `audit_opensource_spdx_governance`, and `audit_llms_txt_readiness`.

`.well-known` Open-Standard Discovery
Automated scanners, package clients, and AI research agents can discover all verification surfaces without scraping HTML through ratified `.well-known` manifests:

| Endpoint | Standard / Vocabulary | Purpose | 
|---|---|---|
| [`/.well-known/mcp.json`](https://nandai.org/.well-known/mcp.json) | Model Context Protocol ( `2025-03-26` ) | Full `106` -tool MCP Server Card & transport metadata | 
| [`/.well-known/sovereign-git-mirrors.json`](https://nandai.org/.well-known/sovereign-git-mirrors.json) | Schema.org `DataCatalog` +`SoftwareSourceCode` | Multi-origin Smart HTTP Git, Hugging Face, and Zenodo index | 
| [`/.well-known/security.txt`](https://nandai.org/.well-known/security.txt) | IETF RFC 9116 | Security disclosure policy & contact URI | 
| [`/.well-known/ai-plugin.json`](https://nandai.org/.well-known/ai-plugin.json) | OpenAI Plugin Manifest | API & tool discovery metadata | 
| [`/llms.txt`](https://nandai.org/llms.txt) | `llmstxt.org` | Curated context-budget directory for agents | 
| [`/feed.xml`](https://nandai.org/feed.xml) | RFC 4287 Atom 1.0 | Release & engineering syndication stream | 

`https://nandai.org/audits`` https://nandai.org/standards``https://nandai.org/tools`` https://nandai.org/tools/sbom-cra-auditor``https://nandai.org/api/mcp`` https://huggingface.co/nandai-org``https://doi.org/10.5281/zenodo.24642737`
