The postinstall hook launches agent-plugin setup for global installs, and the installer writes or enables package-owned integrations in user-level agent contexts. This warrants a warning under the first-party agent-extension lifecycle policy; the inspected source does not establish a concrete malicious attack.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review; source fingerprint signature matched known malicious package; routed for review
Trigger
A global package installation runs the postinstall hook, except when CI or the explicit opt-out guard applies.
Impact
Supported agent tools may activate package-provided plugins and skills without a separate agent-specific setup command.
Mechanism
The hook launches the bundled CLI installer, which defaults to Claude, Codex, and Cursor and installs or enables the package’s integrations.
Evidence
package.jsonscripts/postinstall.mjscli.jsplugins/codex/.codex-plugin/plugin.jsonplugins/cursor/.cursor-plugin/plugin.json