The postinstall hook silently adds package-owned instructions to project-level agent configuration, creating a limited agent extension lifecycle risk. The inspected behavior is scoped and preserves existing files by default, so it supports a warning rather than a publish block.
Static reason
High-risk behavior combination matched malicious policy.
Trigger
Installing the package runs its postinstall hook when npm lifecycle scripts are enabled.
Impact
The project’s coding agents may be directed to follow the package’s UI rules. No data transfer is part of this behavior.
Mechanism
The initializer copies package-owned stubs to AGENTS.md and CLAUDE.md in detected consumer roots, skipping files that already exist unless forced.
Evidence
package.jsonbin/init.jstemplates/AGENTS.stub.mdtemplates/AGENTS.mdAGENTS.mdCLAUDE.md