The postinstall hook modifies user-level Claude Code settings without a separate confirmation, registering the package's own hooks across projects. The package documents this setup, and the hooks appear limited to orientation and a relevant-skill reminder, so this warrants a warning rather than a block.
Static reason
High-risk behavior combination matched malicious policy.; previous stored version diff introduced dangerous source
Trigger
npm postinstall when Claude Code is detected; updates can also run the hook setup.
Impact
The package's code runs in every project session and adds recurring skill-related context to prompts. This is an agent-extension lifecycle risk; the inspected hook behavior does not show control hijacking or data theft.
Mechanism
Copies the skill and adds commands for session orientation and a per-prompt reminder to the global Claude Code settings file, without an explicit hook-specific confirmation.
Evidence
package.jsonscripts/postinstall.jsscripts/lib.jsskills/kb-agentic-skill/ENFORCEMENT.mdskills/kb-agentic-skill/scripts/sdlc_core.py$CLAUDE_CONFIG_DIR/settings.json or ~/.claude/settings.jsonClaude Code skill directory under $CLAUDE_CONFIG_DIR or ~/.claude