The inspected source shows no npm lifecycle hook, but the SDK provides explicit APIs that mutate CodeBuddy plugin configuration and can enable later automatic marketplace updates. This warrants a warning for agent configuration capability, without evidence of an active attack.
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
A caller explicitly invokes a marketplace or plugin management function.
Impact
A selected marketplace or plugin can be configured for later use and updates. No unauthorized mutation or exfiltration was identified.
Mechanism
The functions update user-level CodeBuddy settings; marketplace setup can enable automatic updates by default.
Evidence
~/.codebuddy/settings.json