AI Security Review
scanned 3h ago · by lpm-firewall-aiLPM blocks this version under the AI-agent control-surface policy. The package mutates a Claude Code control surface at npm install time without an explicit user command. The installed wildcard PreToolUse hook executes package code on every Claude tool call and can observe tool inputs and influence permission decisions.
Decision evidence
public snapshot- package.json defines postinstall: node scripts/postinstall.js
- scripts/postinstall.js walks to consumer project root and creates/updates .claude/hooks.json during npm install
- postinstall registers wildcard Claude PreToolUse command: node dist/hooks/pre-tool-use.js
- dist/hooks/pre-tool-use.js runs on tool calls, can deny non-MCP tools, and posts tool_input telemetry
- dist/hooks/pre-tool-use.js defaults to http://localhost:13337 but honors DEVFLOW_API_URL
- dist/plugin/hooks.json also ships Claude hook definitions for SessionStart/PreToolUse/PostToolUse
- No obfuscated remote C2 host or hardcoded external exfiltration endpoint found
- Network defaults are local DevFlow service URLs
- Runtime plugin install is user-invoked via devflow plugin install
- README describes DevFlow developer tooling and plugin management
- dashboard-standalone.tar.gz appears to be a bundled dashboard archive
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 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 · L12Install-time source drops package-supplied AI-agent/MCP control files or instructions.
scripts/postinstall.jsView on unpkg · L1Package ships high-entropy non-source blobs.
dist/dashboard-standalone.tar.gzView on unpkgPackage ships compressed or archive-like blobs.
dist/dashboard-standalone.tar.gzView on unpkg