AI Security Review
scanned 3d 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- src/scripts/install.ts writes project AI-agent bridge configs such as .augment/settings.json, .claude/settings.json, .cursor/hooks.json, .windsurf/hooks.json when explicit install runs.
- src/scripts/install.ts can opt-in write user hook trampolines under ~/.augment/hooks, ~/.cursor/hooks, and ~/.codeium/windsurf/hooks.
- src/scripts/install.ts uses child_process spawn/spawnSync for smoke tests and opener behavior during explicit CLI flows.
- package.json has no preinstall/install/postinstall lifecycle; only prepack/prepublishOnly publish-time scripts and a bin entry.
- dist/cli/agent-config.js is a thin launcher that checks commander then imports the real CLI; no import-time mutation seen.
- src/scripts/injection_scan_hook.ts reverse-shell hit is a regex detector for untrusted tool output, not socket/process wiring.
- Network references inspected are package docs/repository or explicit dev/eval helpers, not install-time exfiltration endpoints.
- Installer behavior is package-aligned agent configuration setup and includes dry-run/scope guards rather than stealth persistence.
Source & flagged code
6 flagged · loading sourcePackage source references child process execution.
dist/install/install.mjsView on unpkg · L7362Package source references shell execution.
dist/agent-src/scripts/update_roadmap_progress.tsView on unpkg · L308Package source references dynamic require/import behavior.
dist/agent-src/templates/scripts/work_engine/_lib/agent_settings.tsView on unpkg · L952Source matches reverse-shell style process and socket wiring.
src/scripts/injection_scan_hook.tsView on unpkg · L9Package source invokes a package manager install command at runtime.
dist/agent-src/scripts/archive_completed_roadmaps.tsView on unpkg · L375Package ships non-JavaScript build or shell helper files.
src/scripts/smoke/router.shView on unpkg