The postinstall hook can install package-owned agent and skill files into an AI coding harness directory, including by default in noninteractive installs. This warrants a warning for first-party extension setup; the inspected source does not show a concrete malicious 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
Installing the package with lifecycle scripts enabled.
Impact
Package-owned agent and skill files may become active in the selected coding harness.
Mechanism
The postinstall flow selects GitHub Copilot by default for noninteractive installs, then invokes the asset installer to create or update files in the harness directory.
Evidence
package.jsonscripts/postinstall.mjssrc/install-user-assets.mjssrc/harnesses.mjs