The postinstall hook can automatically configure Claude during a global package install, creating a residual agent-extension lifecycle risk. The reviewed behavior is limited to this package’s own plugin, and the default permission profile adds no rules.
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
Installing the package globally through npm, unless an environment guard skips the hook.
Impact
Claude may load the package’s plugin hooks and HUD after installation; no credential theft or unrelated control-surface mutation was identified in the reviewed behavior.
Mechanism
The hook launches the package’s install command, which registers and enables its plugin and records its settings in Claude’s user configuration.
Evidence
package.jsonscripts/postinstall.mjsbin/litclaude-ai.js