Cryptographic & Isolation Controls
Security Policy
Zero-Code-Execution Lockfile Scanning · Ed25519 Signed Attestations
1. Zero-Code-Execution Lockfile Scanning
CRA-Switch never executes customer code, build scripts, or package manager lifecycle hooks (no npm install, postinstall, cargo build, or setup.py execution).
- Shallow Blob Retrieval: Release ingestion fetches only declarative lockfile blobs and
.cra-vex.jsonover authenticated forge APIs — never performing full repositorygit cloneoperations. - Strict Resource Bounds: Every scan enforces deterministic
SCAN_LIMITS: maximum 50 lockfiles per repository, maximum 10 MB per lockfile, and a 15s execution ceiling. - Pure Parser Isolation: Lockfile parsers run inside Cloudflare Workers V8 isolates with zero external runtime npm dependencies.
2. Cryptographic Integrity & Webhook Verification
- Constant-Time Webhook HMAC-SHA256: Every inbound webhook from GitHub (
X-Hub-Signature-256), GitLab, OCI registries, and Polar.sh is verified using WebCrypto HMAC-SHA256 with constant-time comparison before processing. - Ed25519 OpenVEX Signatures: All
/.well-known/vex.jsonand x402 attestation payloads are signed over canonical sorted JSON using Ed25519 so buyers and agents can verify integrity independently in-browser or offline. - Daily Synthetic Canary: An automated daily canary exercises release ingestion, KEV matching, ENISA SRP dossier validation, Ed25519 signing/verification, and badge rendering end-to-end. Status is exposed at /api/health.
3. Platform Self-VEX & Vulnerability Disclosure
CRA-Switch publishes its own OpenVEX attestation at /.well-known/vex.json. If you discover a security vulnerability in CRA-Switch, please report it responsibly without exploiting user data:
- Security Team:
security@cra-switch.eu(coordinated disclosure, 24h acknowledgment target) - Abuse & Incident Escalation:
abuse@cra-switch.eu