The postinstall hook is limited to project setup and refreshes agent files only when stackctl previously managed them. New guidance is offered interactively or installed through explicit setup, so the flagged agent changes do not show an unconsented control-surface 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
Package installation runs postinstall; session startup can also refresh installed guidance.
Impact
No credential collection, unrelated network contact, or unconsented installation of new agent guidance was identified.
Mechanism
The hook skips CI and unrelated installs, disables guidance when scaffolding a new project, and refreshes only existing managed guidance in configured projects.
Evidence
stackctl.config.tstsconfig.json.claude/skills/stackctl/SKILL.md.claude/rules/stackctl.mdAGENTS.md