{
  "ok": true,
  "executedAt": "2026-12-02T05:45:16.335Z",
  "durationMs": 24.39,
  "scorecardSha256": "7db455a9497df736cbddc63c1e7138ba339bfcb478d7f43531bc7514956e2268",
  "standard": "PROOFMARKET-VERITAS-8183-REDTEAM-V1",
  "version": "0.1.0",
  "privacyGuarantee": {
    "usesRealUserData": false,
    "usesSyntheticCanariesOnly": true,
    "holdsVeritasPrivateKey": false
  },
  "summary": {
    "totalScenarios": 32,
    "passedCount": 32,
    "failedCount": 0,
    "passRatePct": 100,
    "functionalPromiseCoverage": {
      "totalDocumentedPromises": 8,
      "verifiedPromises": 8,
      "coveragePct": 100
    }
  },
  "promiseCoverageMatrix": [
    {
      "promiseId": "PM-PROMISE-01",
      "promise": "Separation of powers: ProofMarket verifies VERITAS Ed25519 signatures offline and cannot forge valid actas with rogue keys",
      "scenarioIds": [
        "PM-01",
        "PM-02",
        "PM-03"
      ],
      "passedScenarios": 3,
      "totalScenarios": 3,
      "coveragePct": 100,
      "status": "VERIFIED"
    },
    {
      "promiseId": "PM-PROMISE-02",
      "promise": "Mandatory VERITAS security gate blocks trojans, prompt injection, SSRF URLs, and malformed skills before publication",
      "scenarioIds": [
        "PM-04",
        "PM-05",
        "PM-06",
        "PM-07",
        "PM-08"
      ],
      "passedScenarios": 5,
      "totalScenarios": 5,
      "coveragePct": 100,
      "status": "VERIFIED"
    },
    {
      "promiseId": "PM-PROMISE-03",
      "promise": "SHA-256 anti-drift freezes approved products, detects any post-approval tampering, and blocks drifted checkouts",
      "scenarioIds": [
        "PM-09",
        "PM-10"
      ],
      "passedScenarios": 2,
      "totalScenarios": 2,
      "coveragePct": 100,
      "status": "VERIFIED"
    },
    {
      "promiseId": "PM-PROMISE-04",
      "promise": "Reviews require a genuine Ed25519 VERITAS Notary Acta and reject missing, forged, tampered, or duplicate actas",
      "scenarioIds": [
        "PM-11",
        "PM-12",
        "PM-13"
      ],
      "passedScenarios": 3,
      "totalScenarios": 3,
      "coveragePct": 100,
      "status": "VERIFIED"
    },
    {
      "promiseId": "PM-PROMISE-05",
      "promise": "Strict legal separation: explicit Seller Terms opt-in required and Public Directory items are hard-blocked (HTTP 403) from checkout/resale",
      "scenarioIds": [
        "PM-14",
        "PM-15"
      ],
      "passedScenarios": 2,
      "totalScenarios": 2,
      "coveragePct": 100,
      "status": "VERIFIED"
    },
    {
      "promiseId": "PM-PROMISE-06",
      "promise": "Transparent 91% creator / 9% ProofMarket split and live per-store dedicated MCP (/s/:handle/mcp) & A2A (/s/:handle/a2a) channels",
      "scenarioIds": [
        "PM-16",
        "PM-17",
        "PM-18"
      ],
      "passedScenarios": 3,
      "totalScenarios": 3,
      "coveragePct": 100,
      "status": "VERIFIED"
    },
    {
      "promiseId": "PM-PROMISE-07",
      "promise": "Local AI Extensions catalog enforces declared permissions manifests, blocks undeclared network/FS access, and assigns objective VERITAS Local Safety Grades (A+/A/B/F)",
      "scenarioIds": [
        "PM-19",
        "PM-20",
        "PM-21",
        "PM-22"
      ],
      "passedScenarios": 4,
      "totalScenarios": 4,
      "coveragePct": 100,
      "status": "VERIFIED"
    },
    {
      "promiseId": "PM-PROMISE-08",
      "promise": "Pre-download AI/ML & GitHub repo scanner + local quarantine sanitizer catches npm postinstall, HuggingFace trust_remote_code, unsafe ML pickle/torch.load, quarantines/deletes risky binaries, with zero false positives on PyTorch model.eval()",
      "scenarioIds": [
        "PM-23",
        "PM-24",
        "PM-25",
        "PM-26",
        "PM-27",
        "PM-28",
        "PM-29",
        "PM-30",
        "PM-31",
        "PM-32"
      ],
      "passedScenarios": 10,
      "totalScenarios": 10,
      "coveragePct": 100,
      "status": "VERIFIED"
    }
  ],
  "knownLimitationsNotClaimed": [
    {
      "id": "PM-LIMIT-01",
      "area": "Remote Seller Black-Box Backends",
      "statement": "Pre-publication auditing and SHA-256 manifest hashing detect observable threats and metadata drift, but cannot observe private server-side code on third-party HTTPS servers. High-ticket orders should use Base Mainnet ERC-8183 Escrow."
    },
    {
      "id": "PM-LIMIT-02",
      "area": "Independent Human Audit / SOC2",
      "statement": "Automated Red Team suites and Sigstore CI attestations do not substitute for a commissioned external human security firm audit or SOC2 certification (planned for Phase 4)."
    },
    {
      "id": "PM-LIMIT-03",
      "area": "Phase 1 Payment Scope",
      "statement": "Phase 1 settles exclusively in transparent Base Mainnet USDC (x402 / ERC-8183). Fiat / Stripe Connect rails for human buyers are scheduled for Phase 3."
    }
  ],
  "scenarios": [
    {
      "id": "PM-01",
      "title": "Genuine VERITAS Ed25519 Notary Acta verifies offline cleanly",
      "passed": true,
      "durationMs": 0.72,
      "detail": "valid=true"
    },
    {
      "id": "PM-02",
      "title": "Acta signed by rogue key fails verification against VERITAS public key",
      "passed": true,
      "durationMs": 0.33,
      "detail": "Acta signer key does not match trusted VERITAS public key."
    },
    {
      "id": "PM-03",
      "title": "Tampering dealAmountUsdc inside signed acta invalidates offline verification",
      "passed": true,
      "durationMs": 0.23,
      "detail": "Acta content hash mismatch (tampered payload)."
    },
    {
      "id": "PM-04",
      "title": "Mandatory VERITAS gate rejects SKILL_PACKAGE reading ~/.ssh/id_rsa",
      "passed": true,
      "durationMs": 0.91,
      "detail": "REJECTED_BY_VERITAS_GATE"
    },
    {
      "id": "PM-05",
      "title": "Mandatory VERITAS gate rejects prompt injection inside product description",
      "passed": true,
      "durationMs": 0.2,
      "detail": "REJECTED_BY_VERITAS_GATE"
    },
    {
      "id": "PM-06",
      "title": "Mandatory VERITAS gate blocks SSRF private/plaintext endpoint URLs",
      "passed": true,
      "durationMs": 0.29,
      "detail": "ssrfAndHttpBlocked=true"
    },
    {
      "id": "PM-07",
      "title": "Mandatory VERITAS gate rejects arbitrary child_process shell sink",
      "passed": true,
      "durationMs": 0.23,
      "detail": "REJECTED_BY_VERITAS_GATE"
    },
    {
      "id": "PM-08",
      "title": "Clean benign SKILL_PACKAGE passes mandatory VERITAS gate with frozen SHA-256",
      "passed": true,
      "durationMs": 1.72,
      "detail": "status=VERIFIED_INTACT"
    },
    {
      "id": "PM-09",
      "title": "Post-approval product tampering immediately flips integrity to DRIFT_DETECTED_REAUDIT_REQUIRED",
      "passed": true,
      "durationMs": 0.06,
      "detail": "status=DRIFT_DETECTED_REAUDIT_REQUIRED"
    },
    {
      "id": "PM-10",
      "title": "Checkout strictly blocks drifted product (HTTP 409 PRODUCT_DRIFT_BLOCKED_REAUDIT_REQUIRED)",
      "passed": true,
      "durationMs": 0.04,
      "detail": "PRODUCT_DRIFT_BLOCKED_REAUDIT_REQUIRED"
    },
    {
      "id": "PM-11",
      "title": "Review submission accepts genuine Ed25519 VERITAS Notary Acta",
      "passed": true,
      "durationMs": 1.05,
      "detail": "reviews=1"
    },
    {
      "id": "PM-12",
      "title": "Review submission rejects missing or rogue-signed acta (HTTP 400 INVALID_ACTA_SIGNATURE)",
      "passed": true,
      "durationMs": 0.31,
      "detail": "forgedReviewsBlocked=true"
    },
    {
      "id": "PM-13",
      "title": "Duplicate replay of the same VERITAS Notary Acta is rejected (HTTP 409)",
      "passed": true,
      "durationMs": 0.37,
      "detail": "DUPLICATE_ACTA_REVIEW"
    },
    {
      "id": "PM-14",
      "title": "Creating a commercial store without explicit Seller Terms consent is blocked (HTTP 400)",
      "passed": true,
      "durationMs": 0.02,
      "detail": "MARKETPLACE_SELLER_TERMS_REQUIRED"
    },
    {
      "id": "PM-15",
      "title": "Hard-coded legal guard blocks checkout on PUBLIC_DIRECTORY_NO_RESALE listings (HTTP 403)",
      "passed": true,
      "durationMs": 0.01,
      "detail": "PUBLIC_DIRECTORY_NO_RESALE_BLOCKED"
    },
    {
      "id": "PM-16",
      "title": "Commercial checkout enforces transparent 91% creator / 9% ProofMarket USDC split",
      "passed": true,
      "durationMs": 0.06,
      "detail": "creator=0.91, fee=0.09"
    },
    {
      "id": "PM-17",
      "title": "Per-store dedicated MCP endpoint (/s/:handle/mcp) lists and quotes intact verified products",
      "passed": true,
      "durationMs": 0.17,
      "detail": "tool=buy_clean_json_tool"
    },
    {
      "id": "PM-18",
      "title": "Per-store dedicated A2A endpoint (/s/:handle/a2a) handles message/send and tasks/get cleanly",
      "passed": true,
      "durationMs": 0.18,
      "detail": "taskId=pm-a2a-d1f5c4db-f7c3-44cb-a955-8bb3ce6a62fd"
    },
    {
      "id": "PM-19",
      "title": "Local AI extension claiming networkAccess=false but calling fetch() is rejected (HTTP 422)",
      "passed": true,
      "durationMs": 0.13,
      "detail": "grade=F"
    },
    {
      "id": "PM-20",
      "title": "Local AI extension claiming filesystemAccess=NONE but calling readFileSync is rejected (HTTP 422)",
      "passed": true,
      "durationMs": 0.08,
      "detail": "grade=F"
    },
    {
      "id": "PM-21",
      "title": "Clean offline local extension earns Grade A+ (100/100) and appears in runtime-filtered catalog",
      "passed": true,
      "durationMs": 1.58,
      "detail": "grade=A+, score=100"
    },
    {
      "id": "PM-22",
      "title": "Free (0 USDC) local extension returns FREE_VERIFIED_OPEN_EXTENSION while paid (0.50 USDC) returns 91%/9% split",
      "passed": true,
      "durationMs": 0.28,
      "detail": "freeMode=FREE_VERIFIED_OPEN_EXTENSION, paidCreatorShare=91"
    },
    {
      "id": "PM-23",
      "title": "Repo scanner catches malicious npm postinstall shell dropper (DO_NOT_DOWNLOAD · Grade F)",
      "passed": true,
      "durationMs": 0.41,
      "detail": "verdict=DO_NOT_DOWNLOAD, grade=F"
    },
    {
      "id": "PM-24",
      "title": "Repo scanner flags unsafe PyTorch torch.load() without weights_only=True",
      "passed": true,
      "durationMs": 0.16,
      "detail": "score=90, findings=1"
    },
    {
      "id": "PM-25",
      "title": "Repo scanner awards SAFE_TO_DOWNLOAD Grade A+ (100/100) to clean benign ML/AI repository",
      "passed": true,
      "durationMs": 0.08,
      "detail": "grade=A+"
    },
    {
      "id": "PM-26",
      "title": "Repo scanner blocks private SSRF and plaintext http:// non-GitHub target URLs",
      "passed": true,
      "durationMs": 0.07,
      "detail": "ssrfBlocked=true"
    },
    {
      "id": "PM-27",
      "title": "ML specialization: zero false positives on PyTorch model.eval() and benign MuJoCo/CUDA env vars (le-wm pattern)",
      "passed": true,
      "durationMs": 0.2,
      "detail": "grade=A+, findings=0"
    },
    {
      "id": "PM-28",
      "title": "ML specialization: detects HuggingFace trust_remote_code=True RCE risk with remediation recipe",
      "passed": true,
      "durationMs": 0.04,
      "detail": "score=78"
    },
    {
      "id": "PM-29",
      "title": "ML specialization: detects bundled binary .pt/.pkl checkpoint artifact and np.load(allow_pickle=True)",
      "passed": true,
      "durationMs": 0.06,
      "detail": "ids=BINARY_PICKLE_CHECKPOINT_IN_REPO,UNSAFE_ML_PICKLE_DESERIALIZATION"
    },
    {
      "id": "PM-30",
      "title": "Fail-closed guard: empty / zero-file repo scan NEVER returns SAFE_TO_DOWNLOAD Grade A+",
      "passed": true,
      "durationMs": 0.02,
      "detail": "verdict=REVIEW_BEFORE_DOWNLOAD, grade=C"
    },
    {
      "id": "PM-31",
      "title": "Local quarantine CLI moves bundled .pt/.exe binaries into _veritas_quarantine/ while preserving clean source",
      "passed": true,
      "durationMs": 8.9,
      "detail": "quarantined=true, origRemoved=true"
    },
    {
      "id": "PM-32",
      "title": "Local quarantine CLI --mode=delete permanently removes risky binary checkpoints and generates audit report",
      "passed": true,
      "durationMs": 3.16,
      "detail": "deleted=true"
    }
  ]
}