MCP ScannerCustom audit
All servers

chaindead/telegram-mcp

Telegram MCP for managing dialogs, messages, drafts, read statuses, and more.

Publisherchaindead community
MCP Registrynot listed
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 350Forks 59Last push 2026-05-28
Go 100.0%by source files the scanner reads
Code safetypartly tracedExposurepartly tracedPrompts10.0Supply chain3.2Secrets10.0Transparency10.0
Analysis confidence97%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetypartly traced—

Paths from tool input into commands, SQL, files and URLs

Capability Exposurepartly traced—

How much power the tools give an agent over the machine

Prompt Integritynothing published yet10.0/10

Hidden instructions and poisoning in text for the model

Supply Chain3.2/10Poor

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnothing published yet10.0/10

How the server reads credentials and where they can go

Behavior Transparencynothing published yet10.0/10

Whether the tools do only what their descriptions say

How far the analysis went

The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety and Capability Exposure are shown as partly traced instead of a score: no finding there is not a clean result.

  • In 5 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there

Top risks in plain words

  • CRITICAL10 production dependencies have known vulnerabilities (worst: critical).

How to use it safely

Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.

  • Update its vulnerable packages

    Use github.com/buger/jsonparser 1.1.2 or later, github.com/gotd/td 0.145.1 or later, github.com/klauspost/compress 1.20.2 or later, go.opentelemetry.io/otel 1.47.0 or later and 6 more.

  • Keep confirmations on

    Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.

What its tools can do on your machine

The server offers 5 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.

None of the tools reaches any of these in the code the scanner could trace.

Where its requests and secrets go

Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.

Hosts written in the code

The literal addresses the tools' requests name.

  • None: no request names a fixed host.
Addresses from settings

Constants or settings that start an address; the value comes from configuration.

  • None seen.
Secrets it reads

Credential-like environment variables. Give the server a key with the least access it needs.

  • None: no credential-like variable is read by the tools.

Text it brings in from outside

No tool was seen returning text from outside the server to the model.

Tool annotations

No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.

Tools, prompts and resources (5: 5 tools)

Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.

tg_dialogtool Get messages of telegram dialog
Get messages of telegram dialog
tg_dialogstool Get list of telegram dialogs (chats, channels, users)
Get list of telegram dialogs (chats, channels, users)
tg_metool Get current telegram account info
Get current telegram account info
tg_readtool Mark dialog messages as read
Mark dialog messages as read
tg_sendtool Send draft message to dialog
Send draft message to dialog

Text the model reads (5)

Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.

tg_me tool
Get current telegram account info
tg_dialogs tool
Get list of telegram dialogs (chats, channels, users)
tg_dialog tool
Get messages of telegram dialog
tg_send tool
Send draft message to dialog
tg_read tool
Mark dialog messages as read

What we checked

The same checks run on every server. Each line below has one of these marks:

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safetypartly traced
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Checked on every scan. Results in this category are published only after a person has verified them.
Capability Exposurepartly traced
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 5 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Executes caller-supplied code
    No tool evaluates code the caller supplies — 5 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Reads or writes any file path
    No tool works on a file path the caller supplies without a root check — 5 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Requests any address
    No tool sends a request to an address the caller supplies — 5 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 5 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Tools that start processes
    Not seen in the traced code of 5 capabilities; 5 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    Not seen in the traced code of 5 capabilities; 5 more call code the scanner could not follow, where it may happen
  • Tools that call the network
    Not seen in the traced code of 5 capabilities; 5 more call code the scanner could not follow, where it may happen
Where the code is: 5 handlers in 5 files at commit 52d7991146a5
Prompt Integrity10.0
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Checked on every scan. Results in this category are published only after a person has verified them.
Supply Chain3.2
  • Dependency manifests
    1 manifest: go.mod
  • Lockfiles checked against OSV
    1 file resolved and checked against the OSV database
  • Known vulnerabilities in production dependencies CRITICAL
    10 production packages with known advisories
  • Known vulnerabilities in other dependencies
    No package used only for development, tests or examples has a known advisory
  • MCP SDK version
    No MCP SDK declared in a manifest
Secrets & Credentials10.0
  • 3 checks: credential harvesting, undeclared credential access, credentials sent over the network
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tools that read credentials
    Not seen in the traced code of 5 capabilities; 5 more call code the scanner could not follow, where it may happen
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparency10.0
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tool descriptions present
    Every tool has a description the model and the user can read
  • Statically known names
    Every tool's name could be read from the code
  • Input schemas
    Not checked: needs the live server's tools/list (every tool declares an input schema)
  • Destructive tools annotated
    Not checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)

Dependencies with known vulnerabilities (10 in production)

