The postinstall lifecycle automatically installs package-owned agent assets for GitHub Copilot in non-interactive environments. The source supports a warning for first-party agent extension lifecycle risk, but does not establish a concrete attack warranting a publish block.
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
npm package installation without an interactive terminal and without a harness override.
Impact
Package-provided agent and skill instructions become available to that harness; the inspected source does not establish credential exposure or a malicious control hijack.
Mechanism
The hook defaults to GitHub Copilot and writes or updates package-owned files in the selected harness directory.
Evidence
package.jsonscripts/postinstall.mjssrc/harnesses.mjssrc/install-user-assets.mjs