AI Security Review
scanned 2h ago · by lpm-firewall-aiLPM treats this as warn-only first-party agent extension lifecycle risk. Explicit `preflight install` configures Claude Code hook and MCP entries. The hook records AI-tool metadata and optional transcript-derived usage locally; the running service can export telemetry to New Relic.
Decision evidence
public snapshot- `dist/install/cli.js` explicitly installs Claude Code hooks and an MCP server.
- `dist/hooks/collector-script.js` runs as a hook, reads tool-event stdin and local Claude transcripts, then writes JSONL buffers.
- `dist/install/schedule.js` can create user LaunchAgent jobs when invoked by CLI options.
- `dist/shared/transport/http-client.js` sends collected telemetry to configured New Relic ingest endpoints.
- `package.json` has only `prepare: husky || true`; no preinstall/install/postinstall hook.
- `dist/index.js` dynamically routes installer behavior only for explicit `preflight install/setup/...` subcommands.
- `dist/install/cli.js` labels install as configuring observability hooks and MCP, with explicit user commands.
- `dist/hooks/collector-script.js` applies redaction and stores buffers with restrictive directory/file modes.
- No `dist/security/ssrf.js` exists; the scanner's cloud-metadata hint is unsupported by package files.
- Observed network URLs are New Relic API/collector endpoints, aligned with the package's stated telemetry function.
Source & flagged code
6 flagged · loading sourcePackage source references child process execution.
dist/install/schedule.jsView on unpkg · L1Source writes installer persistence such as shell profile or service configuration.
dist/install/setup-wizard.jsView on unpkg · L23Source reaches cloud instance metadata or link-local credential endpoints.
dist/security/ssrf.jsView on unpkg · L1Package source invokes a package manager install command at runtime.
dist/install/cli.jsView on unpkg · L396This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/hooks/collector-script.jsView on unpkg