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
719 packages with LPM's own review, newest scan first.
The install hook automatically writes a behavior-bearing hook into Claude Code's user-level settings and enables it by default. This is an unconsented AI-agent control-surface mutation.
Scanned Nov 15, 2026The global-install lifecycle hook automatically runs setup that writes Claude Code agent files and adds user-scope MCP servers without separate consent.
Scanned Nov 15, 2026The global postinstall automatically writes agent instructions to the user’s shared ~/.agents/AGENTS.md file without consent. This meets the install-time AI-agent control hijack rule.
Scanned Nov 15, 2026The automatic postinstall changes user-level Claude Code settings to execute a package-provided command without requiring an explicit setup request.
Scanned Nov 15, 2026The dependency’s automatic postinstall hook writes to the user-wide Claude Code settings and registers commands that run on tool use and prompt submission.
Scanned Nov 15, 2026The automatic postinstall hook modifies Claude Code settings outside the package and registers commands to run on tool use and prompt submission without a separate user request.
Scanned Nov 15, 2026The postinstall hook invokes setup that writes this package’s MCP server into AI-agent configuration files outside the package directory.
Scanned Nov 15, 2026The default global-install hook writes ContextOS instructions into AI-agent configuration files outside the package directory.
Scanned Nov 15, 2026The automatic postinstall worker writes agent hooks and instructions into the user's Claude configuration outside the package directory.
Scanned Nov 15, 2026The postinstall hook automatically writes assistant skills and registers an MCP server in user-level AI assistant configuration.
Scanned Nov 15, 2026The default postinstall path writes behavior-bearing instructions into project AI-agent files, enabling them to load Telo3 automatically.
Scanned Nov 15, 2026The package's install hook automatically invokes an installer that writes global Claude Code hooks and statusline settings.
Scanned Nov 15, 2026The package’s install hook automatically deploys its framework and writes Claude Code permissions into the consuming project, enabling broad actions without approval prompts.
Scanned Nov 15, 2026The package’s postinstall automatically writes agent configuration and stages executable agent components, and can install plugins through detected agent CLIs.
Scanned Nov 15, 2026The package automatically writes MCP server configuration into Claude Code and Codex user settings during postinstall.
Scanned Nov 15, 2026The postinstall hook automatically writes global Claude Code and Codex MCP configuration, registering the package server without user consent.
Scanned Nov 15, 2026The global postinstall hook automatically modifies Codex's user configuration to enable workspace network access.
Scanned Nov 15, 2026The automatic postinstall writes AI-agent permission settings under the user’s home directory and grants access to external directories and MCP by default.
Scanned Nov 15, 2026The package automatically runs a postinstall helper that registers an AI-agent hook in settings.json, changing behavior-bearing configuration outside the package directory without an…
Scanned Nov 15, 2026The package's automatic postinstall can modify the consumer project's Claude Code settings to register a SessionStart hook.
Scanned Nov 15, 2026The postinstall hook automatically runs a command that copies a skill into agent harness directories.
Scanned Nov 15, 2026The global-install postinstall automatically writes agent hook configuration for connected clients whose hooks are off and not opted out.
Scanned Nov 15, 2026The postinstall automatically configures existing Codex or Claude installations and installs an agent-spawn hook in their settings.
Scanned Nov 15, 2026A global npm install automatically edits user-level Codex configuration to register and enable this package's plugin, MCP server, and lifecycle hooks.
Scanned Nov 15, 2026The default postinstall runs project setup and materializes files into AI-agent skill and hook directories outside the package.
Scanned Nov 15, 2026The package's postinstall automatically writes an AI-agent rule into the consuming project, meeting the install-time agent-control mutation rule.
Scanned Nov 14, 2026The package's postinstall lifecycle automatically writes agent prompts and global AGENTS.md instructions into an existing OpenCode configuration.
Scanned Nov 14, 2026The no-terminal installer path automatically opts into a persistent hook in global Claude Code settings.
Scanned Nov 14, 2026The package's postinstall hook automatically writes bundled skills into the installing project's Claude Code skill directory, outside the package.
Scanned Nov 14, 2026The package automatically performs Claude agent setup during global installation, including changes to global settings and permissions.
Scanned Nov 14, 2026The package pulls in a dependency whose automatic postinstall hook replaces the consumer’s global agent-rule directory.
Scanned Nov 14, 2026The default postinstall hook overwrites project-level agent instructions and installs a rule that claims precedence over system prompts and global user instructions.
Scanned Nov 14, 2026The package pulls in a dependency whose install hook overwrites project-level AI-agent rules with instructions that claim precedence over system prompts and global user instructions.
Scanned Nov 14, 2026The default postinstall action installs embedded skills into existing AI-agent skill directories, changing agent configuration outside the package without an explicit user request.
Scanned Nov 14, 2026The default install hook runs setup, which writes instructions into detected AI clients’ home directories and registers the MCP server.
Scanned Nov 14, 2026The package automatically edits AI-agent settings and hooks during install, without asking before the changes.
Scanned Nov 14, 2026The automatic postinstall writes package-provided AI-agent instructions into the consumer project and deletes any existing contents at that target.
Scanned Nov 14, 2026The default postinstall hook modifies OpenCode instructions and configuration outside the package, installing directives that claim binding authority over the agent.
Scanned Nov 14, 2026The automatic postinstall hook edits Claude agent settings outside the package directory and can restore hooks and install skills without user consent.
Scanned Nov 14, 2026The active postinstall automatically applies agent-related project changes and can alter user-level Codex registrations.
Scanned Nov 14, 2026The postinstall hook automatically runs agent setup for global installs, and that setup writes publisher-promoting instructions into user-level agent instruction files.
Scanned Nov 14, 2026The global-install hook automatically provisions Gestalt agents while changing Codex permissions to disable approvals and allow network and workspace writes.
Scanned Nov 13, 2026The global-install postinstall hook automatically runs setup across detected clients, and setup invokes the bundled server’s client-configuration operation.
Scanned Nov 13, 2026The postinstall hook automatically installs bundled agent and skill files into a user-level harness directory when no interactive terminal is available.
Scanned Nov 13, 2026The postinstall script automatically invokes Claude Code setup, and the README confirms that setup registers automatically operating hooks.
Scanned Nov 13, 2026The global npm postinstall automatically configures detected AI agents in non-interactive installs, writing MCP settings and instructions outside the package directory without an…
Scanned Nov 13, 2026The global postinstall hook automatically appends text to existing Claude Code or Codex instruction files outside the package, without consent.
Scanned Nov 13, 2026The package automatically writes to OpenCode’s user configuration during installation, registering itself and changing the default agent when unset.
Scanned Nov 13, 2026