AI Security Review
scanned 2h ago · by lpm-firewall-aiLPM treats this as warn-only first-party agent extension lifecycle risk. No confirmed malicious attack surface. The package explicitly installs a New Relic-owned Claude Code MCP server and hooks for AI observability, which is an agent-extension lifecycle risk but user-invoked and package-aligned.
Decision evidence
public snapshot- dist/install/cli.js user-invoked `preflight install` writes Claude Code hooks and MCP config.
- dist/install/install-helper.js adds PreToolUse/PostToolUse commands invoking `preflight-collector`.
- dist/install/schedule.js can install macOS launchd auto-update/dashboard plists via explicit schedule/setup flows.
- dist/hooks/collector-script.js records Claude Code tool metadata and optional redacted content to local JSONL buffers.
- package.json has only `prepare: husky || true`; no npm install/postinstall hook mutates user config.
- Hook/MCP mutation is behind explicit CLI commands, not import-time or install-time execution.
- Network endpoints are New Relic ingest/NerdGraph and local dashboard health checks, aligned with package purpose.
- Collector defaults avoid full content capture unless `NEW_RELIC_AI_MCP_RECORD_CONTENT=true` and includes redaction patterns.
- No remote payload download/execute, credential harvesting beyond user-provided New Relic keys, or stealth persistence found.
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 · L22This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/install/cli.jsView on unpkgA single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/install/cli.jsView on unpkg · L335Package source invokes a package manager install command at runtime.
dist/install/cli.jsView on unpkg · L362