PackageInstalledWorstAdvisoriesFixed in
golang.org/x/cryptoGo v0.36.0 CRITICAL 34 advisories 0.43.00.45.00.52.0+3 more
  • CRITICALGHSA-89gr-r52h-f8rx CVE-2026-39831 GO-2026-5019golang.org/x/crypto: FIDO/U2F security key physical presence check can be bypassed
  • CRITICALGHSA-f5wc-c3c7-36mc CVE-2026-39832 GO-2026-5006golang.org/x/crypto doesn't drop invoking agent constraints when forwarding keys
  • CRITICALGHSA-5cgq-3rg8-m6cv CVE-2026-42508 GO-2026-5021golang.org/x/crypto vulnerable to auth bypass via unenforced @revoked status
  • CRITICALGHSA-jppx-rxg9-jmrx CVE-2026-39833 GO-2026-5005golang.org/x/crypto doesn't enforce invoking key constraints
  • CRITICALGHSA-rm3j-f69w-wqmq CVE-2026-39834 GO-2026-5020golang.org/x/crypto vulnerable to infinite loop on large channel writes
  • CRITICALGHSA-x527-x647-q7gg CVE-2026-46595 GO-2026-5023golang.org/x/crypto: Invoking VerifiedPublicKeyCallback permissions skip enforcement
  • CRITICALGHSA-vgwf-h737-ff37 CVE-2026-39830 GO-2026-5017golang.org/x/crypto: Invoking client can cause server deadlock on unexpected responses
  • HIGHGHSA-w879-237q-wc7r CVE-2026-39829 GO-2026-5018golang.org/x/crypto: Invoking pathological RSA/DSA parameters may cause DoS
  • HIGHGHSA-q4h4-gmj2-qvw2 CVE-2026-46597 GO-2026-5013golang.org/x/crypto: Invoking byte arithmetic causes underflow and panic
  • MEDIUMGHSA-qpw4-5x99-6vjp CVE-2026-39827 GO-2026-5016golang.org/x/crypto: Invoking memory leak when rejecting channels can lead to DoS
  • MEDIUMGO-2026-5016 CVE-2026-39827 GHSA-qpw4-5x99-6vjpInvoking memory leak when rejecting channels can lead to DoS in golang.org/x/crypto/ssh
  • MEDIUMGO-2026-5019 CVE-2026-39831 GHSA-89gr-r52h-f8rxInvoking bypass of FIDO/U2F security keys physical interaction in golang.org/x/crypto/ssh
  • MEDIUMGO-2026-5005 CVE-2026-39833 GHSA-jppx-rxg9-jmrxInvoking key constraints not enforced in golang.org/x/crypto/ssh/agent
  • MEDIUMGO-2026-6355 CVE-2026-56855Prevent DoS on deadlocked established channel in golang.org/x/crypto/ssh
  • MEDIUMGO-2025-4134 CVE-2025-58181 GHSA-j5w8-q4qc-rx2xUnbounded memory consumption in golang.org/x/crypto/ssh
  • MEDIUMGHSA-9m57-25v3-79x9 CVE-2026-46598 GO-2026-5033golang.org/x/crypto: Invoking pathological inputs can lead to client panic
  • MEDIUMGO-2025-4116 CVE-2025-47913 GHSA-56w8-48fp-6mgvPotential denial of service in golang.org/x/crypto/ssh/agent
  • MEDIUMGO-2026-6303 CVE-2026-56854Source-address critical option not enforced for non-public-key auth callbacks in golang.org/x/crypto/ssh
  • MEDIUMGO-2026-5013 CVE-2026-46597 GHSA-q4h4-gmj2-qvw2Invoking byte arithmetic causes underflow and panic in golang.org/x/crypto/ssh
  • MEDIUMGHSA-78mq-xcr3-xm33 CVE-2026-39835 GO-2026-5015golang.org/x/crypto is vulnerable to invoking server panic during CheckHostKey/Authenticate flow
  • MEDIUMGO-2026-5018 CVE-2026-39829 GHSA-w879-237q-wc7rInvoking pathological RSA/DSA parameters may cause DoS in golang.org/x/crypto/ssh
  • MEDIUMGO-2026-5021 CVE-2026-42508 GHSA-5cgq-3rg8-m6cvInvoking auth bypass via unenforced @revoked status in golang.org/x/crypto/ssh/knownhosts
  • MEDIUMGO-2026-5020 CVE-2026-39834 GHSA-rm3j-f69w-wqmqInvoking infinite loop on large channel writes in golang.org/x/crypto/ssh
  • MEDIUMGO-2026-6354 CVE-2026-78662Prevent DoS on deadlocked undecided channel in golang.org/x/crypto/ssh
  • MEDIUMGHSA-f6x5-jh6r-wrfv CVE-2025-47914 GO-2025-4135golang.org/x/crypto/ssh/agent vulnerable to panic if message is malformed due to out of bounds read
  • MEDIUMGO-2026-5017 CVE-2026-39830 GHSA-vgwf-h737-ff37Invoking client can cause server deadlock on unexpected responses in golang.org/x/crypto/ssh
  • MEDIUMGO-2025-4135 CVE-2025-47914 GHSA-f6x5-jh6r-wrfvMalformed constraint may cause denial of service in golang.org/x/crypto/ssh/agent
  • MEDIUMGO-2026-5015 CVE-2026-39835 GHSA-78mq-xcr3-xm33Invoking server panic during CheckHostKey/Authenticate in golang.org/x/crypto/ssh
  • MEDIUMGO-2026-5932The golang.org/x/crypto/openpgp package is unmaintained, unsafe by design, and has known security issues
  • MEDIUMGO-2026-5014 CVE-2026-39828 GHSA-45gg-vh54-h5m9Invoking bypass of certificate restrictions in golang.org/x/crypto/ssh
  • MEDIUMGO-2026-5006 CVE-2026-39832 GHSA-f5wc-c3c7-36mcInvoking agent constraints dropped when forwarding keys in golang.org/x/crypto/ssh/agent
  • MEDIUMGHSA-45gg-vh54-h5m9 CVE-2026-39828 GO-2026-5014golang.org/x/crypto vulnerable to invoking bypass of certificate restrictions
  • MEDIUMGO-2026-5033 CVE-2026-46598 GHSA-9m57-25v3-79x9Invoking pathological inputs can lead to client panic in golang.org/x/crypto/ssh/agent
  • MEDIUMGHSA-j5w8-q4qc-rx2x CVE-2025-58181 GO-2025-4134golang.org/x/crypto/ssh allows an attacker to cause unbounded memory consumption
