← all versions of browser4-cli
[email protected]
clean confidence 78% action allow analyzed 2026-09-24 19:12 UTC by yolo in 16 tool calls, with lab detonation
Summary
Install hook downloads a pre-compiled native binary from GitHub releases (fallback: Aliyun OSS) and installs it in bin/. On global installs, it replaces npm-generated shims with direct links to the native binary. No credential access, no unexpected network egress, no obfuscation. The only external file touched is the downloaded binary itself (within the package). Reading /etc/passwd is a side-effect of ldd --version and is benign.
Intent
Browser automation CLI that ships native Rust binaries. The postinstall hook downloads the platform-specific binary from GitHub releases (or Aliyun OSS for China mainland) and makes it executable. On global installs it rewrites npm's .cmd/.ps1 shims to point directly to the native binary for zero-overhead execution.
Findings
scripts/postinstall.js:87scripts/postinstall.js:88scripts/postinstall.js:366lab reportLab evidence
Install hooks ran in the isolated lab. Processes spawned: 17. Hooks: postinstall (exit 0).
Canary credential files read: /etc/passwd
Files written outside the package: /work/pkg/bin/browser4-cli-linux-x64 (chmod 0755)