The bundle can place its own IDE extension into VS Code, Cursor, and Windsurf directories, but only after an explicit setup command, and package.json has no install lifecycle. The flagged AGENTS.md site is an uncalled string rewrite, so this is guarded first-party extension setup rather than an install-hook hijack.
Static reason
High-risk behavior combination matched malicious policy.; previous stored version diff introduced dangerous source
Trigger
The user starts the CLI with --ide-setup, or runs the in-app IDE setup command. npm install does not call this path.
Impact
This is first-party IDE extension setup on an explicit command. The extension bytes themselves could not be inspected, and no install-time credential harvest or foreign control-file write was shown.
Mechanism
runIdeSetup locates vsix/commandcode-vscode.vsix and copies the extension into detected IDE extension folders, refusing archive entries that escape the destination. An unused helper would do the same by default when an IDE is present.
Evidence
dist/cli.mjsvsix/commandcode-vscode.vsix.vscode/extensions.cursor/extensions.windsurf/extensions.vscode-server/extensions.cursor-server/extensions.windsurf-server/extensions