The install hook can update existing stackctl-managed agent instructions without prompting on that installation, which warrants a warning for agent-extension lifecycle risk. Its scope is limited to previously managed stackctl guidance, and the inspected content supports the package’s local development purpose.
Static reason
High-risk behavior combination matched malicious policy.
Trigger
Installing or upgrading stackctl in a non-CI project that has a stackctl config and previously installed managed guidance.
Impact
Updated publisher-provided instructions can be loaded by coding agents in that project after package installation.
Mechanism
The hook refreshes stale stackctl skill and rules files and an existing stackctl block in AGENTS.md. It does not install missing guidance in this path.
Evidence
package.jsondist/postinstall.jsdist/agent-guidance.jsassets/agent-rules.md.claude/rules/stackctl.md.claude/skills/stackctl/SKILL.md.agents/skills/stackctl/SKILL.md.cursor/skills/stackctl/SKILL.mdAGENTS.md