The postinstall hook can perform first-party Claude plugin setup during global installation, and that setup may proceed without interactive confirmation. The inspected behavior fits the warning-only agent extension lifecycle risk category; no concrete malicious attack was established.
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 runs the package's postinstall hook during a global install, unless the hook is skipped or forced by environment settings.
Impact
Claude Code may enable the package's plugin and HUD, and its global permission settings may be updated.
Mechanism
The hook launches the package's installer, which copies its plugin into Claude's plugin cache, registers it, and updates Claude settings for the plugin, HUD, and permission profile.
Evidence
package.jsonscripts/postinstall.mjsbin/litclaude-ai.jsplugins/litclaude/lib/automatic-update.mjsscripts/qa-real-surface-behaviors.mjs