Api Endpoint

1gateway

Use when an agent must check a dependency before installing or upgrading: is this exact package version vulnerable? Input: package, ecosystem (npm, PyPI, Go, Maven, crates.io, NuGet, RubyGems, Packagist...), version. Output: JSON vulnerable yes/no, counts by severity, advisories (GHSA/CVE id, summary, severity, CVSS, CWE, fixed versions, links). Data: OSV.dev. Example: ?package=lodash&ecosystem=npm&version=4.17.15

Open interactive test console

Offering

Provider
1gateway.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://1gateway.dev/v1/dev/vulnerabilities
MIME type
application/json
First seen
2026-10-19T02:32:25.008Z
Last seen
Tags
vulnerabilities, cve, dependency-scanning, Security, osv

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.003 USDC
Atomic price: 3000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.003 USDC
Atomic price: 3000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "3000",
    "payTo": "0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "3000",
    "payTo": "AwV6UZobYPyTdsuNa2NknZZrnmmUoH5ckEv3wNgL26WT"
  }
]

Observed health

Status
Healthy
Latest latency
44 ms
Average latency
710 ms
HTTP status
402
Last checked
Reachability
100% over 12 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "package": {
          "type": "string",
          "description": "Package name as in its registry (Go: module path; Maven: group:artifact)",
          "maxLength": 214,
          "examples": [
            "lodash"
          ]
        },
        "ecosystem": {
          "type": "string",
          "description": "Package ecosystem (case-insensitive; pip/python, cargo/rust, composer, gem also accepted)",
          "enum": [
            "npm",
            "PyPI",
            "Go",
            "Maven",
            "crates.io",
            "NuGet",
            "RubyGems",
            "Packagist",
            "Pub",
            "Hex",
            "Hackage",
            "CRAN",
            "SwiftURL"
          ],
          "examples": [
            "npm"
          ]
        },
        "version": {
          "type": "string",
          "description": "Exact released version",
          "maxLength": 64,
          "examples": [
            "4.17.15"
          ]
        }
      },
      "required": [
        "package",
        "ecosystem",
        "version"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "additionalProperties": false,
          "properties": {
            "ecosystem": {
              "description": "Package ecosystem (case-insensitive; pip/python, cargo/rust, composer, gem also accepted)",
              "enum": [
                "npm",
                "PyPI",
                "Go",
                "Maven",
                "crates.io",
                "NuGet",
                "RubyGems",
                "Packagist",
                "Pub",
                "Hex",
                "Hackage",
                "CRAN",
                "SwiftURL"
              ],
              "examples": [
                "npm"
              ],
              "type": "string"
            },
            "package": {
              "description": "Package name as in its registry (Go: module path; Maven: group:artifact)",
              "examples": [
                "lodash"
              ],
              "maxLength": 214,
              "type": "string"
            },
            "version": {
              "description": "Exact released version",
              "examples": [
                "4.17.15"
              ],
              "maxLength": 64,
              "type": "string"
            }
          },
          "required": [
            "package",
            "ecosystem",
            "version"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "attribution": {
              "type": "string"
            },
            "bySeverity": {
              "properties": {
                "critical": {
                  "type": "integer"
                },
                "high": {
                  "type": "integer"
                },
                "low": {
                  "type": "integer"
                },
                "moderate": {
                  "type": "integer"
                },
                "unknown": {
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "count": {
              "type": "integer"
            },
            "fixedVersionsMentioned": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "note": {
              "type": "string"
            },
            "package": {
              "properties": {
                "ecosystem": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "version": {
                  "type": "string"
                }
              },
              "type": "object"
            },
            "truncated": {
              "type": "boolean"
            },
            "vulnerabilities": {
              "items": {
                "properties": {
                  "advisory": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "aliases": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "cve": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "cvss": {
                    "properties": {
                      "type": {
                        "type": "string"
                      },
                      "vector": {
                        "type": "string"
                      }
                    },
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "cwe": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "fixedIn": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "id": {
                    "type": "string"
                  },
                  "modified": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "published": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "severity": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "summary": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "url": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "vulnerable": {
              "type": "boolean"
            }
          },
          "required": [
            "package",
            "vulnerable",
            "count",
            "bySeverity",
            "fixedVersionsMentioned",
            "vulnerabilities",
            "truncated",
            "attribution",
            "note"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}