Free CycloneDX 1.6 EU CRA SBOM & CVE-2021-42574 Trojan-Source Scanner in Browser (Zero Repo Upload)

2026-12-01来源 dev.toEnglish

Before shipping a production web app, npm library, or native binary into European markets, two compliance and supply-chain checks increasingly block releases:

  1. EU Cyber Resilience Act (CRA) SBOM & license hygiene — unpinned semver ranges (^, *), copyleft contamination (GPL-3.0, AGPL-3.0), missing SECURITY.md, and machine-readable CycloneDX 1.6 manifests.
  2. CVE-2021-42574 (Trojan Source) bidirectional Unicode overrides — invisible Bidi control codepoints (U+202A–U+202E, U+2066–U+2069) disguised inside PR diffs, comments, or string literals so reviewers see different control flow than the compiler executes.

Upload-based SaaS scanners force you to push private manifests, lockfiles, or proprietary contracts to third-party servers. Instead, you can parse and audit manifests completely in client-side RAM at nandai.org/tools/sbom-cra-auditor.

1. Zero-Upload CycloneDX 1.6 & EU CRA Readiness in Browser RAM

Drop or paste a package.json, Cargo.toml, pyproject.toml, go.mod, or existing CycloneDX JSON file into the Dependency License & SBOM Checker and it evaluates everything offline inside the browser tab:

  • Version Pinning Audit: Flags floating ranges (^, ~, *, latest) against reproducible exact pins.
  • Copyleft & Unknown License Detection: Separates permissive licenses (MIT, Apache-2.0, BSD-3-Clause, ISC) from viral copyleft dependencies or missing SPDX identifiers.
  • EU CRA Readiness Score: Checks presence of vulnerability disclosure metadata (SECURITY.md, +15 CRA points), pinned dependency completeness, and exports a clean CycloneDX 1.6 .json SBOM alongside a downloadable CRA compliance report.
{ "bomFormat": "CycloneDX", "specVersion": "1.6", "version": 1, "metadata": { "tools": { "components": [{ "name": "Destiny SBOM & CRA Auditor", "type": "application" }] } } } 

2. Catching CVE-2021-42574 Trojan Source BiDi Control Codepoints

Even with clean dependencies, source files and pasted PR snippets can embed bidirectional Unicode overrides that visually swap tokens without tripping syntax highlighting:

const TROJAN_BIDI_RE = /[\u202A-\u202E\u2066-\u2069\u200E\u200F\u061C]/g; export function findTrojanSourceCodepoints(source: string) { const hits: Array<{ index: number; codepoint: string }> = []; for (const match of source.matchAll(TROJAN_BIDI_RE)) { const cp = match[0].codePointAt(0)!.toString(16).toUpperCase().padStart(4, '0'); hits.push({ index: match.index ?? 0, codepoint: `U+${cp}` }); } return hits; } 

For full CLI command sheets covering CycloneDX verification, BiDi source scans, and SRI/CSP3 audits, see nandai.org/commands/cyclonedx-sbom-trojan-source-csp-commands.

3. Contract, Package & Site Header Verification

When your release pipeline also needs website security header checks, package CVE lookups, or NDA/vendor agreement clause auditing (ip, unlimited liability, or training-rights traps), use the live Code Security & Privacy Scanner.

Reproducible evaluation datasets and security audit benchmarks are archived openly under CERN Zenodo DOI 10.5281/zenodo.24712377.

If you want unlimited offline scanning across local Git repositories, Swift/Rust workspaces, and internal PDFs without leaving macOS, install the notarized ~271 MB Apple Silicon app from nandai.org/download.

原文:https://www.a8q9.cn/en/article/free-cyclonedx-1-6-eu-cra-sbom-cve-2021-42574-trojan-source-scanner-in-browser-z-5d9938.html

相关文章