tgmcp@1.2.0
CAUTION· startup onlyPublisher claims: "Enables Claude Code sessions to read, send, search, and watch Telegram chats and forum topics through a single always-on local daemon that keeps the only Telegram connection. Sending is governed by an editable rules file with blocked, approval, and auto-send lists, nickname resolution, and interactive approvals via a menu bar app, a Claude dialog, or a confirm tool." Observed in sandbox: calls github.com only, touches nothing outside the project, writes no memory.
Coverage
Startup only; authenticated tool behavior not tested.- Tested
- install scripts, with decoy credentials in place · second launch with the clock 45 days ahead · server startup over stdio (initialize sent) · every file read, file written and host contacted by what ran
- Not tested
- the tool list (the server exited before answering) · what the tools do when called with real credentials
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 1 host, and its code names 14 environment variables. Coverage: startup only.
Files read
None recorded.
Hosts called
- github.comdeclared
Environment variables its code names
DEMO_HOME, DEMO_PORT, GITHUB_REF_NAME, GITHUB_REF_TYPE, GITHUB_REPOSITORY, TELEGRAM_API_HASH, TELEGRAM_API_ID, TELEGRAM_MCP_CHANNEL, TELEGRAM_MCP_DOWNLOADS, TELEGRAM_MCP_HOME, TELEGRAM_MCP_MENUBAR_APP, TELEGRAM_MCP_PORT, TELEGRAM_MCP_SECRET_STORE, TELEGRAM_MCP_TRAY_APP
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
- the tool list (the server exited before answering)
- what the tools do when called with real credentials
| Run date | 2026-11-08 |
| Coverage | startup only |
| Engine | 1.9.2, script@linux |
| Reproduce | npx -y vet-skills try tgmcp |
| 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
TELEGRAM_MCP_SECRET_STOREConfiguration, not credentials: DEMO_HOME, DEMO_PORT, GITHUB_REF_NAME, GITHUB_REF_TYPE, GITHUB_REPOSITORY, TELEGRAM_API_HASH, TELEGRAM_API_ID, TELEGRAM_MCP_CHANNEL, TELEGRAM_MCP_DOWNLOADS, TELEGRAM_MCP_HOME, TELEGRAM_MCP_MENUBAR_APP, TELEGRAM_MCP_PORT, TELEGRAM_MCP_TRAY_APP- Where it talks to
- telegram.org (its own)Also t.me, apple.com, microsoft.com — not the publisher's domain; check what for before connecting.
- What we saw when it ran
- no credential files read · reached only github.com
- What we could not test
- the tool list (the server exited before answering) · what the tools do when called with real credentials
Connect it with a scoped credential, under the guard, and read the third-party hosts first. The code names t.me, apple.com, microsoft.com as well as its own vendor. The guard injects TELEGRAM_MCP_SECRET_STORE only into requests to telegram.org (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 (3 scenarios; startup only; authenticated tool behavior not tested) on 2026-11-08 and scored it 65/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: Pipe-to-shell pattern; Bidirectional text override characters detected; Access to sensitive file paths. Summary: calls github.com only, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 30 s · 3 scenarios · 0 deviationsStatic findings
# curl --proto '=https' --tlsv1.2 -LsSf https://github.com/__REPO__/releases/download/v__VERSION__/tgmcp-installer.sh | shFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.expect(applyFooterPatch(on, { footer: '\n\nx', enabled: false }).ok).toBe(false)Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.curl --proto '=https' --tlsv1.2 -LsSf ${dl}/tgmcp-installer.sh | shFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.((await (await ui('/ui/state')).json()) as { contacts: { nickname: string; sendMode: string; autoReply: boolean }[] }).contacts.find(Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.const BIDI = /[--]/uFix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.expect(notes).toContain(`curl --proto '=https' --tlsv1.2 -LsSf ${dl}/tgmcp-installer.sh | sh`)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.const SECRET_NAMES = /^(\.env(\..*)?|\.netrc|\.npmrc|\.pypirc|id_(rsa|dsa|ecdsa|ed25519)(_[\w-]+)?(\.pub)?|.*\.(pem|key|p12|pfx|kdbx))$/iFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.expect(cleanReason(' hi\u0007 there ')).toBe('hi there')Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.expect(error('\n\nevil')).toBe("The footer can't contain text direction marks.")Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls..replace(/[\u0000-\u001f\u007f--]+/g, ' ')Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.… watching always asks the user first, even on auto-send. Credentials (SSH keys, .env files, cloud logins, this tool\'s own session) are always refused.', input:…Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.this.d.log?.(`page: could not answer the sender in ${chatId}: ${e instanceof Error ? e.message : e}`)Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.expect(error('\n\n👨👩👧 ස්තූතියි')).toBeNull()Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.for (const path of [join(dir, '.env'), join(dir, 'id_ed25519'), join(dir, 'server.pem'), join(mcpHome, 'session.db'), join(dir, 'innocent.txt')]) {Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.expect(notes).toContain(`curl --proto '=https' --tlsv1.2 -LsSf ${dl}/tgmcp-installer.sh | sh`)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.chmod 755 "$INSTALL_DIR/.tgmcp.new"Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.writeFileSync(join(dir, '.env'), 'SECRET=1')Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const INVISIBLE = /[\s-]/guFix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.expect(error('\n\n ')).toBe("The footer can't be empty. Turn it off instead.")Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.# curl --proto '=https' --tlsv1.2 -LsSf https://github.com/__REPO__/releases/download/v__VERSION__/tgmcp-installer.sh | shFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.curl --proto '=https' --tlsv1.2 -LsSf ${dl}/tgmcp-installer.sh | shFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out..replace(/[\u0000-\u0008\u000b-\u001f\u007f\u061c\u200e\u200f\u202a-\u202e\u2066-\u2069]/g, '')Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.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
15 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Pipe-to-shell pattern≈ +9 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
- Unclaimed publisher≈ +8 on the totalClaim iddhi-sulakshana: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- 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.
- 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.
- Remote installer piped to shell≈ +2 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
- Bidirectional text override characters detected≈ +2 on the totalReplace encoded or assembled strings with plain literals and remove undeclared network calls.