The install hook automatically adds this package's own MCP server to Claude Code and Codex configuration, which warrants a warning under the agent-extension lifecycle rule. The reviewed changes do not show permission changes, agent-steering instructions, or credential exfiltration.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review; previous stored version diff introduced dangerous source
Trigger
Runs automatically during npm installation via the postinstall lifecycle script.
Impact
Adds the package's own MCP server to the user's Claude Code and Codex configurations without a separate setup request.
Mechanism
Writes a karajan-mcp server entry to ~/.claude.json and ~/.codex/config.toml, pointing to this package's src/mcp/server.js.
Evidence
package.jsonscripts/postinstall.js~/.claude.json~/.codex/config.toml