AI Security Review
scanned 3h ago · by lpm-firewall-aiReview flagged AI-agent configuration or capability changes. This remains warn-only unless evidence shows foreign-agent hijack through preinstall/install/postinstall, hidden persistence, exfiltration, remote code execution, or other concrete malicious behavior.
Decision evidence
public snapshot- `package.json` runs `postinstall`.
- `scripts/postinstall-embedding-backend.cjs` invokes `npm install --no-save @huggingface/transformers@3.8.1`.
- `dist/cli/index.js` has an explicit install command that writes Claude hook commands to `~/.claude/settings.json`.
- The registered hooks collect prompts and tool output into `~/.claude-code/memory`.
- Postinstall targets a fixed embedding backend and has an opt-out environment variable.
- Agent settings mutation is reached only through the user-invoked CLI install flow, not npm lifecycle.
- Optional query rewrite sends only to an environment-configured API URL; no hard-coded exfiltration destination found.
- No remote payload download/execute or credential harvesting chain was confirmed.
Source & flagged code
8 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgPackage source references child process execution.
dist/server/index.jsView on unpkg · L15860A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/server/index.jsView on unpkg · L16056Package source references dynamic require/import behavior.
dist/core/index.jsView on unpkg · L3Package source references a known benign dynamic code generation pattern.
dist/core/index.jsView on unpkg · L1695Package source references weak cryptographic algorithms.
dist/core/index.jsView on unpkg · L5This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/hooks/session-start.jsView on unpkgSource spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/hooks/session-start.jsView on unpkg · L6