AI Security Review
scanned 2h 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- `dist/cli/commands/setup.js` explicitly configures detected AI-agent platforms via MCP injection.
- `dist/cli/commands/hook.js` can register `pga hook run` in Claude, Codex, Gemini, Cursor, Windsurf, and Cline hook configs.
- `dist/cli/commands/persist.js` provides a user-invoked persistence command.
- `dist/cli/commands/upgrade.js` runs a global npm install when `panguard upgrade` is invoked.
- `package.json` postinstall only prints a quick-start message.
- `bin/panguard.cjs` only imports the local CLI entrypoint.
- Agent configuration mutation is behind explicit CLI commands, not install-time execution.
- Network use is tied to login/account and named Panguard endpoints; no source-confirmed credential harvesting or payload download.
- No `eval`, VM execution, remote code loader, or destructive install-time behavior was found in inspected files.
Source & flagged code
10 flagged · loading sourceInstall-time lifecycle script matches a deterministic static-gate block pattern.
package.jsonView on unpkgPackage defines install-time lifecycle scripts.
package.jsonView on unpkgPackage source references child process execution.
dist/init/environment.jsView on unpkg · L12Package source references dynamic require/import behavior.
bin/panguard.cjsView on unpkg · L3Source writes installer persistence such as shell profile or service configuration.
dist/cli/commands/persist.jsView on unpkg · L15A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/cli/commands/up.jsView on unpkg · L23Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/cli/telemetry.jsView on unpkg · L7Package source invokes a package manager install command at runtime.
dist/cli/commands/upgrade.jsView on unpkg · L14Package source closely matches a different published package identity; review for dependency-confusion or copied-code abuse.
dist/cli/commands/setup.jsView on unpkg