moltspay
Payment infrastructure for AI Agents - Server & Client SDK
This report shows the evidence for moltspay@2.4.2. 1 of 2 known versions is blocked or flagged. See all versions.
AI Security Review
scanned 2mo ago · by lpm-firewall-aiSource inspection confirms a concrete wallet-drain primitive: automatic unlimited approvals to a fixed address, paired with transferFrom capability. The install hook is not the attack path, but the user-invoked CLI flow is sufficient to expose funds.
Decision evidence
public snapshot- dist/cli/index.js hardcodes a default BNB spender address.
- `init --chain bnb` automatically calls approval setup for that address.
- Approval setup grants MaxUint256 for USDC and USDT.
- BNB settlement can call transferFrom using the spender key.
- The approval is reached through an explicit CLI init command, not postinstall.
- BNB settlement checks signed payment intent recipient and amount.
- Postinstall only invokes the declared Alipay helper CLI.
Source & flagged code
9 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgSource uses private key material to transfer cryptocurrency funds.
dist/index.jsFindings
Affected versions and remediation
This report applies to moltspay@2.4.2.
The versions list below shows the verdict for each recorded version.
- Avoid installing moltspay@2.4.2. 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.