The default global postinstall installs and enables the package's own agent extension, an automatic agent setup covered by the lifecycle risk rule. The default safe permission mode adds no global permission rules, so the finding is limited to automatic extension installation.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review; previous stored version diff introduced dangerous source
Trigger
npm postinstall during a global install, except when skipped by the script's environment or CI checks.
Impact
The package's agent extension is installed and activated without the user separately running its install command.
Mechanism
The hook runs the CLI install command, which copies the package's plugin surfaces into Claude's plugin directory and registers the plugin as enabled.
Evidence
package.jsonscripts/postinstall.mjsbin/litclaude-ai.jsplugins/litclaude~/.claude/plugins/cache/litclaude-ai/litclaude/1.0.44~/.claude/plugins/installed_plugins.json~/.claude/settings.json