@bankofai/x402-mcp@1.1.1
x402 Payment Protocol
AI Security Review
scanned 6d ago · by lpm-firewall-aiThe package’s payment behavior matches its stated purpose, but the client silently enables automatic payment and defaults the approval callback to true. Under the review policy, automatic spending without explicit payment approval is malicious.
Decision evidence
public snapshot- The client defaults autoPayment to true and defaults its payment approval callback to always approve.
- On a payment challenge, the client calls the approval callback and then creates a payment payload when approval succeeds.
- The README demonstrates configuring an EVM wallet with autoPayment enabled and an approval callback that returns true.
- The package is explicitly described as an x402 payment integration, so payment handling is part of its stated purpose.
- package.json has no install lifecycle scripts; the reviewed payment behavior runs through client API calls.
Source & flagged code
3 flaggedThe client defaults autoPayment to true and defaults its payment approval callback to always approve.
dist/cjs/index.jsView on unpkg · L190On a payment challenge, the client calls the approval callback and then creates a payment payload when approval succeeds.
dist/cjs/index.jsView on unpkg · L499Findings
Affected versions and remediation
This report applies to @bankofai/x402-mcp@1.1.1.
See all versions of @bankofai/x402-mcp for other recorded verdicts.
- Avoid installing @bankofai/x402-mcp@1.1.1. 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.