github.com/klauspost/compressGo v1.18.0 HIGH 3 advisories 1.18.71.20.2
  • HIGHGHSA-259r-337f-4rfw CVE-2026-63209 GO-2026-5841Compress/s2: Integer Overflow or Wraparound and Out-of-bounds Write in compress
  • MEDIUMGO-2026-5841 CVE-2026-63209 GHSA-259r-337f-4rfwOOB read in github.com/klauspost/compress/s2
  • MEDIUMGO-2026-6865 CVE-2026-116591 GHSA-fpmh-frq8-7rj8Panic on two-block frames in github.com/klauspost/compress
github.com/buger/jsonparserGo v1.1.1 HIGH 2 advisories 1.1.2
  • HIGHGHSA-6g7g-w4f8-9c9x CVE-2026-32285 GO-2026-4514github.com/buger/jsonparser has a denial of service vulnerability
  • MEDIUMGO-2026-4514 CVE-2026-32285 GHSA-6g7g-w4f8-9c9xDenial of service in github.com/buger/jsonparser
github.com/gotd/tdGo v0.121.0 HIGH 2 advisories 0.145.1
  • HIGHGHSA-whmm-qj9r-wvr2 CVE-2026-54638 GO-2026-6138td has pre-auth denial of service via unbounded memory allocation in proto.UnencryptedMessage.Decode
  • MEDIUMGO-2026-6138 CVE-2026-54638 GHSA-whmm-qj9r-wvr2Unbounded memory allocation in proto.UnencryptedMessage.Decode in github.com/gotd/td
