{"criteria_id":"sdk-version-safety/v1","version":"1.0.0","corpus":{"id":"sdk-safety-corpus/v1","sha256":"3fc3ffaaa2f29a45d483dd0d778f724baf6820626466a46485796684d472ba43"},"corpus_pin_definition":"The corpus pin is the SHA-256 of the corpus's canonical serialization (the corpus object excluding its sha256 field), computed and verifiable by the published harness (harness.mjs).","price":{"usdc_units_per_call":10000,"label":"$0.01","basis":"per check","status":"RULED"},"free_tier":{"per_day":100,"min_interval_ms":5000,"on_exhaustion":"402"},"ops":{"check":"POST /check — { sdk: <x402 SDK name>, version: <version> }"},"snapshot":{"id":"x402-sdk-flaws/v1-2026-10-24","date":"2026-10-24","provenance":{"primary":"V12 — https://v12.sh/blog/x402 (disclosed 2026-10-22; reported to the x402 team 2026-08-12)","corroboration":"The Hacker News, 2026-10-23 — notes no security advisory was filed and npm/PyPI audits showed no warning as of 2026-10-23","on_disk_record":["~/workspace/worker-manager/rnd-trend-log.md (2026-10-24 entry)","~/workspace/worker-manager/rnd-knowledge-base.md (§4 + §6)","~/workspace/worker-manager/rnd-idea-log.md (2026-10-28 L1 entry)"]},"established_totals":{"total_flaws":25,"critical_flaws":3,"criticals_fixed_dates":["2026-08-18","2026-08-20"],"advisory_filed":false},"established_bindings":{"sdk_identifiers":0,"fixed_versions":0,"note":"The on-disk record establishes NO package/SDK identifier and NO fixed-version number for any flaw. Every such field below is NOT-ESTABLISHED by design — never filled from memory or guesswork (brief rule)."},"record_file":"build/FLAW-RECORD.json (the pinned snapshot; the engine's embedded copy is asserted identical on every load-bearing field by the suite)"},"outcomes":["AFFECTED — submitted version strictly below the flaw's fixed threshold (both versions printed)","FIXED — submitted version at or above the flaw's fixed threshold (both versions printed; equality = FIXED)","NOT-APPLICABLE — the flaw is recorded against a different SDK than the one submitted","NOT-ESTABLISHED — the flaw's SDK binding and/or fixed version is not in the pinned record, so the flaw cannot grade this submission; the missing fields are named (all 25 flaws in snapshot v1)"],"overall_verdicts":["NOT-IN-RECORD — the submitted SDK/version is outside the pinned record's established data (every well-formed submission against snapshot v1)","AFFECTED — at least one established flaw grades AFFECTED (activates when a snapshot establishes bindings)","FIXED — at least one established flaw grades and none grades AFFECTED (activates likewise)"],"grading_rule":"A flaw grades a submission only when the snapshot establishes BOTH an SDK identifier matching the submitted name (trim + case-fold) AND a fixed-version threshold for that flaw. In snapshot v1 that set is empty: established_sdk_bindings = 0, established_fixed_versions = 0.","version_grammar":"Optional leading v; three-component numeric core MAJOR.MINOR.PATCH; optional -prerelease (dot-separated numeric/alphanumeric identifiers); optional +build metadata (printed, never compared). Anything else is version_malformed — a named FREE refusal, distinct from a NOT-IN-RECORD verdict on well-formed input.","version_comparison":"Core numeric, component by component; a version WITH a prerelease is LOWER than the same core without one; prerelease identifiers compare left to right (numeric identifiers compare numerically and rank below alphanumeric; a shorter identifier list that prefixes a longer one ranks lower); build metadata ignored for ordering. FIXED is at or above the threshold; strictly below is AFFECTED.","free_refusals":["invalid_request_body","sdk_missing","sdk_invalid","version_missing","version_malformed","CAP-EXCEEDED:body_bytes (413)"],"malformed":"A submission that cannot be assessed at all (missing fields, malformed version string) is a named FREE refusal, before any payment, at the pre-check and at the paid op alike — distinct from a NOT-IN-RECORD verdict on a well-formed submission.","verdict_gate_record":"Cycle 3 record (idea log 2026-10-28; knowledge base §6): L1's source condition is CONFIRMED MET (V12 primary + Hacker News, 2026-10-24); the Verdict gate was NEVER RUN — L1 stayed LEAD/unscored and its Cycle 3 scoring (demand, first payer, price, Verdict gate) remained owed. This build proceeds under the 2026-11-03 zero-demand doctrine; the price is labelled RULED (price ruled 2026-11-03).","honesty_boundary":"A report grades the submitted SDK name + version against the pinned snapshot x402-sdk-flaws/v1-2026-10-24 only — never against live data. It is not a security audit and not a claim that an SDK is safe. The pinned record establishes no SDK identifier and no fixed version for any flaw, so every well-formed submission grades NOT-IN-RECORD in v1: that verdict means the pinned record establishes nothing about the submission, including that the record's own coverage is limited to what the 2026-10-24 disclosure summary preserved (25 flaws, 3 critical, criticals fixed 2026-08-18/20, no advisory filed).","boundary":"Boundary: this service grades one submitted SDK name + version against one pinned, dated flaw snapshot. It does not fetch live vulnerability data, does not audit SDK code, and never upgrades a NOT-ESTABLISHED field into a verdict.","custody":{"ledger_closed_fields":["payer wallet","timestamp","day","price (USDC units) with the CAD fair-market-value block (rate, rate date, basis, cad_pending, refund — null unless refunded)","payment tx id","Solana fee (lamports)","criteria version","op","verdict line","per-check status summary (verdict + outcome counts + snapshot id only — never a submitted SDK name or version)","house flag"],"retention":"Submitted SDK names and versions are processed in memory only, never stored — not in KV, not in logs, not in the payments ledger, not in metrics. The payments ledger records only the closed field list published in the criteria (verdict, outcome counts, and the snapshot id — never a submitted SDK name or version). Because nothing is kept, a paid retry re-sends the SDK name and version."},"payment_includes":"$0.01 per check — labelled RULED (price ruled 2026-11-03). The payment includes: one version-safety check of the one x402 SDK name + version you submit against the pinned flaw snapshot named in the report (snapshot x402-sdk-flaws/v1-2026-10-24) — per-flaw outcomes for all 25 recorded flaws (AFFECTED / FIXED / NOT-APPLICABLE / NOT-ESTABLISHED, with both versions printed wherever a fixed threshold exists in the snapshot), the overall verdict (including NOT-IN-RECORD when the submitted SDK or version is outside the pinned record's established data), and the factors. Factors printed; no composite score. Nothing submitted is stored beyond the payments ledger's closed field list.","kill_line":"Kill line (M-43, under the operator's 2026-11-03 zero-demand doctrine): build, bank, and hold; judged at the fleet's periodic reviews. Tripwires, all stop-and-review: refunds >5% of paid calls in any 30-day window; free use >10x paid use; a wrong verdict from undisclosed stale/partial data — including any AFFECTED/FIXED verdict issued against a threshold the pinned snapshot does not establish = stop-serving.","service":"sdk-safety","endpoints":{"criteria":"GET /criteria (free)","precheck":"POST /precheck (free, validation + record-coverage only; no per-flaw verdict)","check":"POST /check (paid, $0.01 per check — labelled RULED (price ruled 2026-11-03): signed SDK version-safety report)","metrics":"GET /metrics"}}