AI Security Review
scanned 6h ago · by lpm-firewall-aiGlobal installation executes an unpinned remote shell script from swirls.ai at npm postinstall time. The fetched script is outside the package tarball and can replace the packaged CLI binary via ~/.local/bin/swirls.
Decision evidence
public snapshot- package.json defines postinstall: node scripts/install.js
- scripts/install.js runs execSync with shell:true
- scripts/install.js executes curl -fsSL https://swirls.ai/install | bash during global install
- scripts/install.js copies ~/.local/bin/swirls into package bin/swirls after remote installer runs
- bin/swirls tells users to run curl -fsSL https://swirls.ai/install | bash if postinstall was skipped
- postinstall exits in CI, Windows, and non-global installs
- Network endpoint is package-aligned swirls.ai
- No source evidence of credential harvesting, AI-agent config writes, persistence files, or destructive commands in packaged files
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 downloads or fetches remote code and executes it.
scripts/install.jsView on unpkg · L13A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
scripts/install.jsView on unpkg · L13Package source references child process execution.
scripts/install.jsView on unpkg · L13Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
scripts/install.jsView on unpkg · L13Source file is highly similar to a previously finalized malicious package; route for source-aware review.
scripts/install.jsView on unpkgSource fingerprint signature matches a known malicious package signature; route for source-aware review.
scripts/install.jsView on unpkg