AI Security Review
scanned 3h ago · by lpm-firewall-aiLPM treats this as warn-only first-party agent extension lifecycle risk. The explicit `kit agent-config` command modifies project AI-agent instruction/config files and can install blocking hooks. Explicit plugin installation can invoke npm for a selected package; package installation itself has no consumer lifecycle execution.
Decision evidence
public snapshot- `dist/commands/agent.js` makes `kit agent-config` write agent rules, permissions, and install gates.
- `dist/agent-config.js` targets `CLAUDE.md`, `AGENTS.md`, `.claude/settings.json`, and other agent configuration files.
- `dist/memory/install.js` installs Claude Code hooks in `~/.claude/settings.json` when explicitly invoked.
- `dist/plugins.js` can run `npm install` for a requested plugin at runtime.
- `package.json` has only `prepublishOnly`; no install-time lifecycle hook executes for consumers.
- `dist/cli.js` dispatches mutating behavior only after a `kit` subcommand is invoked.
- `dist/commands/agent.js` documents `agent-config` as the explicit trigger and supports opt-out of install gates.
- `dist/triage-sandbox.js` uses `npm pack --ignore-scripts` for package inspection.
- No inspected source showed credential exfiltration, hidden payload retrieval, or unsolicited destructive behavior.
Source & flagged code
9 flagged · loading sourcePackage source references child process execution.
dist/post-pull-audit.jsView on unpkg · L24Package source references a known benign dynamic code generation pattern.
dist/triage-sandbox.jsView on unpkg · L75Package source references dynamic require/import behavior.
dist/plugin-loader.jsView on unpkg · L75Package source references weak cryptographic algorithms.
dist/elevation.jsView on unpkg · L29Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/update-check.jsView on unpkg · L6Package source invokes a package manager install command at runtime.
dist/plugins.jsView on unpkg · L223Package ships non-JavaScript build or shell helper files.
skills/triage/scripts/triage.pyView on unpkgThis package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/check-security.jsView on unpkg