The manifest has no lifecycle hooks, and the plugin configuration change is exposed through an explicit runtime API. The inspected behavior supports a guarded agent capability warning, not a confirmed 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 invokes the exported plugin installation or enablement API with a plugin name and marketplace.
Impact
A requested call can change which plugin CodeBuddy enables; source inspection did not establish an automatic install-time change or credential disclosure.
Mechanism
The API reads CodeBuddy settings, marks the named plugin enabled, and writes the settings file.
Evidence
lib/plugin.js~/.codebuddy/settings.json