Skills/PyPI/termux-mcp

termux-mcp@0.15.0

CAUTION· not started

Publisher 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.

Registry PyPI (MCP server)Publisher parixit-sutariya · publishing for 198 daysInstalls 2,846Last detonated 10 h ago

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.

$vet-skills run --net declared -- uvx termux-mcp

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 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.1sprocessdependency install exit 1 ·
0.1sclaimednot started: dependency install failed (exit 1); the server itself was not observed
0.1sprocessscript backend runs setup only
0.1sprocessno install scripts to re-run

Static findings

CRITICAL
OS command execution function call detectedtermux_mcp/handlers/features.py:434 · OS command execution function call detected"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.
AST05
CRITICAL
OS command execution function call detectedtermux_mcp/handlers/features.py:436 · OS command execution function call detected"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.
AST05
CRITICAL
OS command execution function call detectedtermux_mcp/handlers/features.py:435 · OS command execution function call detected"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.
AST05
CRITICAL
OS command execution function call detectedtermux_mcp/mcp_core.py:712 · OS command execution function call detectedos.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.
AST05
CRITICAL
OS command execution function call detectedtermux_mcp/mcp_core.py:693 · OS command execution function call detectedos.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.
AST05
CRITICAL
OS command execution function call detectedtermux_mcp/handlers/features.py:437 · OS command execution function call detected"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.
AST05
CRITICAL
OS command execution function call detectedtermux_mcp/mcp_core.py:706 · OS command execution function call detectedout = os.popen(Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
CRITICAL
OS command execution function call detectedtermux_mcp/mcp_core.py:688 · OS command execution function call detectedalive = os.popen(Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
CRITICAL
OS command execution function call detectedtermux_mcp/mcp_core.py:692 · OS command execution function call detectedos.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.
AST05
CRITICAL
OS command execution function call detectedtermux_mcp/handlers/features.py:433 · OS command execution function call detected"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.
AST05
HIGH
Privileged sudo commandtermux_mcp/security.py:74 · Privileged sudo command — agent may execute with elevated privilegesreturn False, CommandRiskLevel.WARNING, "sudo + rm combination detected"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
References a credential file in the home directorytermux_mcp/smart/fixgraph.py:78 · References a credential file in the home directory("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.
AST03
HIGH
Access to sensitive file pathstermux_mcp/smart/power.py:1320 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"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.
AST05
CRITICAL
OS command execution function call detectedtermux_mcp/websocket.py:910 · OS command execution function call detectedout = 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.
AST05
CRITICAL
Reads credential paths from the home directorytermux_mcp/smart/fixgraph.py:79 · Reads credential paths from the home directory"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.
AST03
HIGH
References a credential file in the home directorytermux_mcp/handlers/ai_power.py:275 · References a credential file in the home directory'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.
AST03
HIGH
Access to sensitive file pathstermux_mcp/smart/hardening.py:16 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesTEXT_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.
AST05
HIGH
References a credential file in the home directorytermux_mcp/handlers/ai_power.py:301 · References a credential file in the home directory'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.
AST03
HIGH
Direct script execution from GitHub raw URLtermux_mcp/handlers/terminal.py:291 · Direct script execution from GitHub raw URL — unverified code sourcef'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.
AST06
CRITICAL
OS command execution function call detectedtermux_mcp/websocket.py:916 · OS command execution function call detectedos.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.
AST05
HIGH
Access to sensitive file pathstermux_mcp/handlers/ai_power.py:270 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files'mkdir -p ~/.ssh',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathstermux_mcp/handlers/ai_power.py:271 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files'chmod 700 ~/.ssh',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Destructive file system command detectedtermux_mcp/tools_schema.py:297 · Destructive file system command detected"since for a time. Use format \"json\" for structures. "Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
References a credential file in the home directorytermux_mcp/checks/ssh_keys_present.json:6 · References a credential file in the home directory"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.
AST03
CRITICAL
OS command execution function call detectedtermux_mcp/websocket.py:870 · OS command execution function call detectedos.system(Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
CRITICAL
OS command execution function call detectedtermux_mcp/websocket.py:896 · OS command execution function call detectedalive = os.popen(Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Access to sensitive file pathstermux_mcp/smart/fixgraph.py:79 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"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.
AST05
MEDIUM
Python subprocess execution detectedtermux_mcp/automations.py:174 · Python subprocess execution detectedreturn 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.
AST05
HIGH
Privileged sudo commandtermux_mcp/handlers/terminal.py:199 · Privileged sudo command — agent may execute with elevated privilegesparts.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.
AST05
HIGH
Access to sensitive file pathstermux_mcp/smart/hardening.py:129 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system fileselse 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.
AST05
CRITICAL
OS command execution function call detectedtermux_mcp/websocket.py:869 · OS command execution function call detectedos.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.
AST05
CRITICAL
OS command execution function call detectedtermux_mcp/websocket.py:788 · OS command execution function call detected"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.
AST05
HIGH
References a credential file in the home directorytermux_mcp/handlers/ai_power.py:274 · References a credential file in the home directory'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.
AST03
CRITICAL
OS command execution function call detectedtermux_mcp/websocket.py:787 · OS command execution function call detected"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.
AST05
HIGH
References a credential file in the home directorytermux_mcp/smart/fixgraph.py:79 · References a credential file in the home directory"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.
AST03
CRITICAL
OS command execution function call detectedtermux_mcp/websocket.py:878 · OS command execution function call detectedos.system(Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
CRITICAL
OS command execution function call detectedtermux_mcp/websocket.py:786 · OS command execution function call detected"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.
AST05
MEDIUM
Python subprocess execution detectedtermux_mcp/approval.py:30 · Python subprocess execution detecteddone = 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.
AST05
HIGH
Access to sensitive file pathstermux_mcp/smart/fixgraph.py:78 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files("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.
AST05
CRITICAL
OS command execution function call detectedtermux_mcp/websocket.py:847 · OS command execution function call detectedos.system(Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
CRITICAL
OS command execution function call detectedtermux_mcp/websocket.py:789 · OS command execution function call detected"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.
AST05
CRITICAL
OS command execution function call detectedtermux_mcp/mcp_core.py:721 · OS command execution function call detectedos.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.
AST05
HIGH
Access to sensitive file pathstermux_mcp/checks/ssh_keys_present.json:6 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"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.
AST05
HIGH
Access to sensitive file pathstermux_mcp/smart/hardening.py:121 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"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.
AST05
CRITICAL
OS command execution function call detectedtermux_mcp/websocket.py:842 · OS command execution function call detectedexists = os.popen(Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Access to sensitive file pathstermux_mcp/smart/hardening.py:34 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesif 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.
AST05
HIGH
References a credential file in the home directorytermux_mcp/handlers/ai_power.py:286 · References a credential file in the home directory'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.
AST03
CRITICAL
OS command execution function call detectedtermux_mcp/websocket.py:865 · OS command execution function call detectedexists = os.popen(Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
CRITICAL
OS command execution function call detectedtermux_mcp/mcp_core.py:738 · OS command execution function call detectedalive = os.popen(Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
CRITICAL
OS command execution function call detectedtermux_mcp/websocket.py:846 · OS command execution function call detectedos.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.
AST05
HIGH
Access to sensitive file pathstermux_mcp/handlers/ai_power.py:274 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files'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.
AST05
CRITICAL
Reads credential paths from the home directorytermux_mcp/handlers/ai_power.py:286 · Reads credential paths from the home directory'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.
AST03
HIGH
Access to sensitive file pathstermux_mcp/handlers/ai_power.py:269 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files'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.
AST05
CRITICAL
OS command execution function call detectedtermux_mcp/websocket.py:40 · OS command execution function call detectedout = os.popen(Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedtermux_mcp/automations.py:181 · Python subprocess execution detectedr = 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.
AST05
HIGH
Tunneling service URLtermux_mcp/smart/power.py:333 · Tunneling service URL — may route traffic to attacker infrastructure_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.
AST07
MEDIUM
Python subprocess execution detectedtermux_mcp/styling.py:202 · Python subprocess execution detecteddone = subprocess.run(["showfigfonts"],Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedtermux_mcp/mcp_core.py:569 · Python subprocess execution detectedprocess = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Process kill commandtermux_mcp/handlers/features.py:59 · Process kill command — agent can terminate processesf'|| echo "Failed to kill process {pid}"'Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandtermux_mcp/websocket.py:660 · Process kill command — agent can terminate processescmd = 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.
AST05
MEDIUM
Python subprocess execution detectedtermux_mcp/smart/intent_tools.py:212 · Python subprocess execution detectedproc = 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.
AST05
MEDIUM
Python subprocess execution detectedtermux_mcp/playbook.py:471 · Python subprocess execution detecteddone = 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.
AST05
MEDIUM
Process kill commandtermux_mcp/network.py:18 · Process kill command — agent can terminate processessubprocess.run(f"kill -9 {pid}", shell=True, check=False)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandtermux_mcp/handlers/features.py:58 · Process kill command — agent can terminate processesf'kill -{signal_num} {pid} 2>&1 && echo "Process {pid} terminated" 'Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
File permission modification commandtermux_mcp/smart/fixgraph.py:61 · File permission modification command — agent changes file ownership/permissions("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.
AST05
MEDIUM
Python subprocess execution detectedtermux_mcp/capsule.py:80 · Python subprocess execution detecteddone = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedtermux_mcp/terminal.py:411 · Python subprocess execution detectedos.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.
AST05
MEDIUM
npx invocation of non-well-known packagetermux_mcp/handlers/terminal.py:251 · npx invocation of non-well-known package — may execute untrusted codef'echo {shell_quote("Run: npx create-react-app " + project_name)}'Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
File permission modification commandtermux_mcp/handlers/terminal.py:392 · File permission modification command — agent changes file ownership/permissionsf'chmod +x {safe_out} && 'Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Python subprocess execution detectedtermux_mcp/automations.py:189 · Python subprocess execution detectedr = 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.
AST05
MEDIUM
Python subprocess execution detectedtermux_mcp/smart/power.py:402 · Python subprocess execution detectedproc = 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.
AST05
MEDIUM
Python subprocess execution detectedtermux_mcp/capsule.py:124 · Python subprocess execution detecteddone = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedtermux_mcp/styling.py:134 · Python subprocess execution detecteddone = subprocess.run(["termux-reload-settings"],Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedtermux_mcp/network.py:10 · Python subprocess execution detectedresult = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedtermux_mcp/shell.py:274 · Python subprocess execution detectedprocess = 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.
AST05
MEDIUM
Python subprocess execution detectedtermux_mcp/styling.py:176 · Python subprocess execution detecteddone = 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.
AST05
MEDIUM
Python subprocess execution detectedtermux_mcp/styling.py:236 · Python subprocess execution detecteddone = 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.
AST05
MEDIUM
Python subprocess execution detectedtermux_mcp/server.py:40 · Python subprocess execution detectedsubprocess.Popen(["termux-wake-lock"], stdout=subprocess.DEVNULL,Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedtermux_mcp/network.py:18 · Python subprocess execution detectedsubprocess.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.
AST05
MEDIUM
Python subprocess execution detectedtermux_mcp/smart/base.py:139 · Python subprocess execution detectedproc = subprocess.Popen(cmd, **kwargs)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Process kill commandtermux_mcp/smart/explain.py:23 · Process kill command — agent can terminate processes"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.
AST05
MEDIUM
Python subprocess execution detectedtermux_mcp/websocket.py:227 · Python subprocess execution detectedprocess = 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.
AST05
MEDIUM
MCP server using network transport (SSE/HTTP)termux_mcp/mcp_main.py:30 · MCP server using network transport (SSE/HTTP) — data sent over networkmcp_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.
AST04
MEDIUM
File permission modification commandtermux_mcp/handlers/ai_power.py:271 · File permission modification command — agent changes file ownership/permissions'chmod 700 ~/.ssh',Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commandtermux_mcp/smart/hardening.py:68 · File permission modification command — agent changes file ownership/permissionsout.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.
AST05

Cost to the agent

Instructions loaded
≈75 tok
1 file · 81 in bundle
Tool list per prompt
≈0 tok
0 tools · 0 per tool
Handshake
no reply
launch to tools/list, stdio
Undocumented tools
0
description under 20 chars · avg 0

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%
  1. OS command execution function call detected≈ +9 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  2. 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.
  3. 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.
  4. Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  5. 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.
  6. 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.
Publish a new version to PyPI, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim parixit-sutariyaPropose a patch to the maintainer