The postinstall hook changes global Claude Code skills, hooks, and settings without a separate user command. The changes are for Doukui’s own extension, so this is an automatic agent-extension lifecycle risk rather than evidence of malicious control hijacking.
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
npm install, through the postinstall lifecycle script.
Impact
Changes global Claude Code configuration and activates Doukui hooks in future sessions without a separate user command.
Mechanism
Runs setup-global, builds files in the home directory’s `.claude/skills` and `.claude/hooks`, registers hooks in `.claude/settings.json`, and writes that settings file.
Evidence
package.jsonbin/commands/setup-global.jsplugins/runtime/settings-merger.jsplugins/runtime/harness-build.js$HOME/.claude/skills/*$HOME/.claude/hooks/*$HOME/.claude/settings.json