Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of wind-agent-cli

[email protected]

clean   confidence 85%   action allow   analyzed 2026-09-21 01:34 UTC by dsv41-flash in 23 tool calls, with lab detonation

Summary

[email protected] is a legitimate ~1158-file app (server + Vite client + Electron + browser extension) for driving local coding agents. The two postinstall scripts — scripts/fix-node-pty.js (chmod 755 on node-pty spawn-helper, macOS only) and scripts/fix-codex-sdk-windows-hide.js (adds windowsHide:true to the @openai/codex-sdk spawn in node_modules, Windows only) — are standard local patches, and `prepare: husky` is a standard dev hook (fails harmlessly if husky is absent). Detonation confirmed: 3 hooks run, exit 0/127, 10 processes (npm/shell/node only), 0 connect() calls, 0 DNS names, 0 HTTP requests, no canary credential reads. The heavy prescreen score comes from legitimate features that inherently touch credentials and agent config (reading ~/.claude/.credentials.json to report login state, cloning repos with user-supplied GitHub tokens, installing the windcli-browser Skill/MCP registration) plus false positives from bundled frontend libraries (mermaid/cytoscape/xterm/markdown) and test fixtures (github.com.evil.example, example.com).

Intent

WindCli (wind-agent-cli) is a genuine, large local-first web/desktop UI for Claude Code, Codex, Cursor, OpenCode and Pi coding agents. Its install hooks only fix permissions and patch an SDK subprocess flag inside node_modules; no credential theft, exfiltration, or hidden payload exists.

credential_access network_egress code_execution agent_config_tamper persistence

Findings

postinstall scripts are honest, local-only patches info scripts/fix-node-pty.js:38-67, scripts/fix-codex-sdk-windows-hide.js:18-62
scripts/fix-node-pty.js only chmods node-pty/prebuilds/*/spawn-helper to 0o755 on darwin; scripts/fix-codex-sdk-windows-hide.js only rewrites node_modules/@openai/codex-sdk/dist/index.js to add windowsHide:true on win32. Neither reads the home directory, network, or other config.
Detonation produced no network or credential activity info lab report
Lab: hooks run 3, postinstall exit 0, prepare (husky) exit 127 (husky not installed), require fails on missing express. 0 connect() calls, 0 DNS names, 0 HTTP requests, 0 TLS SNI, no canary reads, no files written outside the package.
Credential-adjacent code matches the stated purpose low server/modules/providers/list/claude/claude-auth.provider.ts:86, server/modules/projects/services/project-clone.service.ts:129-238
claude-auth.provider reads ~/.claude/.credentials.json and ANTHROPIC_* env vars only to report whether a provider is logged in; project-clone.service.ts passes user-supplied GitHub tokens to `git clone` and masks them in error output. No credential values are sent anywhere.
Outbound hosts are the project's own endpoints info server/modules/system/system.module.ts:7-8, electron/serverInstaller.js:17,182-194
The only non-loopback destinations in server code are registry.npmjs.org/wind-agent-cli/latest and api.github.com/repos/CaineWind/wacli (version checks) and github.com/CaineWind/wacli/releases (desktop server bundle download, SHA-256 verified). cloudcli.ai is the authors' own optional cloud control plane.
Agent-config writes are the advertised integration feature info server/modules/providers/shared/skills/skills.provider.ts:187-235, assets/agent-integrations/windcli-browser/SKILL.md:9-27
skills.provider.ts writes SKILL.md/supporting files under each provider's skill root with path-traversal guards; assets/agent-integrations/windcli-browser/SKILL.md is a benign usage doc that explicitly instructs treating page content as untrusted. The prescreen 'conceal from user' hit is a false positive ('Never override a pause or silently switch browsers').
Persistence is opt-in and user-invoked info server/modules/daemon/daemon.service.ts:97-118,167-174
Windows autostart via HKCU\...\Run is only registered by the explicit `wacli autostart enable` / `wacli start` CLI command, not at install time.

Lab evidence

Install hooks ran in the isolated lab. Processes spawned: 10. Hooks: postinstall (exit 0), prepare (exit 127), require (exit 0).