{
  "x402Version": 2,
  "id": 42452,
  "slug": "42452",
  "resource": "https://pkgsafe.adrwent.fyi/check",
  "description": "Call before installing or updating an npm or PyPI dependency. Returns a verdict (ok, caution, avoid, unknown) plus evidence signals: install script added, maintainer or publisher change, very recent publish, build provenance dropped, known malware and vulnerability advisories. A clean result is not a guarantee of safety.",
  "type": "http",
  "resourceType": "Security",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x3d3668dF00c58ec67e7EfD7C85806Ace8c7A80DC",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "ecosystem": "npm",
            "name": "chalk"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "checked_at": "2026-10-09T12:00:00+00:00",
            "ecosystem": "npm",
            "found": true,
            "name": "example-pkg",
            "signals": [
              {
                "detail": "postinstall script added since 1.9.0: node setup.js",
                "id": "install_script_added",
                "severity": "high"
              }
            ],
            "verdict": "avoid",
            "version": "2.0.0"
          },
          "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 registry",
                    "enum": [
                      "npm",
                      "pypi"
                    ],
                    "type": "string"
                  },
                  "name": {
                    "description": "Exact package name, e.g. chalk or @types/node",
                    "type": "string"
                  },
                  "version": {
                    "description": "Optional exact version; defaults to the latest",
                    "type": "string"
                  }
                },
                "required": [
                  "ecosystem",
                  "name"
                ],
                "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": "pkgsafe.adrwent.fyi",
  "lastUpdated": "2026-10-10T13:21:17.545Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-10T13:21:17.188Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "ecosystem": "npm",
              "name": "chalk"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "checked_at": "2026-10-09T12:00:00+00:00",
              "ecosystem": "npm",
              "found": true,
              "name": "example-pkg",
              "signals": [
                {
                  "detail": "postinstall script added since 1.9.0: node setup.js",
                  "id": "install_script_added",
                  "severity": "high"
                }
              ],
              "verdict": "avoid",
              "version": "2.0.0"
            },
            "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 registry",
                      "enum": [
                        "npm",
                        "pypi"
                      ],
                      "type": "string"
                    },
                    "name": {
                      "description": "Exact package name, e.g. chalk or @types/node",
                      "type": "string"
                    },
                    "version": {
                      "description": "Optional exact version; defaults to the latest",
                      "type": "string"
                    }
                  },
                  "required": [
                    "ecosystem",
                    "name"
                  ],
                  "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": "pkgsafe.adrwent.fyi",
    "manifest_name": "pkgsafe.adrwent.fyi",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-13T15:56:53.641Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}