The global postinstall creates command wrappers without checking whether code-tui or code-exec already exists, creating a real risk of replacing unrelated user commands. The binary download is from the publisher’s release host and is checked against its published digest; I found no install-time data exfiltration.
Static reason
One or more suspicious static signals were detected.
Trigger
The postinstall hook runs during installation; wrapper creation is gated to global installs that are not npx installs.
Impact
An existing command at either path may be overwritten by a wrapper that forwards to `dev`.
Mechanism
It writes `code-tui` and `code-exec` wrappers into the global binary directory without checking whether those command paths already exist.
Evidence
package.jsonpostinstall.jsglobalBin/code-tuiglobalBin/code-execglobalBin/code
Network endpoints1
github.com/hanzoai/dev/releases/download/v${version}/${archiveName}