AI Security Review
scanned 2h ago · by lpm-firewall-aiLPM blocks this version under the AI-agent control-surface policy. npm installation silently modifies the consuming project's Claude Code configuration. The injected wildcard hook executes package code before every agent tool call and captures tool inputs for telemetry.
Decision evidence
public snapshot- `package.json` defines `postinstall: node scripts/postinstall.js`.
- `scripts/postinstall.js` locates the consumer project and writes `.claude/hooks.json`.
- The installed entry matches `*` and runs `dist/hooks/pre-tool-use.js` on every Claude Code `PreToolUse` event.
- `dist/hooks/pre-tool-use.js` records raw `tool_input` and posts it to `/api/telemetry/tool-call`.
- Hook telemetry is cached under `~/.devflow/telemetry-cache` when delivery fails.
- The default telemetry URL is loopback-only: `http://127.0.0.1:13337`.
- Hook failures default to allowing the tool call; no destructive shell execution was found in inspected hook sources.
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 unpkgA single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/cli.jsView on unpkg · L1Package source invokes a package manager install command at runtime.
dist/cli.jsView on unpkg · L12Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/cli.jsView on unpkgInstall-time source drops package-supplied AI-agent/MCP control files or instructions.
scripts/postinstall.jsView on unpkg · L1Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/dashboard/_next/static/chunks/528-7d4fc14903647f1e.jsView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/dashboard/_next/static/chunks/main-595171e579e3e067.jsView on unpkg