Skills/Glama/tg-mcp-safe

tg-mcp-safe@0.1.0

CAUTION· not started

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

Registry GlamaPublisher veeskelad · publishing for 16 daysInstalls 0Last detonated 16d 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.

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 date2026-11-08
Coveragenot started
Engine1.9.2, script@linux
Reproducenpx -y vet-skills try tg-mcp-safe
This recordbehavior.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_DIRECTORY or --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.

$vet-skills run --net declared -- <the server's command>

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

Static findings

HIGH
Hidden zero-width characters detectedtg_mcp_safe/guard/redact.py:17 · Hidden zero-width characters detected — may conceal content_INVISIBLE = re.compile("[­͏؜ᅟᅠ឴឵᠎​-‏‪-‮⁠-ㅤ︀-️ᅠ]")Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
AST07
MEDIUM
File permission modification commanddeploy/install.sh:35 · File permission modification command — agent changes file ownership/permissionschmod 0600 "$CRED"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Access to sensitive file pathstests/test_files.py:33 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files(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.
AST05
MEDIUM
Access to sensitive file pathstests/test_files.py:32 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files("/etc/passwd", "outside_roots"),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Access to sensitive file pathstests/test_files.py:12 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files(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.
AST05
MEDIUM
Access to sensitive file pathstests/test_files.py:28 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files(".env", "file_denied"),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Privileged sudo commanddeploy/rotate-session.sh:2 · Privileged sudo command — agent may execute with elevated privileges# Новая сессия 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.
AST05
HIGH
Access to sensitive file pathstg_mcp_safe/guard/files.py:24 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"*.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.
AST05
MEDIUM
Access to sensitive file pathstests/test_media_guard.py:78 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesres = 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.
AST05
MEDIUM
File permission modification commanddeploy/rotate-session.sh:22 · File permission modification command — agent changes file ownership/permissionschmod 600 "$NEW"; mv "$NEW" "$CRED"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
HIGH
Bidirectional text override characters detectedtg_mcp_safe/guard/redact.py:17 · Bidirectional text override characters detected — may hide content direction_INVISIBLE = re.compile("[­͏؜ᅟᅠ឴឵᠎​-‏‪-‮⁠-ㅤ︀-️ᅠ]")Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.
AST07
MEDIUM
File permission modification commanddeploy/install.sh:42 · File permission modification command — agent changes file ownership/permissionschmod 0644 /etc/systemd/system/tg-mcp-safe.serviceFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Access to sensitive file pathstests/test_channels.py:114 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesr = 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.
AST05
MEDIUM
File permission modification commanddeploy/install.sh:21 · File permission modification command — agent changes file ownership/permissionschown -R root:root "$PREFIX/venv"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Hidden zero-width characters detectedtests/test_redact.py:54 · Hidden zero-width characters detected — may conceal contentt = GL[:5] + "​" + GL[5:]Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
AST07
MEDIUM
File permission modification commanddeploy/install.sh:19 · File permission modification command — agent changes file ownership/permissionschown -R root:root "$PREFIX/src"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
HIGH
Privileged sudo commanddeploy/install.sh:2 · Privileged sudo command — agent may execute with elevated privileges# Установка/обновление tg-mcp-safe. Запуск: sudo deploy/install.sh [--move-credentials SRC]Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Access to sensitive file pathstg_mcp_safe/guard/files.py:21 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files".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.
AST05

Cost to the agent

Instructions loaded
≈35 tok
1 file · 42 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

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%
  1. 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.
  2. Hidden zero-width characters detected≈ +4 on the totalKeep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
  3. Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  4. Bidirectional text override characters detected≈ +4 on the totalReplace encoded or assembled strings with plain literals and remove undeclared network calls.
  5. 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.
  6. File permission modification command≈ +2 on the totalRequest the narrowest permission that works; replace wildcards with the exact paths or hosts.
Publish a new version to Glama, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim veeskeladPropose a patch to the maintainer