{
  "x402Version": 2,
  "id": 40059,
  "slug": "40059",
  "resource": "https://data.japanagent.dev/vuln/check",
  "description": "Check an open-source package for known vulnerabilities via the OSV database (Google Open Source Vulnerabilities). Pass package name, ecosystem (npm, PyPI, Go, crates.io, Maven, RubyGems, etc.) and optional version. Returns vulnerability IDs, summaries, severity and fixed versions. Essential pre-install check for coding agents.",
  "type": "http",
  "resourceType": "Security",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x64E81E0287FfDF31EB21D0891398899879f1fA6a",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "ecosystem": "npm",
            "package": "lodash",
            "version": "4.17.15"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "package": "lodash",
            "vuln_count": 2,
            "vulns": [
              {
                "id": "GHSA-p6mc-m468-83gw",
                "severity": "HIGH",
                "summary": "Prototype pollution in lodash"
              }
            ]
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "ecosystem": {
                    "description": "npm | PyPI | Go | Maven | crates.io | RubyGems | NuGet | Packagist",
                    "type": "string"
                  },
                  "package": {
                    "description": "Package name as registered in the ecosystem (npm: lodash / PyPI: requests / Maven: org.apache.logging.log4j:log4j-core)",
                    "type": "string"
                  },
                  "version": {
                    "description": "Optional exact version to check",
                    "type": "string"
                  }
                },
                "required": [
                  "package",
                  "ecosystem"
                ],
                "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": [
    "bazaar"
  ],
  "sourceHost": "data.japanagent.dev",
  "lastUpdated": "2026-10-12T05:40:28.576Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-12T05:40:27.971Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "ecosystem": "npm",
              "package": "lodash",
              "version": "4.17.15"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "package": "lodash",
              "vuln_count": 2,
              "vulns": [
                {
                  "id": "GHSA-p6mc-m468-83gw",
                  "severity": "HIGH",
                  "summary": "Prototype pollution in lodash"
                }
              ]
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "ecosystem": {
                      "description": "npm | PyPI | Go | Maven | crates.io | RubyGems | NuGet | Packagist",
                      "type": "string"
                    },
                    "package": {
                      "description": "Package name as registered in the ecosystem (npm: lodash / PyPI: requests / Maven: org.apache.logging.log4j:log4j-core)",
                      "type": "string"
                    },
                    "version": {
                      "description": "Optional exact version to check",
                      "type": "string"
                    }
                  },
                  "required": [
                    "package",
                    "ecosystem"
                  ],
                  "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": "data.japanagent.dev",
    "manifest_name": "data.japanagent.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"
  }
}