Zero-Dependency Parsers · 15-Min Feed Correlation

EU CRA CISA KEV & ENISA EUVD Lockfile & SBOM Scanner

Deterministic, zero-dependency lockfile and CycloneDX/SPDX SBOM scanner correlating CISA KEV, ENISA EUVD, and OSV/GHSA across npm, pnpm, Cargo, Go, PyPI, Poetry, and Maven.

1. Zero-Auth CLI Quickstart (@craswitch/cli)

Zero Login · Auto-JSON
# Scan current workspace lockfiles offline (zero auth, zero external runtime deps)
npx -y @craswitch/cli scan --json

# Scan a pre-built CycloneDX 1.6 or SPDX 2.3 SBOM file
npx -y @craswitch/cli scan --sbom dist/app.cdx.json --json

# Optional: enrich against live craswitch.dev CISA KEV + ENISA EUVD + OSV feed
npx -y @craswitch/cli scan --remote --json

2. GitHub Action (cra-switch-action@v1)

Free Public Repos
# Continuous lockfile scanning on every push, PR, and release tag
      - uses: theperipetycompany/cra-switch-action@v1
        with:
          fail-on-confirmed: 'true'
          out-dir: '.cra-switch'

Hosted Stateless Scan Endpoint (POST /api/v1/scan)

curl -sS -X POST "https://craswitch.dev/api/v1/scan" \
  -H "Content-Type: application/json" \
  -d '{"kind":"package-lock.json","repo":"acme-eu/payments-sdk","content":"..."}'

Supported Zero-Dependency Lockfile & SBOM Parsers

Format / FileEcosystemScope & PURL Normalization
package-lock.json (v1/v2/v3)npmSeparates prod vs dev; canonical pkg:npm/... PURLs
pnpm-lock.yaml (v6/v9)npmStrips peer suffixes; separates prod vs dev
Cargo.lockcargoExact crate versions -> pkg:cargo/...
go.sumgolangDeduplicates /go.mod entries -> pkg:golang/...
requirements.txt / poetry.lockpypiPEP 503 name normalization; strips dev/test groups -> pkg:pypi/...
pom.xmlmavenResolves Maven properties; excludes test scope -> pkg:maven/...
cyclonedx.json / spdx.jsonAll (incl. C/C++/Docker)CycloneDX 1.6 & SPDX 2.3 SBOM PURL extraction

Key EU CRA Article 14 Guardrails

  • 01Zero external runtime dependencies and zero code execution: lockfiles are parsed as static text/JSON/XML/TOML.
  • 02Hosted CRA-Switch polls CISA KEV, ENISA EUVD, and OSV/GHSA every 15 minutes and correlates PURL-less KEV/EUVD records against package-level OSV ranges.
  • 03Dev-only dependencies are automatically excluded from production exploit alerts to eliminate false positives.