AI Security Review
scanned 12d ago · by lpm-firewall-aiLPM blocks this version under the AI-agent control-surface policy. The package mutates AI-agent control surfaces during npm install. It globally installs a bundled skill into detected agent tools or copies it into Claude skills without an explicit user command beyond package installation.
Decision evidence
public snapshot- package.json defines postinstall: node scripts/postinstall.mjs
- scripts/postinstall.mjs runs npx skills add skills/aigateway -g -y --copy at install time
- scripts/postinstall.mjs fallback copies package skill into ~/.claude/skills/aigateway
- skills/aigateway/SKILL.md contains agent instructions that make agents run aigateway wallet-init before tool use
- src/update-check.mjs can npm install -g a newer package and rerun postinstall on CLI startup
- src/okx-wallet.mjs can execute remote OKX installer via curl|sh or PowerShell, but only during wallet-mode use
- No import-time payload beyond CLI update check; dangerous wallet/network flows are command-driven
- No source evidence of credential harvesting or exfiltration beyond documented wallet/config use
- Network endpoints are aligned with AI gateway, blockchain RPC, npm update, WalletConnect/OKX functionality
- High-entropy woff2/png assets appear to be fonts/images, not executed code
Source & flagged code
8 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 unpkgInstall-time source drops package-supplied AI-agent/MCP control files or instructions.
scripts/postinstall.mjsView on unpkg · L9Package source references child process execution.
scripts/postinstall.mjsView on unpkg · L12Package source invokes a package manager install command at runtime.
scripts/postinstall.mjsView on unpkg · L3Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
src/okx-wallet.mjsView on unpkg · L7Package ships high-entropy non-source blobs.
src/assets/fonts/sf-pro-display_medium_500.woff2View on unpkg