{
  "x402Version": 2,
  "id": 29277,
  "slug": "29277",
  "resource": "https://api.agentstools.dev/cve/scan",
  "description": "Vulnerability scan for a software package by ecosystem, name and version, or by package-URL (purl). Queries OSV.dev for known advisories, collects their CVE ids and enriches them with NVD CVSS, CISA KEV and EPSS, then returns a prioritized list of advisories with exact fixed versions. Risk indicators, not advice.",
  "type": "http",
  "serviceName": "cve-scan",
  "resourceType": "Identity & Enrichment",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "ecosystem": "PyPI",
            "name": "jinja2",
            "version": "2.4.1"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "advisories": [
              {
                "cve_ids": [
                  "CVE-2019-10906"
                ],
                "epss": {
                  "percentile": 0.85,
                  "probability": 0.02
                },
                "fixed_versions": [
                  "2.10.1"
                ],
                "ghsa": "GHSA-462w-v97r-4m45",
                "kev": {
                  "listed": false
                },
                "priority": {
                  "band": "medium",
                  "score": 41
                },
                "severity_label": "HIGH"
              }
            ],
            "advisory_count": 1,
            "query": {
              "ecosystem": "PyPI",
              "name": "jinja2",
              "version": "2.4.1"
            },
            "recommended_fix_versions": [
              "2.10.1"
            ],
            "sources": {
              "partial": false
            },
            "truncated": false
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "ecosystem": {
                    "description": "Package ecosystem",
                    "enum": [
                      "npm",
                      "PyPI",
                      "Maven",
                      "crates.io",
                      "Go",
                      "Packagist",
                      "RubyGems",
                      "NuGet"
                    ],
                    "type": "string"
                  },
                  "name": {
                    "description": "Package name (Maven uses group:artifact)",
                    "type": "string"
                  },
                  "purl": {
                    "description": "Package-URL instead of ecosystem/name/version, e.g. pkg:pypi/jinja2@2.4.1",
                    "type": "string"
                  },
                  "version": {
                    "description": "Package version, e.g. 2.4.1",
                    "type": "string"
                  }
                },
                "required": [],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "cve",
    "vulnerability",
    "sbom",
    "package",
    "dependency",
    "bazaar"
  ],
  "sourceHost": "api.agentstools.dev",
  "lastUpdated": "2026-10-08T06:09:34.866Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-08T06:09:34.64Z"
  },
  "metadata": {
    "serviceName": "cve-scan",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "ecosystem": "PyPI",
              "name": "jinja2",
              "version": "2.4.1"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "advisories": [
                {
                  "cve_ids": [
                    "CVE-2019-10906"
                  ],
                  "epss": {
                    "percentile": 0.85,
                    "probability": 0.02
                  },
                  "fixed_versions": [
                    "2.10.1"
                  ],
                  "ghsa": "GHSA-462w-v97r-4m45",
                  "kev": {
                    "listed": false
                  },
                  "priority": {
                    "band": "medium",
                    "score": 41
                  },
                  "severity_label": "HIGH"
                }
              ],
              "advisory_count": 1,
              "query": {
                "ecosystem": "PyPI",
                "name": "jinja2",
                "version": "2.4.1"
              },
              "recommended_fix_versions": [
                "2.10.1"
              ],
              "sources": {
                "partial": false
              },
              "truncated": false
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET",
                    "HEAD",
                    "DELETE"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "ecosystem": {
                      "description": "Package ecosystem",
                      "enum": [
                        "npm",
                        "PyPI",
                        "Maven",
                        "crates.io",
                        "Go",
                        "Packagist",
                        "RubyGems",
                        "NuGet"
                      ],
                      "type": "string"
                    },
                    "name": {
                      "description": "Package name (Maven uses group:artifact)",
                      "type": "string"
                    },
                    "purl": {
                      "description": "Package-URL instead of ecosystem/name/version, e.g. pkg:pypi/jinja2@2.4.1",
                      "type": "string"
                    },
                    "version": {
                      "description": "Package version, e.g. 2.4.1",
                      "type": "string"
                    }
                  },
                  "required": [],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.agentstools.dev",
    "manifest_name": "api.agentstools.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}