Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of wind-agent-cli

[email protected]

clean   confidence 85%   action allow   analyzed 2026-09-24 22:12 UTC by yolo in 18 tool calls, with lab detonation

Summary

Install hooks are benign: fix-node-pty.js sets execute permissions on node-pty's spawn-helper on macOS; fix-codex-sdk-windows-hide.js patches @openai/codex-sdk to hide the Windows console subprocess. The lab run spawned no unexpected processes, made no network connections, and read no canary credentials. The package is a large Electron + Express desktop application (~26 MB unpacked) providing a web UI and local server for AI coding agents; flagged capabilities (node-pty shell spawning, clipboard writes, reading .claude/settings.json) are intended features.

Intent

A local-first web interface and desktop app for AI coding agents (Claude Code, OpenAI Codex, Cursor, etc.) that spawns local terminal sessions and manages provider authentication.

Findings

Postinstall hook: fix-node-pty permissions info scripts/fix-node-pty.js:56
scripts/fix-node-pty.js chmod's node-pty prebuilds/spawn-helper to 0o755 on macOS only. Harmless permission fix.
Postinstall hook: patch @openai/codex-sdk windowsHide info scripts/fix-codex-sdk-windows-hide.js:49
scripts/fix-codex-sdk-windows-hide.js regex-replaces the spawn call in node_modules/@openai/codex-sdk/dist/index.js to add windowsHide:true on Windows only. Edits a dependency file but in an expected, non-malicious way.
Prepare hook: husky not found info package.json:65
husky is a devDependency; the isolated lab has no node_modules installed, so the hook exits 127. Expected.
No unexpected network activity info electron/serverInstaller.js:17
The lab run made zero DNS queries, zero HTTP requests, zero TCP connections. ServerInstaller downloads bundles from GitHub releases only at runtime, not at install time.
node-pty terminal sessions (not a reverse shell) info dist-server/server/modules/websocket/services/shell-websocket.service.js:390
shell-websocket.service.js spawns real PTY sessions via node-pty for the /shell WebSocket route. This is an intended terminal feature of the application, not a reverse shell.
Clipboard writes for UX info electron/main.js:467
electron/main.js writes passwords, SSH commands, and URLs to the clipboard via clipboard.writeText() for user convenience. Does not exfiltrate data.
Reads .claude/settings.json for provider auth info server/modules/providers/list/claude/claude-auth.provider.ts:71
claude-auth.provider.ts reads ~/.claude/settings.json to detect ANTHROPIC_API_KEY / ANTHROPIC_AUTH_TOKEN configured by the user. Legitimate for a Claude Code frontend.

Lab evidence

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