twzrd-x402-gate@0.12.1
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 package declares no install-time hook; its prepublishOnly script runs release verification. Payment execution occurs only during an explicit safe-fetch run after an allowed check, with a documented advisory limitation, so the scanner leads do not establish malicious behavior.
Decision evidence
public snapshot- The only lifecycle hook is prepublishOnly, which runs release verification; no install hook is declared.
- The safe-fetch payment client is invoked only after the gate allows payment, and dry-run returns before invoking it.
- The CLI requires a user-supplied URL and displays help when invoked without arguments.
- When the user runs safe-fetch for an allowed payment, it invokes npx with agentcash@latest and inherits the process environment.
- The adapter labels its preflight advisory because AgentCash makes a second request that may differ from the one checked.
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.12.1.
See all versions of twzrd-x402-gate for other recorded verdicts.
- Review the evidence and your use of twzrd-x402-gate@0.12.1 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.