The install hook automatically modifies Claude Code event hooks when its settings file exists, creating a guarded first-party agent extension lifecycle risk. The inspected behavior supports a warning, but does not establish a concrete malicious attack.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review
Trigger
Installing ccclub with npm when ~/.claude/settings.json exists.
Impact
Subsequent Claude Code events can invoke ccclub sync, which may transmit configured usage data to the service.
Mechanism
The postinstall script appends version-pinned ccclub sync commands to Claude Code SessionEnd and Stop hooks and saves the settings file.
Evidence
package.jsonscripts/postinstall.cjs~/.claude/settings.json