AI-agent control-surface risk in npm packages.
These packages silently write AI-agent control files during install: agent instructions, MCP server entries, hooks or permission settings for tools such as Claude, Codex or Cursor. This is a dangerous-capability policy finding, not necessarily malware. LPM CLI warns by default and blocks when Firewall is configured to.
Packages — page 14
807 packages with LPM's own review, newest scan first. Page 14 of 17.
The automatic postinstall hook both installs a remotely downloaded executable and can globally install agent skills without an explicit setup command.
Scanned Aug 31, 2026Direct inspection confirms an automatic postinstall hook that writes a consumer project's AGENTS.md and agent-skill directory, as well as other project files.
Scanned Aug 31, 2026The package performs automatic postinstall registration of an external Chrome MCP bridge and permission changes. That is a concrete unconsented AI-agent control-surface mutation.
Scanned Aug 31, 2026The automatic lifecycle hook modifies the shared ~/.grok executable and configuration surface, including registry selection.
Scanned Aug 31, 2026