{
  "bomFormat": "CycloneDX",
  "specVersion": "1.6",
  "serialNumber": "urn:uuid:ac5b1a93-15de-8535-83a6-03fec570c552",
  "version": 1,
  "metadata": {
    "timestamp": "2026-10-13T23:25:50Z",
    "tools": {
      "components": [
        {
          "type": "application",
          "name": "crateward",
          "version": "0.1.0",
          "externalReferences": [
            {
              "type": "website",
              "url": "https://crateward.com"
            }
          ]
        }
      ]
    },
    "manufacturer": {
      "name": "Crateward",
      "url": [
        "https://crateward.com"
      ]
    },
    "component": {
      "type": "library",
      "bom-ref": "pkg:cargo/bao-mozjs-sys@153.3.0-2",
      "name": "bao-mozjs-sys",
      "version": "153.3.0-2",
      "purl": "pkg:cargo/bao-mozjs-sys@153.3.0-2"
    },
    "properties": [
      {
        "name": "crateward:sbom",
        "value": "urn:cdx:4aaf9560-971b-8d5e-a355-460e83e7de75/2"
      },
      {
        "name": "crateward:score",
        "value": "55"
      },
      {
        "name": "crateward:level",
        "value": "high"
      },
      {
        "name": "crateward:coverage",
        "value": "dynamic on Linux"
      },
      {
        "name": "crateward:runs",
        "value": "check, full"
      },
      {
        "name": "crateward:review",
        "value": "false_positive"
      },
      {
        "name": "crateward:analyzer-version",
        "value": "6"
      }
    ]
  },
  "vulnerabilities": [
    {
      "bom-ref": "CW-35401-network_lookup",
      "id": "CW-35401-network_lookup",
      "source": {
        "name": "Crateward",
        "url": "https://crateward.com"
      },
      "ratings": [
        {
          "source": {
            "name": "Crateward"
          },
          "severity": "medium",
          "method": "other"
        }
      ],
      "description": "The build looked up index.crates.io.\nThe build looked up index.crates.io.",
      "affects": [
        {
          "ref": "urn:cdx:4aaf9560-971b-8d5e-a355-460e83e7de75/2#pkg:cargo/bao-mozjs-locale-glue@153.3.0"
        },
        {
          "ref": "urn:cdx:4aaf9560-971b-8d5e-a355-460e83e7de75/2#pkg:cargo/bao-mozjs-normalizer-glue@153.3.0"
        }
      ],
      "analysis": {
        "state": "false_positive"
      },
      "properties": [
        {
          "name": "crateward:signal",
          "value": "network_lookup"
        },
        {
          "name": "crateward:points",
          "value": "20"
        },
        {
          "name": "crateward:source",
          "value": "network"
        },
        {
          "name": "crateward:location",
          "value": "index.crates.io"
        },
        {
          "name": "crateward:source",
          "value": "network"
        },
        {
          "name": "crateward:location",
          "value": "index.crates.io"
        }
      ]
    },
    {
      "bom-ref": "CW-35401-new_behavior",
      "id": "CW-35401-new_behavior",
      "source": {
        "name": "Crateward",
        "url": "https://crateward.com"
      },
      "ratings": [
        {
          "source": {
            "name": "Crateward"
          },
          "severity": "low",
          "method": "other"
        }
      ],
      "description": "New since the previous version: net:index.crates.io.",
      "affects": [
        {
          "ref": "urn:cdx:4aaf9560-971b-8d5e-a355-460e83e7de75/2#pkg:cargo/bao-mozjs-sys@153.3.0-2"
        }
      ],
      "analysis": {
        "state": "false_positive"
      },
      "properties": [
        {
          "name": "crateward:signal",
          "value": "new_behavior"
        },
        {
          "name": "crateward:points",
          "value": "5"
        },
        {
          "name": "crateward:source",
          "value": "diff"
        },
        {
          "name": "crateward:location",
          "value": "net:index.crates.io"
        }
      ]
    },
    {
      "bom-ref": "CW-35401-static:downloader_pattern",
      "id": "CW-35401-static:downloader_pattern",
      "source": {
        "name": "Crateward",
        "url": "https://crateward.com"
      },
      "ratings": [
        {
          "source": {
            "name": "Crateward"
          },
          "severity": "medium",
          "method": "other"
        }
      ],
      "description": "high severity downloader_pattern in build_script code: https://github.com/servo/mozjs/releases at build.rs:1566 with std::process::Command::new at build.rs:330",
      "affects": [
        {
          "ref": "urn:cdx:4aaf9560-971b-8d5e-a355-460e83e7de75/2#pkg:cargo/bao-mozjs-sys@153.3.0-2"
        }
      ],
      "analysis": {
        "state": "false_positive"
      },
      "properties": [
        {
          "name": "crateward:signal",
          "value": "static:downloader_pattern"
        },
        {
          "name": "crateward:points",
          "value": "30"
        },
        {
          "name": "crateward:source",
          "value": "static"
        },
        {
          "name": "crateward:location",
          "value": "build.rs:1566"
        }
      ]
    }
  ]
}
