Source inspection confirms automatic postinstall setup of first-party agent assets in the GitHub Copilot harness when no interactive terminal is available. This warrants a warning under the extension lifecycle policy, but the inspected behavior does not establish a concrete 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
npm installation runs the postinstall hook when scripts are enabled.
Impact
The user’s agent environment gains package-provided instructions and skills; the inspected installer preserves conflicting customizations.
Mechanism
The script chooses GitHub Copilot as the non-interactive default and writes bundled files into that harness’s directory.
Evidence
package.jsonscripts/postinstall.mjssrc/install-user-assets.mjssrc/harnesses.mjs