tg-mcp-safe@0.1.0
CAUTION· not startedPublisher claims: "Enables an AI agent to operate a Telegram user account through 116 Telethon-based tools covering messages, chats and file handling, while masking login codes and other secrets and refusing to forward, download or upload sensitive material. It runs locally over stdio or as a locked-down systemd service with encrypted credentials." In our sandbox: Not started: dependency install failed; the server itself was not observed.
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.
Behavior
In our sandbox run on 2026-11-08, [email protected] read no files and called no hosts, and its code names 7 environment variables. Coverage: not started.
Files read
None recorded.
Hosts called
None recorded.
Environment variables its code names
CREDENTIALS_DIRECTORY, MCP_HOST, MCP_PORT, MCP_TRANSPORT, TG_MCP_DOWNLOAD_DIR, TG_MCP_ENV_FILE, TG_MCP_URL
Names only, read from the code. We never hold a value.
Tools offered
No tool list recorded.
Changes since the prior version
No prior version with a result to compare.
What we did not test
- server startup
- the tool list
- tool behavior
| Run date | 2026-11-08 |
| Coverage | not started |
| Engine | 1.9.2, script@linux |
| Reproduce | npx -y vet-skills try tg-mcp-safe |
| This record | behavior.json, behavior.md, signed attestation |
This is a record of what one version did in the runs we made. It is evidence, not a certificate.
Before you give it your token
- It will ask for
CREDENTIALS_DIRECTORYor--move-credentialsConfiguration, not credentials: MCP_HOST, MCP_PORT, MCP_TRANSPORT, TG_MCP_DOWNLOAD_DIR, TG_MCP_ENV_FILE, TG_MCP_URL- Where it talks to
- no vendor host named in the codeAlso t.me — 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 t.me as well as its own vendor. The guard injects CREDENTIALS_DIRECTORY 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-08 and scored it 70/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: Hidden zero-width characters detected; Privileged sudo command; Access to sensitive file paths. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 0 s · 2 scenarios · 0 deviationsStatic findings
_INVISIBLE = re.compile("[͏ᅟᅠ឴឵---ㅤ︀-️ᅠ]")Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.chmod 0600 "$CRED"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.(os.path.expanduser("~/.claude/.env"), "outside_roots"),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.("/etc/passwd", "outside_roots"),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.(root / ".env").write_text("A=1")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.(".env", "file_denied"),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# Новая сессия Telegram для tg-mcp-safe. Запускать в терминале: sudo deploy/rotate-session.sh [--qr [--light]]Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."*.tfstate*", "*.ovpn", "*.wg", "wg*.conf", "*.gpg", "*.asc", "*.kdbx", ".netrc", ".pgpass",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.res = await media.send_file(chat_id=1, file_path=os.path.expanduser("~/.claude/.env"))Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.chmod 600 "$NEW"; mv "$NEW" "$CRED"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts._INVISIBLE = re.compile("[͏ᅟᅠ឴឵---ㅤ︀-️ᅠ]")Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.chmod 0644 /etc/systemd/system/tg-mcp-safe.serviceFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.r = run(channels.send_post(chat_id=-1005, html="x", file_path="/etc/passwd"))Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.chown -R root:root "$PREFIX/venv"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.t = GL[:5] + "" + GL[5:]Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.chown -R root:root "$PREFIX/src"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.# Установка/обновление tg-mcp-safe. Запуск: sudo deploy/install.sh [--move-credentials SRC]Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.".env", ".env.*", "*.env", "env", "*.pem", "*.key", "*.p12", "*.pfx", "*.jks", "*.keystore",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.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
Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.
What would make this Verified
10 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Unclaimed publisher≈ +8 on the totalClaim veeskelad: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Hidden zero-width characters detected≈ +4 on the totalKeep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
- Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- Bidirectional text override characters detected≈ +4 on the totalReplace encoded or assembled strings with plain literals and remove undeclared network calls.
- New publisher≈ +3 on the totalTime clears this on its own after 14 and 30 days. Claiming the handle (+50) is the fastest way past it.
- File permission modification command≈ +2 on the totalRequest the narrowest permission that works; replace wildcards with the exact paths or hosts.