{
  "targetDir": "/Users/robrightmyer/Perforce/Audio Visual Player/output/creative-agentic-computing/community-expansion-2026-11-12/lab/fixtures/cdn-without-integrity.html",
  "totalFindings": 1,
  "guides": [
    {
      "guideId": "secure-external-subresources",
      "retrieveCommand": "npx modern-web-guidance retrieve secure-external-subresources",
      "count": 1,
      "rules": [
        {
          "ruleId": "secure-external-subresources",
          "summary": "Add Subresource Integrity (integrity=\"sha384-...\"), crossorigin=\"anonymous\", and referrerpolicy=\"no-referrer\" to versioned third-party CDN <script> and <link rel=\"stylesheet\"> elements.",
          "verifierRubric": {
            "keepWhen": [
              "An HTML or JSX <script src=\"https://...\"> or <link rel=\"stylesheet\" href=\"https://...\"> loads an immutable, version-pinned asset from a public third-party CDN (cdnjs.cloudflare.com, cdn.jsdelivr.net, unpkg.com, code.jquery.com, maxcdn.bootstrapcdn.com, stackpath.bootstrapcdn.com, ajax.googleapis.com) without an integrity attribute.",
              "An external cross-origin <script src=\"https://...\"> or <link rel=\"stylesheet\" href=\"https://...\"> specifies integrity=\"sha...\" but omits the required crossorigin=\"anonymous\" attribute."
            ],
            "dropWhen": [
              "The <script> or <link> element already includes both an integrity=\"sha256-... | sha384-... | sha512-...\" attribute and a crossorigin attribute.",
              "The URL points to a mutable/unversioned endpoint (such as analytics tags, live widgets, or Google Fonts CSS) or a first-party same-origin asset."
            ]
          },
          "count": 1,
          "findings": [
            {
              "file": "fixtures/cdn-without-integrity.html",
              "line": 1,
              "message": "External third-party CDN <script> resource (https://cdn.jsdelivr.net/npm/jquery@3.7.1/dist/jquery.min.js) lacks Subresource Integrity; add integrity=\"sha384-...\", crossorigin=\"anonymous\", and referrerpolicy=\"no-referrer\".",
              "lineContent": "<!doctype html><html lang=\"en\"><title>CDN fixture only</title><script src=\"https://cdn.jsdelivr.net/npm/jquery@3.7.1/dist/jquery.min.js\"></script></html>"
            }
          ]
        }
      ]
    }
  ],
  "activeRuleCount": 35,
  "activeGuideCount": 33,
  "note": "Checked 33 guides (35 deterministic rules; ~20% of the guidance corpus). Finding 1 item here only reflects deterministic legacy patterns; use 'search <topic>' for the rest of the catalog."
}
