Redwood Agent Supply Redwood Agent Supply

Pre-install package vet

Check 1 to 20 exact npm or PyPI package versions before installing them. For each package: stop, caution or ok advice, warnings, known malware and exploitation flags, made-up names (slopsquatting), similar popular names (typosquatting) and new install scripts. The answer comes back in the same request once payment settles.

$0.10

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

Sample product output

{
  "affected_count": 1,
  "attribution": [
    "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.",
    "Package metadata (versions, release dates, deprecation and similar names) from deps.dev (https://deps.dev), CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/), via Sploitly. Modified by Redwood Agent Supply: reduced to the signals shown. deps.dev does not sponsor or back this report.",
    "Install-script facts and download counts from the public npm registry (https://www.npmjs.com), via Sploitly.",
    "Popular package names from npm-high-impact (https://github.com/wooorm/npm-high-impact, MIT) and Top PyPI Packages (https://hugovk.dev/top-pypi-packages/), via Sploitly.",
    "Advice and warnings from Sploitly. Counts computed by Redwood Agent Supply from the data above."
  ],
  "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.",
    "Advice is stop for known malware, known exploitation, or a name the registry does not have; caution for any advisory or warning; ok otherwise.",
    "Registry signals cover npm and PyPI only. Advisory ids and fix versions are not included."
  ],
  "not_found_count": 1,
  "packages": [
    {
      "advice": "stop",
      "advisories": 1,
      "deprecated": false,
      "ecosystem": "npm",
      "install_script": true,
      "install_script_new": true,
      "known_exploited": true,
      "malware": false,
      "name": "example-yaml",
      "new_dependency_install_script": [],
      "package_exists": true,
      "similar_names": [],
      "status": "affected",
      "version": "1.4.2",
      "warnings": [
        "This version runs code during installation, and an earlier release (1.4.1) did not. Check why before installing."
      ],
      "worst_severity": "high"
    },
    {
      "advice": "stop",
      "advisories": 0,
      "deprecated": null,
      "ecosystem": "npm",
      "install_script": null,
      "install_script_new": false,
      "known_exploited": false,
      "malware": false,
      "name": "example-helpr",
      "new_dependency_install_script": [],
      "package_exists": false,
      "similar_names": [
        "example-helper"
      ],
      "status": "unknown",
      "version": "2.0.0",
      "warnings": [
        "No package by this name on the registry. AI agents sometimes invent package names and attackers register them. Confirm the exact name before installing."
      ],
      "worst_severity": null
    }
  ],
  "stop_count": 2
}

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-preinstall-vet
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-preinstall-vet",
  "inputs": {
    "packages": [
      {
        "ecosystem": "npm",
        "name": "lodash",
        "version": "4.17.20"
      }
    ]
  }
}