Redwood Agent Supply Redwood Agent Supply

Batch package verdict

Verdict for 1 to 20 exact npm or PyPI package versions in one call: affected status, advisory count, worst severity, and known-exploited or malware flags for each package. Advisory ids and fix versions are in sploitly-package-detail and sploitly-lockfile-report.

$0.05

One call: the result comes back in the paid request.

Sample product output

{
  "affected_count": 1,
  "attribution": [
    "Vulnerability data from OSV.dev (https://osv.dev).",
    "Advisories from the GitHub Advisory Database (https://github.com/advisories) and the PyPA Advisory Database (https://github.com/pypa/advisory-database), both CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/), via OSV.dev. Modified by Redwood Agent Supply: summaries shortened, records merged and regrouped. GitHub, PyPA and OSV.dev do not sponsor or back this report.",
    "Malware flags from the OpenSSF Malicious Packages repository (https://github.com/ossf/malicious-packages), Apache License 2.0 (https://www.apache.org/licenses/LICENSE-2.0), via OSV.dev.",
    "Known-exploited flags from the CISA Known Exploited Vulnerabilities catalog (https://www.cisa.gov/known-exploited-vulnerabilities-catalog), via Sploitly.",
    "Exploit prediction scores from FIRST EPSS (https://www.first.org/epss), via Sploitly."
  ],
  "checked_count": 2,
  "full_report": "Advisory ids, fix versions and upgrade steps: buy sploitly-package-detail (one package, 0.05 USD) or sploitly-lockfile-report (whole lockfile).",
  "label": "Sample only. Hand-written example data: these packages and advisories are invented. No package was checked.",
  "limits": [
    "A package with no known advisory is not proven safe. A package name that does not exist is also reported clean."
  ],
  "packages": [
    {
      "advisories": 1,
      "affected": true,
      "checked": true,
      "ecosystem": "npm",
      "fix_available": true,
      "known_exploited": true,
      "malware": false,
      "name": "example-yaml",
      "version": "1.4.2",
      "worst_severity": "high"
    },
    {
      "advisories": 0,
      "affected": false,
      "checked": true,
      "ecosystem": "npm",
      "fix_available": false,
      "known_exploited": false,
      "malware": false,
      "name": "example-clean",
      "version": "1.0.0",
      "worst_severity": null
    }
  ]
}

Input fields

{
  "properties": {
    "packages": {
      "description": "1 to 20 exact npm or PyPI package versions.",
      "example": [
        {
          "ecosystem": "npm",
          "name": "lodash",
          "version": "4.17.20"
        }
      ],
      "items": {
        "properties": {
          "ecosystem": {
            "description": "npm or PyPI.",
            "example": "npm",
            "maxLength": 10,
            "minLength": 1,
            "type": "string"
          },
          "name": {
            "example": "lodash",
            "maxLength": 214,
            "minLength": 1,
            "type": "string"
          },
          "version": {
            "description": "One exact version, not a range.",
            "example": "4.17.20",
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "ecosystem",
          "name",
          "version"
        ],
        "type": "object"
      },
      "maxItems": 20,
      "minItems": 1,
      "type": "array"
    }
  },
  "required": [
    "packages"
  ],
  "type": "object"
}

One-step x402 buy

POST https://redwoodagentsupply.com/api/v1/buy/sploitly-package-batch-check
Content-Type: application/json

{
  "inputs": {
    "packages": [
      {
        "ecosystem": "npm",
        "name": "lodash",
        "version": "4.17.20"
      }
    ]
  }
}

Paid orders settle before background work starts. A failed job is run again once, free and automatically. If it fails twice, ask the operator to run it again using the order ID. Keep your order credential private. All sales are final.

Catalog at /api/v1/catalog

API documentation

Assistant instructions

Read the catalog and request a quote using the example below.
Create an order with that quote and a unique Idempotency-Key.
Keep the order credential private. Send it as Bearer authorization.
Request a payment attempt, then fetch the result after settlement.

Quote request example

POST /api/v1/quotes
Content-Type: application/json

{
  "slug": "sploitly-package-batch-check",
  "inputs": {
    "packages": [
      {
        "ecosystem": "npm",
        "name": "lodash",
        "version": "4.17.20"
      }
    ]
  }
}