termux-mcp@0.15.0
CAUTION· not startedPublisher claims: "Termux AI server: REST API daemon (termux-mcp) + native MCP server (termux-native-mcp) — let AI agents run shell commands on your Android device in real time" Observed in sandbox: no network, touches nothing outside the project, writes no memory.
Coverage
Not started: dependency install failed; the server itself was not observed.- Tested
- the dependency install step · every file read, file written and host contacted by what ran
- Not tested
- server startup · the tool list · tool behavior
What this means for the label: Caution here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.
Before you give it your token
- It will ask for
TERMUX_MCP_AUTHTERMUX_MCP_AUTH_TOKENTERMUX_NATIVE_MCP_AUTH_TOKENConfiguration, not credentials: PREFIX, TERMUX_MCP_CONFIG_DIR, TERMUX_MCP_HOST, TERMUX_MCP_LOG_EVENTS, TERMUX_MCP_MAX_OUTPUT, TERMUX_MCP_MAX_TERMINALS, TERMUX_MCP_PORT, TERMUX_MCP_TERMINAL_IDLE, TERMUX_MCP_TERMINAL_READ, TERMUX_MCP_TERMINAL_RING, TERMUX_MCP_TIMEOUT, TERMUX_MCP_WAKELOCK, TERMUX_NATIVE_MCP_HOST, TERMUX_NATIVE_MCP_ORIGIN, TERMUX_NATIVE_MCP_PATH, TERMUX_NATIVE_MCP_PORT, TERMUX_NATIVE_MCP_SESSION_TTL, TERMUX_NATIVE_MCP_TOOLS, TERMUX_VERSION, USERNAME, VIRTUAL_ENV- Where it talks to
- no vendor host named in the codeAlso ipify.org, ifconfig.me, google.com, githubusercontent.com, cloudflare.com — not the publisher's domain; check what for before connecting.
- What we saw when it ran
- no credential files read · no network
- What we could not test
- server startup · the tool list · tool behavior
Connect it with a scoped credential, under the guard, and read the third-party hosts first. The code names ipify.org, ifconfig.me, google.com, githubusercontent.com, cloudflare.com as well as its own vendor. The guard injects TERMUX_MCP_AUTH, TERMUX_MCP_AUTH_TOKEN, TERMUX_NATIVE_MCP_AUTH_TOKEN only into requests to the host you bind (and its subdomains) and refuses the rest.
Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.
Is [email protected] safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; not started: dependency install failed; the server itself was not observed) on 2026-11-19 and scored it 68/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: OS command execution function call detected; OS command execution function call detected; OS command execution function call detected. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 0 s · 2 scenarios · 0 deviationsStatic findings
"packages_count": os.popen("pkg list-installed 2>/dev/null | wc -l").read().strip(),Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."disk_used": os.popen("df -h /data 2>/dev/null | awk 'NR==2{print $3,$4,$5}' || echo unknown").read().strip(),Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."python_version": os.popen("python3 --version 2>/dev/null || echo none").read().strip(),Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.os.system(f"tmux kill-session -t {sess_name} 2>/dev/null")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.os.system(f"tmux set-option -t {name} history-limit 20000 2>/dev/null")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."ram": os.popen("free -h 2>/dev/null | awk '/Mem:/{print $3,$2}' || echo unknown").read().strip(),Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.out = os.popen(Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.alive = os.popen(Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.os.system(f"tmux new-session -d -s {name} 2>/dev/null")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."hostname": os.popen("hostname 2>/dev/null || echo termux").read().strip(),Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.return False, CommandRiskLevel.WARNING, "sudo + rm combination detected"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.("git_auth_ssh", "E_GIT_AUTH", r"publickey", ["test -f ~/.ssh/id_ed25519 || ssh-keygen -t ed25519 -N '' -f ~/.ssh/id_ed25519",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."summary": f"{len(rows)} saved host(s)" + (f", {len(cfg)} in ~/.ssh/config" if cfg else "")}Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.out = os.popen('tmux list-sessions 2>/dev/null || echo "No sessions (tmux not installed?)"').read().strip()Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."cat ~/.ssh/id_ed25519.pub"], "", "write",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.'echo " Generating RSA key..."; ssh-keygen -t rsa -b 4096 -f ~/.ssh/id_rsa -N "" -q && echo " ✅ Key generated"; fi',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.TEXT_EXT = {"", ".py", ".js", ".ts", ".json", ".env", ".sh", ".yml", ".yaml", ".toml", ".ini", ".cfg", ".txt",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.'ssh-keygen -lf ~/.ssh/id_rsa.pub 2>/dev/null || echo "No key"',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.f'sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended 2>&1 | tail -5 && 'Fix: Pin versions and sources; vendor anything fetched at install time.os.system(f'tmux kill-session -t {shell_quote(name)} 2>/dev/null')Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.'mkdir -p ~/.ssh',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.'chmod 700 ~/.ssh',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."since for a time. Use format \"json\" for structures. "Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."probe": "test -f ~/.ssh/id_ed25519.pub || test -f ~/.ssh/id_rsa.pub || test -f ~/.ssh/id_ecdsa.pub",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.os.system(Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.alive = os.popen(Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."cat ~/.ssh/id_ed25519.pub"], "", "write",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.return subprocess.run(["pgrep", "-x", "crond"], capture_output=True, timeout=5).returncode == 0Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.parts.append(f'echo "sudo requires root — Termux does not support sudo by default"')Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.else f"{len(secrets)} possible secret(s) in files", "move them to an .env file outside the project and rotate them")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.os.system(f'tmux new-session -d -s {shell_quote(sess_name)} 2>/dev/null')Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."python_version": os.popen("python3 --version 2>/dev/null || echo none").read().strip(),Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.'if [ -f ~/.ssh/id_rsa ]; then echo " ✅ RSA key exists ($(wc -c < ~/.ssh/id_rsa.pub) bytes)"; else 'Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."packages_count": os.popen("pkg list-installed 2>/dev/null | wc -l").read().strip(),Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."cat ~/.ssh/id_ed25519.pub"], "", "write",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.os.system(Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."hostname": os.popen("hostname 2>/dev/null || echo termux").read().strip(),Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.done = subprocess.run(argv, capture_output=True, text=True,Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.("git_auth_ssh", "E_GIT_AUTH", r"publickey", ["test -f ~/.ssh/id_ed25519 || ssh-keygen -t ed25519 -N '' -f ~/.ssh/id_ed25519",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.os.system(Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."disk_used": os.popen("df -h /data 2>/dev/null | awk 'NR==2{print $3,$4,$5}' || echo unknown").read().strip(),Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.os.system(f"tmux send-keys -t {sess_name} {shell_quote(cmd)} Enter")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."probe": "test -f ~/.ssh/id_ed25519.pub || test -f ~/.ssh/id_rsa.pub || test -f ~/.ssh/id_ecdsa.pub",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."set PasswordAuthentication no in sshd_config after adding your key to ~/.ssh/authorized_keys")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.exists = os.popen(Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.if ext not in TEXT_EXT and not name.startswith(".env"):Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.'cat ~/.ssh/id_rsa.pub 2>/dev/null || echo "No public key"',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.exists = os.popen(Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.alive = os.popen(Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.os.system(f'tmux new-session -d -s {shell_quote(name)} 2>/dev/null')Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.'if [ -f ~/.ssh/id_rsa ]; then echo " ✅ RSA key exists ($(wc -c < ~/.ssh/id_rsa.pub) bytes)"; else 'Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.'cat ~/.ssh/id_rsa.pub 2>/dev/null || echo "No public key"',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.'ls -la ~/.ssh/ 2>/dev/null || echo "No SSH directory"',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.out = os.popen(Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.r = subprocess.run(["crontab", "-l"], capture_output=True, text=True, timeout=10)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out._URL_CF = re.compile(r"https://[a-z0-9-]+\.trycloudflare\.com")Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.done = subprocess.run(["showfigfonts"],Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.process = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.f'|| echo "Failed to kill process {pid}"'Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.cmd = f"kill -15 {pid} 2>&1 && echo 'Process {pid} terminated' || echo 'Failed to kill {pid}'"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.proc = subprocess.Popen(cmd, shell=True, cwd=cwd, stdout=out, stderr=subprocess.STDOUT,Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.done = subprocess.run(str(check.get("probe") or ""), shell=True,Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.subprocess.run(f"kill -9 {pid}", shell=True, check=False)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.f'kill -{signal_num} {pid} 2>&1 && echo "Process {pid} terminated" 'Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.("perm_chmod_exec", "E_PERMISSION", r"\./|\.sh", ["chmod +x {subject_file}"], "test -x {subject_file}", "write",Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.done = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.os.execvpe(shell, [os.path.basename(shell), "-l"], os.environ)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.f'echo {shell_quote("Run: npx create-react-app " + project_name)}'Fix: Pin versions and sources; vendor anything fetched at install time.f'chmod +x {safe_out} && 'Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.r = subprocess.run(["crontab", "-"], input=text, capture_output=True, text=True, timeout=10)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.proc = subprocess.Popen(cmd, shell=True, stdout=out, stderr=subprocess.STDOUT, stdin=subprocess.DEVNULL,Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.done = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.done = subprocess.run(["termux-reload-settings"],Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.result = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.process = subprocess.Popen(f"export PAGER=cat; {cmd}", **popen_kwargs)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.done = subprocess.run(argv, capture_output=True, text=True, timeout=15)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.done = subprocess.run(argv, capture_output=True, text=True, timeout=15)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.subprocess.Popen(["termux-wake-lock"], stdout=subprocess.DEVNULL,Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.subprocess.run(f"kill -9 {pid}", shell=True, check=False)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.proc = subprocess.Popen(cmd, **kwargs)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out."kill": "send a signal to a process", "pkill": "kill processes by name", "ps": "list processes",Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.process = subprocess.Popen(f"export PAGER=cat; {cmd}", **kwargs)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.mcp_server.run_http(host=args.host, port=args.port)Fix: Namespace tool names and keep tool descriptions literal; no instructions to the agent inside them.'chmod 700 ~/.ssh',Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.out.append({"file": path, "mode": oct(mode), "fix": f"chmod 600 {path}"})Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.Cost to the agent
Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.
Known vulnerabilities
No advisories in OSV for termux-mcp@0.15.0 as of 10 h ago. This is the package itself, not its dependencies.
What would make this Verified
12 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- OS command execution function call detected≈ +9 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- Reads credential paths from the home directory≈ +9 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- Unclaimed publisher≈ +8 on the totalClaim parixit-sutariya: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- References a credential file in the home directory≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- Access to sensitive file paths≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.