The package has a postinstall hook that automatically refreshes its own agent integration for global installs, with opt-out and CI guards. Automatic install-time setup of an agent extension is a lifecycle risk, but the reviewed source does not show a concrete malicious payload.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
A global package install or CONTEXT_CLI_AUTO_PLUGIN_INSTALL=1; CI and explicit opt-out conditions skip the action.
Impact
User-level agent integration files or configuration may be created, refreshed, or pruned without a separate command to install the plugin.
Mechanism
The postinstall hook launches the bundled CLI’s `plugin install` command, which manages agent plugin files and configuration.
Evidence
package.jsonscripts/postinstall.mjscli.js~/.codex/config.toml~/.codex/plugins/cache/~/.claude/plugins/cache/~/.agents/skills/~/.claude/skills/~/.cursor/plugins/local/c4a/