golang.org/x/netGo v0.37.0 MEDIUM 20 advisories 0.38.00.45.00.53.0+5 more
  • MEDIUMGO-2026-6860 CVE-2026-78661Avoid quadratic complexity when coalescing text nodes in html in golang.org/x/net
  • MEDIUMGO-2026-4440 CVE-2025-47911 GHSA-w4gw-w5jq-g9jhQuadratic parsing complexity in golang.org/x/net/html
  • MEDIUMGO-2026-5025 CVE-2026-42506Invoking incorrect handling of namespaced elements in foreign content in golang.org/x/net/html
  • MEDIUMGO-2026-5026 CVE-2026-39821Invoking failure to reject ASCII-only Punycode-encoded labels in golang.org/x/net/idna
  • MEDIUMGHSA-vvgc-356p-c3xw CVE-2025-22872 GO-2025-3595golang.org/x/net vulnerable to Cross-site Scripting
  • MEDIUMGHSA-5cv4-jp36-h3mw CVE-2026-25680 GO-2026-5028Go Net HTML parser is vulnerable to denial of service
  • MEDIUMGO-2026-6866 CVE-2026-97045Check all ancestor namespace transitions when rendering raw text in html in golang.org/x/net
  • MEDIUMGO-2026-4441 CVE-2025-58190Infinite parsing loop in golang.org/x/net
  • MEDIUMGO-2026-5029 CVE-2026-25681Invoking incorrect handling of character references in DOCTYPE nodes in golang.org/x/net/html
  • MEDIUMGO-2026-6611 BIT-golang-2026-78669 CVE-2026-78669Excessive CPU consumption from repeated initial window changes in net/http
  • MEDIUMGO-2026-6610 BIT-golang-2026-78660 CVE-2026-78660HTTP/2 transport accepts malformed framing-related headers in net/http
  • MEDIUMGO-2026-5942 BIT-golang-2026-46600 CVE-2026-46600Parsing an invalid SVCB or HTTPS RR can panic in golang.org/x/net/dns/dnsmessage
  • MEDIUMGO-2026-6603 BIT-golang-2026-78659 CVE-2026-78659HTTP/2 server memory exhaustion due to Trailer headers in net/http
  • MEDIUMGO-2026-5030 CVE-2026-27136Invoking duplicate attributes can cause XSS in golang.org/x/net/html
  • MEDIUMGO-2026-5027 CVE-2026-42502Invoking incorrect handling of HTML elements in foreign content in golang.org/x/net/html
  • MEDIUMGO-2026-5028 CVE-2026-25680 GHSA-5cv4-jp36-h3mwInvoking denial of service when parsing arbitrary HTML in golang.org/x/net/html
  • MEDIUMGO-2026-6617 BIT-golang-2026-97032 CVE-2026-97032HTTP/2 server crash due to HPACK encoder race in net/http
  • MEDIUMGO-2026-6612 BIT-golang-2026-78663 CVE-2026-78663Double flow control refund on HTTP/2 server streams in net/http
  • MEDIUMGO-2025-3595 CVE-2025-22872 GHSA-vvgc-356p-c3xwIncorrect Neutralization of Input During Web Page Generation in x/net in golang.org/x/net
  • MEDIUMGO-2026-4918 BIT-golang-2026-33814 CVE-2026-33814Infinite loop in HTTP/2 transport when given bad SETTINGS_MAX_FRAME_SIZE in net/http/internal/http2 in golang.org/x/net
go.opentelemetry.io/otel/traceGo v1.35.0 MEDIUM 2 advisories 1.47.0
  • MEDIUMGHSA-q7gw-24fr-5p69 CVE-2026-128085 GO-2026-6974opentelemetry-go: AttributeValueLengthLimit is fully bypassed by attribute values composed of valid U+FFFD runes
  • MEDIUMGO-2026-6974 CVE-2026-128085 GHSA-q7gw-24fr-5p69AttributeValueLengthLimit bypass via U+FFFD runes in go.opentelemetry.io/otel/sdk
golang.org/x/modGo v0.24.0 MEDIUM 2 advisories 0.40.0
  • MEDIUMGO-2026-6180 BIT-golang-2026-56864 CVE-2026-56864Ignore unrelated, unauthenticated hashes in Lookup in golang.org/x/mod/sumdb
  • MEDIUMGO-2026-6179 BIT-golang-2026-56865 CVE-2026-56865Fix transparency log tile verification bypass in golang.org/x/mod/sumdb/tlog
golang.org/x/textGo v0.23.0 MEDIUM 2 advisories 0.39.00.41.0
  • MEDIUMGO-2026-6629 CVE-2026-56851Panic parsing crafted input in x/text/secure/precis in golang.org/x/text
  • MEDIUMGO-2026-5970 CVE-2026-56852Infinite loop on invalid input in golang.org/x/text
go.opentelemetry.io/otelGo v1.35.0 MEDIUM 1 advisory 1.47.0
  • MEDIUMGO-2026-6975 CVE-2026-128086 GHSA-rrfc-gjm9-cgrjMemory allocation amplification in W3C baggage parsing in go.opentelemetry.io/otel
golang.org/x/sysGo v0.31.0 MEDIUM 1 advisory 0.44.0
  • MEDIUMGO-2026-5024 CVE-2026-39824Invoking integer overflow in NewNTUnicodeString in golang.org/x/sys/windows

Past security advisories

Vulnerabilities published for this server itself, from the GitHub Advisory Database.

No security advisories have been published for this server in the GitHub Advisory Database.

How it runs

Where it runsOn your machine, started by your MCP client from this repository or its package
Transportnot stated in the code the scanner read; most local servers talk over stdio
Sign-innot checked needs the live server

The project's own security

Security policynone no SECURITY.md in the repository: report issues privately through GitHub if it is enabled
Past advisoriesnone in the GitHub Advisory Database
Last push2026-05-28
Signed releasesnot checked yet

Where it is published

Listed in6 catalogs (awesome_punkpeye, awesome_tensorblock, github_search, glama, mcp_toplist, mcpservers_org)
LicenseMIT
Created2025-04-01
Topicsmcp mcp-server mtproto telegram telegram-api

Attack map

How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.

Request a scan or an audit

Tell us about your server. We reply within 5 working days.

What do you need? *

We use these details only to answer you.