termdock@1.4.238
A complete web-based terminal application with modern UI
AI Security Review
scanned 1mo ago · by lpm-firewall-aiInspected source is a real tmux and xterm terminal with optional AI-CLI hook integration, not an install-time hijack or self-dependency chain; scanner malware-similarity is noisy. Remaining risk is dual-use postinstall system setup and first-party writes into other agents' hook files after user install or stale refresh, which warrants a warning rather than a publish block.
Decision evidence
public snapshot- npm postinstall runs scripts/postinstall.mjs, which rebuilds node-pty, may sudo-install tmux, and writes ~/.termdock/.boot-check-ok.
- Agent installers write Termdock hook entries into Claude, Codex, Copilot, OpenCode, Pi, Grok, and Kimi config paths.
- Importing the server module calls refreshStaleHooksAtLaunch, which reinstalls already-installed but outdated hooks.
- Quota code reads other agents' OAuth tokens and sends them to official provider usage APIs.
- First CLI start repeats tmux auto-install and native rebuild through bootCheck.
- package.json has no runtime self-dependency on termdock, and postinstall does not write agent config files.
- New hook installs are user API/CLI actions; launch only rewrites stale Termdock-owned hook entries.
- Discovered tokens are used against official Anthropic, OpenAI, ChatGPT, and xAI quota URLs, not an attacker host.
- Source is a full xterm/tmux/Electron terminal product matching its stated purpose; scanner malware-similarity looks like earlier termdock releases, not a hidden payload.
- No obfuscated loader, reviewer-directed text, or third-party exfil endpoint was found.
Source & flagged code
30 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/certificateWatcher.jsView on unpkg · L1Findings
Affected versions and remediation
This report applies to termdock@1.4.238.
See all versions of termdock for other recorded verdicts.
- Review the evidence and your use of termdock@1.4.238 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.