The package’s postinstall automatically writes its own usage-sync hooks into an existing Claude Code settings file, enabling future uploads on agent lifecycle events without an explicit setup command. This is an install-time agent-extension lifecycle risk; the inspected credential request goes to Anthropic’s own usage endpoint, and no unrelated credential exfiltration was identified.
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
npm postinstall, when ~/.claude/settings.json exists; hooks then run on SessionEnd and Stop.
Impact
Usage synchronization can begin through agent lifecycle hooks without an explicit setup command during this installation.
Mechanism
The script writes silent `npx --yes ccclub@0.9.9 sync` commands into Claude Code settings. On macOS it also refreshes an existing ccclub LaunchAgent.
Evidence
package.jsonscripts/postinstall.cjsdist/index.js~/.claude/settings.json~/Library/LaunchAgents/dev.ccclub.sync.plist