$0.01
per call · USD Coin on Base
Check an exact npm or PyPI package version immediately before installation using current registry, vulnerability, malicious-package, withdrawal/deprecation, and verified provenance evidence. Returns ALLOW, REVIEW, BLOCK, or UNKNOWN with machine-readable reasons.
Endpoint
POST https://api.vrsai.tech/v1/capabilities/package_install_preflight5
Calls / 30d
2
Unique payers / 30d
Sep 3
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://api.vrsai.tech/v1/capabilities/package_install_preflight", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"purl": "pkg:npm/%40colors/colors@1.5.0"
}),
});
const data = await res.json();curl -X POST \
"https://api.vrsai.tech/v1/capabilities/package_install_preflight" \
-H "Content-Type: application/json" \
-d '{"purl":"pkg:npm/%40colors/colors@1.5.0"}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"decision": "ALLOW",
"evidence": [
{
"attempts": 1,
"latency_ms": 120,
"observed_at": "2026-08-26T00:00:00.000Z",
"source": "npm_registry",
"status": "OK"
},
{
"attempts": 1,
"latency_ms": 240,
"observed_at": "2026-08-26T00:00:00.000Z",
"source": "osv",
"status": "OK"
},
{
"attempts": 1,
"latency_ms": 90,
"observed_at": "2026-08-26T00:00:00.000Z",
"source": "deps_dev",
"status": "OK"
}
],
"input_fingerprint": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"observations": {
"deps_dev": {
"advisory_ids": [],
"canonical_name": "@colors/colors",
"canonical_version": "1.5.0",
"licenses": [
"MIT"
]
},
"evidence_complete": true,
"provenance": {
"attestation_types": [],
"expected_repository_match": "NOT_REQUESTED",
"source_repositories": [],
"verified": false
},
"registry": {
"deprecated": false,
"distribution_hashes": [],
"exists": true,
"install_scripts": [],
"integrity": "sha512-fixture-integrity",
"repository_metadata": {
"url": "https://github.com/Marak/colors.js",
"verified": false
},
"yanked": "NONE",
"yanked_reasons": []
},
"vulnerabilities": {
"families": [],
"family_count": 0,
"malicious_package_signal": false,
"max_severity": "NONE",
"raw_record_count": 0
}
},
"observed_at": "2026-08-26T00:00:00.000Z",
"package": {
"ecosystem": "npm",
"name": "@colors/colors",
"purl": "pkg:npm/%40colors/colors@1.5.0",
"version": "1.5.0"
},
"policy_version": "balanced-2026-08-26",
"reason_codes": [
"NO_BLOCKING_SIGNAL_OBSERVED"
],
"unknowns": []
}Payment details
0x6746dff7bdb1ed4940dbe50024795ad97cba09afUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Other and the homepage with a featured placement.
More from vrsai & similar services
vrsai · Capabilities SQL Preflight
api.vrsai.tech
Check PostgreSQL SQL immediately before execution to prevent destructive or unsafe database changes by AI agents and automated systems.
vrsai · Capabilities Decision Optimization
api.vrsai.tech
Choose the lowest-cost or highest-value feasible allocation, assignment, selection, or resource mix from caller-supplied options, capacities, budgets, and eligibility rules, with independently verified feasibility evidence and solver optimality/gap information.
vrsai · Capabilities Openapi Agent Readiness
api.vrsai.tech
Assess an OpenAPI description for autonomous-agent usability.