40trust / 100

Package Exists

by API-existence Oracle: package in AI models & inference

x402 APIFailing, checked 5 min ago

Deterministic package existence for PyPI and npm, built from real published artifacts (never LLM guesses). Negative answers and typosquat-adjacency flags carry signed proof. $0.002 USDC per check.

POST https://attester.dev/v1/package/exists

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
7.1%
Response time
4.6 s typical, 4.6 s slowest 5%
Last check
5 min ago: Timed out
Next check
in 8 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://attester.dev/v1/package/exists" \
  -H "content-type: application/json" \
  -d '{"ecosystem":"pypi","name":"requests"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fattester.dev%2Fv1%2Fpackage%2Fexists
const res = await pay("https://attester.dev/v1/package/exists", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"ecosystem":"pypi","name":"requests"}),
});
console.log(await res.json());

Example input

{
  "ecosystem": "pypi",
  "name": "requests"
}

Example output

{
  "exists": true,
  "latest_version": "2.32.3",
  "proof": {
    "artifact_sha256": "0x…",
    "source_url": "https://pypi.org/project/requests/"
  },
  "typosquat_adjacent": false
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
5 min agoTimed out---
4 h agoPassed4024.6 s$0.002
8 h agoTimed out---
12 h agoTimed out---
16 h agoTimed out---
20 h agoTimed out---
25 h agoTimed out---
28 h agoTimed out---
33 h agoTimed out---
37 h agoTimed out---
41 h agoTimed out---
46 h agoTimed out---
2 days agoTimed out---
2 days agoTimed out---