{
  "bomFormat": "CycloneDX",
  "specVersion": "1.6",
  "serialNumber": "urn:uuid:079d3b0c-18b9-88c0-9d4a-fb5a3ef5683d",
  "version": 1,
  "metadata": {
    "timestamp": "2026-10-13T16:45:15Z",
    "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/libsodium-sys-stable@1.24.2",
      "name": "libsodium-sys-stable",
      "version": "1.24.2",
      "purl": "pkg:cargo/libsodium-sys-stable@1.24.2"
    },
    "properties": [
      {
        "name": "crateward:sbom",
        "value": "urn:cdx:bc8f9141-723d-8bd5-8497-d1ff3619bdfb/2"
      },
      {
        "name": "crateward:score",
        "value": "48"
      },
      {
        "name": "crateward:level",
        "value": "medium"
      },
      {
        "name": "crateward:coverage",
        "value": "dynamic on Linux"
      },
      {
        "name": "crateward:runs",
        "value": "check"
      },
      {
        "name": "crateward:review",
        "value": "none"
      },
      {
        "name": "crateward:analyzer-version",
        "value": "6"
      }
    ]
  },
  "vulnerabilities": [
    {
      "bom-ref": "CW-138276-exec_privilege",
      "id": "CW-138276-exec_privilege",
      "source": {
        "name": "Crateward",
        "url": "https://crateward.com"
      },
      "ratings": [
        {
          "source": {
            "name": "Crateward"
          },
          "severity": "low",
          "method": "other"
        }
      ],
      "description": "The build ran /usr/bin/chmod.",
      "affects": [
        {
          "ref": "urn:cdx:bc8f9141-723d-8bd5-8497-d1ff3619bdfb/2#pkg:cargo/libsodium-sys-stable@1.24.2"
        }
      ],
      "analysis": {
        "state": "in_triage"
      },
      "properties": [
        {
          "name": "crateward:signal",
          "value": "exec_privilege"
        },
        {
          "name": "crateward:points",
          "value": "15"
        },
        {
          "name": "crateward:source",
          "value": "trace"
        },
        {
          "name": "crateward:location",
          "value": "/usr/bin/chmod"
        }
      ]
    },
    {
      "bom-ref": "CW-138276-exec_shell",
      "id": "CW-138276-exec_shell",
      "source": {
        "name": "Crateward",
        "url": "https://crateward.com"
      },
      "ratings": [
        {
          "source": {
            "name": "Crateward"
          },
          "severity": "low",
          "method": "other"
        }
      ],
      "description": "The build ran /bin/bash.",
      "affects": [
        {
          "ref": "urn:cdx:bc8f9141-723d-8bd5-8497-d1ff3619bdfb/2#pkg:cargo/libsodium-sys-stable@1.24.2"
        }
      ],
      "analysis": {
        "state": "in_triage"
      },
      "properties": [
        {
          "name": "crateward:signal",
          "value": "exec_shell"
        },
        {
          "name": "crateward:points",
          "value": "3"
        },
        {
          "name": "crateward:source",
          "value": "trace"
        },
        {
          "name": "crateward:location",
          "value": "/bin/bash"
        }
      ]
    },
    {
      "bom-ref": "CW-138276-static:downloader_pattern",
      "id": "CW-138276-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: http://download.libsodium.org/libsodium/releases at build.rs:414 with std::process::Command::new at build.rs:171",
      "affects": [
        {
          "ref": "urn:cdx:bc8f9141-723d-8bd5-8497-d1ff3619bdfb/2#pkg:cargo/libsodium-sys-stable@1.24.2"
        }
      ],
      "analysis": {
        "state": "in_triage"
      },
      "properties": [
        {
          "name": "crateward:signal",
          "value": "static:downloader_pattern"
        },
        {
          "name": "crateward:points",
          "value": "30"
        },
        {
          "name": "crateward:source",
          "value": "static"
        },
        {
          "name": "crateward:location",
          "value": "build.rs:414"
        }
      ]
    }
  ]
}
