termdock@1.4.261
A complete web-based terminal application with modern UI
AI Security Review
scanned 1mo ago · by lpm-firewall-aiThis is a real web-terminal product, not hidden malware: scanner similarity and the client credential hit are noisy, and install hooks do not hijack agent configs. It still warrants a warning because it can write first-party hooks into foreign AI CLI configs, refresh them at server start, and harvest those agents' tokens for quota calls, with optional auth on a LAN bind.
Decision evidence
public snapshot- package.json postinstall runs scripts/postinstall.mjs, which rebuilds node-pty and may install tmux with sudo package managers.
- Hook installers write Termdock-owned hook commands into Claude, Codex, Copilot, OpenCode, Pi, Grok, and Kimi config paths.
- Server start rewrites those hooks when they are already installed but marked stale.
- An HTTP POST under /api/terminal/agent-hooks/:agent/install installs the same hooks after the CLI is running.
- Quota code reads other agents' tokens and environment API keys so it can call provider usage APIs.
- Auth is optional; when no password is set, requireAuth lets those terminal APIs through on the default 0.0.0.0 bind.
- The npm postinstall script does not write AI-agent configs; it only prepares node-pty/tmux and a ~/.termdock boot marker.
- Owned-file installers refuse to overwrite files that lack the Termdock marker, and the hook API is not an install lifecycle hook.
- Discovered tokens are sent to matching provider usage endpoints such as api.anthropic.com, not an unrelated host.
- The client credential finding is Vite modulepreload fetch credentials, not secret export.
Source & flagged code
31 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgPackage source references child process execution.
dist/server/utils/kicadBoardInspection.jsView on unpkg · L1Findings
Affected versions and remediation
This report applies to termdock@1.4.261.
See all versions of termdock for other recorded verdicts.
- Review the evidence and your use of termdock@1.4.261 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.