twzrd-x402-gate@0.16.0
Buyer-side x402 trust gate: free preflight before signing USDC on Solana + Base mainnet (eip155:8453). By default no signing if preflight is down; TWZRD_FAIL_OPEN overrides. Other EVM: unscored.
AI Security Review
scanned 5d ago · by lpm-firewall-aiThe inspected entry point is a library re-export surface, and the flagged subprocess belongs to an explicitly invoked payment-fetch command. Its advisory preflight limitation is disclosed in the source; no malicious collection, install hook, or unrelated automatic action was identified.
Decision evidence
public snapshot- The package describes itself as a buyer-side x402 trust gate and sets its public entry point to dist/index.js.
- The public entry point re-exports library modules; the inspected entry contains no startup network or process-execution call.
- The safe-fetch CLI documents its preflight as advisory and warns that the payment challenge can change before AgentCash signs.
- The safe-fetch code invokes AgentCash only as part of its explicit fetch flow, passing the requested URL and options.
- The doctor describes its refusal proof as offline and spending nothing; its bin calls the doctor entry point when run.
- The safe-fetch flow invokes npx with agentcash@latest, which can install and run that CLI at command runtime.
- The documented TOCTOU gap means AgentCash may sign a different challenge from the one TWZRD preflighted.
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.16.0.
See all versions of twzrd-x402-gate for other recorded verdicts.
- Review the evidence and your use of twzrd-x402-gate@0.16.0 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.