The postinstall entry point downloads the matching vlink binary, checks its bundled checksum when available, and cleans up legacy npm shims. The source shows no automatic credential theft, unrelated data collection, or harmful persistence; the broader PATH and TedBrain setup actions are in the separate CLI installer.
Static reason
One or more suspicious static signals were detected.
Trigger
npm postinstall runs install.js; PATH and TedBrain setup actions occur when a user invokes the CLI install command.
Impact
No credential collection, unrelated data transmission, or harmful persistence was identified in the reviewed package source. The explicit CLI installer can add the user install directory to PATH and run TedBrain setup.
Mechanism
The hook calls ensureBinary, which downloads the platform binary, checks its bundled SHA-256 when available, and removes legacy npm shims. The default sources are the Gitee release API and 49.232.144.199; URLs can also be configured through environment variables.
Evidence
package/vendor/<platform binary>~/.cache/vlink/<version>/<platform binary>legacy vlink npm shims found on PATHuser shell profile or Windows user PATH when CLI install is invoked