twzrd-x402-gate@0.11.2
Security fixes in 0.11.4: the policy and paying fetch wrappers, Base Worker and strict flags could sign a payment the gate should refuse. Upgrade to 0.11.4.
Released identity 0.11.2. Buyer-side x402 trust gate: free preflight before signing USDC to a merchant. On Solana mainnet and Base mainnet (eip155:8453), a missing payTo is not approved, a buyer preflight outage does not sign unless TWZRD_FAIL_OPEN=true,
AI Security Review
scanned 2d ago · by lpm-firewall-aiThe source shows no install-time or import-time attack behavior. The flagged subprocess and network activity support the package’s explicitly invoked payment and delivery-observation features, whose limitations and data flow are described in the source.
Decision evidence
public snapshot- The only lifecycle script is prepublishOnly, which runs release verification; no install hook is declared.
- The safe-fetch command identifies itself as an advisory precheck and warns that AgentCash may sign a different challenge without rechecking.
- Delivery observations are derived from a completed payment; the source says response bodies are not sent.
- The package exports safeFetch as a library API, while its payment flow runs only when called.
- When invoked to pay, safe-fetch launches AgentCash through npx and passes it the current environment.
- The precheck has a documented time-of-check/time-of-use gap: the later payment request may receive a different challenge.
- After payment, the default delivery capture posts merchant and settlement observations to the configured TWZRD intelligence service.
Source & flagged code
5 flaggedPackage source references child process execution.
bin/twzrd-safe-fetch.jsView on unpkg · L5Package source references dynamic require/import behavior.
bin/twzrd-gate-eval-refuse.jsView on unpkg · L28Findings
Affected versions and remediation
This report applies to twzrd-x402-gate@0.11.2.
See all versions of twzrd-x402-gate for other recorded verdicts.
- Review the evidence and your use of twzrd-x402-gate@0.11.2 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.