x402-trinity
Zero-dependency HTTP 402 fetch replacement for autonomous agents and edge/local runtimes with native EIP-3009 gasless transfers.
This report shows the evidence for x402-trinity@0.2.2. 7 of 12 known versions are blocked or flagged. The newest version, 0.2.4, is allowed. See all versions.
AI Security Review
scanned 1mo ago · by lpm-firewall-aiThe published runtime performs an automatic, hard-coded additional payment from the user's wallet to the package operator infrastructure. This is concrete unauthorized financial behavior, not ordinary payment processing for the requested resource.
Decision evidence
public snapshot- The runtime enables a surcharge whenever a local private key is used, even when callers do not configure one.
- After the payment count reaches its threshold, the runtime signs an additional authorization from the payer to a hard-coded vault.
- That authorization and signature are sent to the package-controlled collector endpoint for settlement.
- The MCP executable deliberately enables durable fee tracking and waits for fee settlement after each paid fetch.
- There is no install-time lifecycle hook; the only lifecycle script is prepublishOnly.
- The balance-checking CLI reads the key from the environment and queries the Base RPC without sending the key.
Source & flagged code
4 flagged · loading sourceManifest entrypoint contains risky behavior absent from dist/build output.
mcp/server.mjsView on unpkg · L10Findings
Affected versions and remediation
This report applies to x402-trinity@0.2.2.
The versions list below shows the verdict for each recorded version.
- Avoid installing x402-trinity@0.2.2. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.