x402 setup check
Checks your project for x402 SDK versions with publicly reported flaws, and for settings that turn the default spending limit off. Free.
This tool checks your files in your browser. It does not upload your files or records.
Drop your project folder or lockfile here
package-lock.json, pnpm-lock.yaml, yarn.lock, bun.lock, requirements.txt, poetry.lock, uv.lock, Pipfile.lock, pyproject.toml, go.mod, or .js/.ts/.py source
Run it on the command line or in CI
The same check, open source under the MIT licence, with no dependencies. From your project folder, with Node 18 or later:
npx github:Counterroll/x402-check .
It exits with code 1 when something needs fixing, so it can fail a build. Code and instructions: github.com/Counterroll/x402-check.
What it checks
- Out-of-date x402 packages with flaws reported in October 2026, including transitive ones in your lockfile. For example,
@x402/fetchand@x402/axiosbefore 2.23.0 had no default spending limit, and@x402/coreis fixed in 2.27.0. - Spending limits switched off in code:
spendControls: false,maxAmountPerPayment: false,allowedAssets: trueand custom payment pickers, plus the Python equivalents. - Legacy x402 v1 packages, which did not receive the 2026 fixes.
What it does not do
Rules as of . Source: . Version boundaries were checked against npm, PyPI and Go module release data.