AI Security Review
scanned 1d ago · by lpm-firewall-aiInstall-time script mutates the user's Claude agent skill directory without explicit user action. The dropped skill changes agent behavior/instructions and persists beyond package install.
Decision evidence
public snapshot- package.json defines postinstall: node scripts/install-skills.cjs
- scripts/install-skills.cjs copies bundled .claude/skills/* into $CLAUDE_CONFIG_DIR or ~/.claude/skills during install
- Bundled .claude/skills/leanchy/SKILL.md changes Claude/Codex-style agent communication and execution protocol
- Package also ships .claude/settings.local.json with preallowed Bash/Read rules, though postinstall does not copy it
- No credential harvesting or exfiltration found in inspected install script/bin wrappers
- Network references observed in wrappers are localhost health/config use: 127.0.0.1:3456
- bin wrappers mainly spawn Bun entrypoints and copy package default config on user-invoked runtime
- scripts/install-skills.cjs only copies files from packaged .claude/skills and does not overwrite existing skill dirs
Source & flagged code
16 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgPackage contains a possible secret pattern.
src/utils/powershell/parser.tsView on unpkg · L1343Source file is highly similar to a previously finalized malicious package; route for source-aware review.
bin/claude-win.cjsView on unpkgPackage source references weak cryptographic algorithms.
src/utils/plugins/mcpbHandler.tsView on unpkg · L4Source writes installer persistence such as shell profile or service configuration.
src/utils/deepLink/registerProtocol.tsView on unpkg · L40A single source file combines environment access, network access, and code or shell execution; review context before blocking.
src/utils/ide.tsView on unpkg · L1354Install-time source drops package-supplied AI-agent/MCP control files or instructions.
scripts/install-skills.cjsView on unpkg · L2Package source invokes a package manager install command at runtime.
bin/bingo-win.cjsView on unpkg · L87Source file is highly similar to a previously finalized malicious package; route for source-aware review.
bin/bingo-win.cjsView on unpkgPackage ships native binary artifacts.
src/utils/vendor/ripgrep/x64-win32/rg.exeView on unpkgPackage ships non-JavaScript build or shell helper files.
runtime/win_helper.pyView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
bin/bingocode-win.cjsView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
src/main.tsxView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
src/tools/SkillTool/SkillTool.tsView on unpkg