Developer, CLI & Coding-Agent Reference

@craswitch/cli, GitHub Action, Thin Remote MCP & HTTP API

Start locally with zero auth via npx -y @craswitch/cli scan --json, automate CI with theperipetycompany/cra-switch-action@v1, or connect hosted org workflows with @craswitch/mcp-server. Free for unlimited public OSS repos; private repos, CI SBOM ingestion, and 10-year Customer-Owned AWS S3 Object Lock evidence use Polar.sh fiat billing ($49 / $149 / $399 monthly or $490 / $1,490 / $3,990 annual).

Zero-Auth Local CLI Quickstart (@craswitch/cli)

Zero Login · Auto-JSON · Semantic Exit Codes

Recommended primary interface for developers and coding agents (Claude Code, Cursor, Codex, Antigravity). Runs 100% locally with zero API keys, emits pure JSON on stdout when non-TTY, and pairs with the eu-cra-article-14 agent skill (npx skills add theperipetycompany/cra-switch-action).

# 1. Zero-auth local lockfile / SBOM scan (auto-JSON when piped or in coding agents)
npx -y @craswitch/cli scan --json

# 2. Scaffold .cra-vex.json v2 non-interactively
npx -y @craswitch/cli init-vex --repo acme-eu/payments-sdk --contact security@acme.eu --json

# 3. Generate 1:1 ENISA SRP 24h Early Warning worksheet JSON + Art. 14(8) draft
npx -y @craswitch/cli draft-srp --cve CVE-2025-55182 --product payments-sdk --member-states DE,FR --json

# 4. Verify live Ed25519 OpenVEX attestation
npx -y @craswitch/cli verify-vex "https://craswitch.dev/.well-known/vex.json?repo=acme-eu/payments-sdk" --json

Thin Remote MCP Server (@craswitch/mcp-server)

Hosted Org & Vendor Workflows

Use @craswitch/cli for local zero-auth scanning. Install the thin remote MCP server (Official MCP Registry: dev.craswitch/mcp-server) when an IDE agent needs hosted vendor status lookups or remote OpenVEX verification:

  • 01craswitch_scan_lockfile — scan lockfiles & return 4-state triage status
  • 02craswitch_init_vex — scaffold .cra-vex.json v2 with CSIRT & Member States
  • 03craswitch_add_suppression — append not_affected VEX + audit timestamp
  • 04craswitch_draft_enisa_srp — generate 1:1 ENISA SRP worksheet + Art. 14(8) notice
{
  "mcpServers": {
    "craswitch": {
      "command": "npx",
      "args": ["-y", "@craswitch/mcp-server"],
      "env": {
        "CRA_SWITCH_URL": "https://craswitch.dev"
      }
    }
  }
}

Public HTTP Endpoints & OpenVEX Verification

Ed25519 Signed · Zero Auth

Every monitored public repository publishes cryptographically signed OpenVEX v0.2.0 attestations, SVG badges, and stateless lockfile/SRP utilities over standard HTTPS JSON:

  • GET/.well-known/vex.json?repo=:org/:repo — Ed25519-signed OpenVEX v0.2.0 document
  • GET/.well-known/jwks.json — Public Ed25519 JWK Set for offline signature checks
  • POST/api/v1/scan — Stateless lockfile & CycloneDX/SPDX SBOM KEV/EUVD scanner
  • POST/api/v1/tools/srp-worksheet — Deterministic 1:1 ENISA SRP + Art. 14(8) worksheet JSON
  • POST/api/v1/sbom — Authenticated CI CycloneDX 1.6 / SPDX 2.3 SBOM ingestion (Scale & Org)

Signed OpenVEX & JWKS curl Example

# 1. Fetch Ed25519-signed OpenVEX v0.2.0 attestation for a monitored repository
curl -i "https://craswitch.dev/.well-known/vex.json?repo=acme-eu/payments-sdk"

# 2. Fetch canonical public Ed25519 JWKS for offline verification
curl -sS "https://craswitch.dev/.well-known/jwks.json"

CI SBOM Ingestion (POST /api/v1/sbom)

# Upload CycloneDX 1.6 or SPDX 2.3 SBOM from CI (Scale & Organization tiers)
curl -sS -X POST "https://craswitch.dev/api/v1/sbom?repo=acme-eu/payments-sdk&releaseTag=v2.5.0" \
  -H "Authorization: Bearer $SBOM_API_SECRET" \
  -H "Content-Type: application/vnd.cyclonedx+json" \
  --data-binary @sbom.cdx.json