# CRAReady by RungLab — Complete Technical & API Reference

> **Service:** CRAReady (`https://cra.runglab.dev/`)
> **Audit Worker:** `https://cra-api.runglab.dev`
> **Auth Required:** None (`$0` unauthenticated live & offline scanning)
> **Fix Pack Offer:** `$49 USD` one-time via Creem (`https://www.creem.io/product/prod_17e9LOu4eCEw8zSseonjnF`) or PayPal invoice (`support@runglab.dev`)

## Endpoints

### 1. `GET https://cra-api.runglab.dev/health`
Returns `{"ok": true, "service": "craready-api", "version": "1.0.0"}`.

### 2. `GET https://cra-api.runglab.dev/api/audit?url=<target>` (or `POST /api/audit`)
Performs an SSRF-hardened live EU Cyber Resilience Act (Regulation (EU) 2024/2847 Art. 13/14) scan (`<= 22` subrequests, fail-closed Cloudflare DoH A/AAAA checks, blocks loopback/RFC1918/CGNAT/IMDS/ULA/NAT64/IP literals, max 4 redirects, 512 KiB HTML cap, 4.5s timeout, 600s edge cache unless `refresh=1`).

### 3. `POST https://cra-api.runglab.dev/api/audit-html`
Performs a zero-network audit on `{ url?, html?, securityTxt?, csafJson?, vexJson?, sbomJson?, headers?, dns? }`.

## 6 Weighted Deterministic Checks (`0-100`, Grades `A+..F`)
1. **RFC 9116 `/.well-known/security.txt` & Reporting Contact (`20 pts`)** — Findings `CRA-001..CRA-004`
2. **Coordinated Vulnerability Disclosure (CVD) & ENISA Art. 14 Readiness (`20 pts`)** — Findings `CRA-005..CRA-007`
3. **CSAF 2.0 & Machine-Readable VEX / Advisories (`20 pts`)** — Findings `CRA-008..CRA-010`
4. **SBOM & Software Supply-Chain Transparency (`15 pts`)** — Findings `CRA-011..CRA-012`
5. **Transport & Edge Security Posture (`15 pts`)** — Findings `CRA-013..CRA-014`
6. **DNS & Domain Authenticity (`10 pts`)** — Findings `CRA-015..CRA-016`

## $49 6-File Fix Pack Deliverables
1. `01-eu-cra-gap-report.md`
2. `02-security-txt-and-cvd-policy.md`
3. `03-csaf-provider-metadata.json`
4. `04-openvex-starter.json`
5. `05-enisa-art14-24h-runbook.md`
6. `06-ci-cra-guard.mjs`
