The postinstall hook is scoped to the project that installed stackctl and skips CI. It does not install new agent guidance without user action, and refreshes only previously managed content; the observed setup writes match the package's stated purpose.
Static reason
High-risk behavior combination matched malicious policy.; previous stored version diff introduced dangerous source
Trigger
npm postinstall in a project that installed stackctl; CI and unrelated install contexts are skipped.
Impact
Project setup files and previously managed guidance may be written. No credential collection, unrelated network contact, or unauthorized agent configuration change was identified.
Mechanism
It scaffolds stackctl configuration when absent, or refreshes older, unedited guidance that stackctl previously installed. Missing agent files are offered through an interactive prompt or installed by an explicit init command.
Evidence
stackctl.config.tstsconfig.json.claude/skills/stackctl/SKILL.md.claude/rules/stackctl.mdAGENTS.md.agents/skills/stackctl/SKILL.md.cursor/skills/stackctl/SKILL.md