The install hook automatically sets up a first-party Claude Code extension when the Claude CLI is present, and that extension registers tool-use hooks. Source inspection supports a warning for agent extension lifecycle risk, but does not establish malicious behavior.
Static reason
High-risk behavior combination matched malicious policy.; previous stored version diff introduced dangerous source
Trigger
An npm installation runs postinstall; plugin registration occurs if the Claude CLI is available.
Impact
The plugin can add persistent tool-use hooks to Claude Code, introducing package code into the agent's execution flow.
Mechanism
The hook copies bundled adapters into the user's Anolisa data directory, then invokes the Claude CLI to register and install the package-owned plugin.
Evidence
package.jsonscripts/postinstall.jsadapters/tokenless/claude-code/scripts/install.shadapters/tokenless/claude-code/hooks/hooks.json