Security report: Telegram
We scan every connector on a schedule and publish what we found, how we looked, and what we do not look at. A grade is a summary; the evidence below is the whole picture.
Security C 13 critical, 34 high, 38 medium CVE(s)
- Scanned version
- 52d7991146a5
- Ecosystem
- go
- Last scanned
- 2026-12-03
Scanners that ran: osv-scanner osv-scanner version: 2.0.0, trivy Version: 0.58.1
What was checked
Includes what we do not cover. A check marked skipped did not run for this connector and is not counted as passed.
Checked
Known vulnerabilities (CVE and GHSA advisories)
Vulnerability databases refresh automatically, so re-scanning an unchanged version still surfaces newly published advisories.
Checked
Known-malicious package versions (OpenSSF MAL advisories)
A hit here is an instant F grade.
Checked
Full dependency tree and licenses recorded
Every direct and transitive package with its version is published with the result. Link detail depends on what the lockfile records.
Not applicable
Suspicious code patterns (exfiltration, install-script payloads, obfuscation, typosquatting)
Heuristic, so hits are signals rather than proof. Not yet run on Go, git-pinned, Maven or container connectors.
Not covered
MCP tool poisoning (hidden instructions in tool descriptions, lookalike tools)
Planned. It requires starting the connector, so it waits for the sandbox decision (see ADR 0001, Consequences).
Not applicable
Install and resolve without running third-party code
Dependency trees are resolved lockfile-only with install scripts disabled, so scanning never executes the package.
Not covered
Malicious instructions inside tool responses at runtime
Description-level scanning cannot see attacks carried in responses. This is a runtime concern for the desktop client and gateway.
Not covered
Prebuilt binaries and unresolvable sources
Graded as not-graded (?) rather than guessed at.
Findings (159)
github.com/buger/jsonparser: github.com/buger/jsonparser: Denial of Service via malformed JSON input
td has pre-auth denial of service via unbounded memory allocation in proto.UnencryptedMessage.Decode
github.com/klauspost/compress: klauspost/compress: Denial of Service via integer overflow in dictionary processing
go.opentelemetry.io/otel/sdk: go.opentelemetry.io/otel/sdk/log: go.opentelemetry.io/otel/trace: OpenTelemetry-Go: Denial of Service via attribute truncation bypass using Unicode replacement characters
golang.org/x/crypto/ssh/agent: golang.org/x/crypto/ssh/agent: SSH client panic due to unexpected SSH_AGENT_SUCCESS
golang.org/x/crypto/ssh: golang.org/x/crypto/ssh: Unauthorized command execution via discarded SSH permissions
golang.org/x/crypto/ssh: golang.org/x/crypto/ssh: Denial of Service via crafted public key with excessive parameters
golang.org/x/crypto/ssh: golang.org/x/crypto/ssh: Denial of Service via resource leak from unsolicited SSH responses
golang.org/x/crypto/ssh: golang.org/x/crypto/ssh: Security key bypass due to missing user presence check
golang.org/x/crypto/ssh/agent: golang.org/x/crypto/ssh/agent: Security bypass due to improper handling of key restrictions
golang.org/x/crypto/ssh: golang: golang.org/x/crypto/ssh: Denial of Service via crafted SSH certificate
golang.org/x/crypto/ssh/knownhosts: golang: golang.org/x/crypto/ssh/knownhosts: Revocation bypass via unchecked SignatureKey
golang.org/x/crypto/ssh: golang.org/x/crypto/ssh: Denial of Service via crafted AES-GCM packet decoder inputs
golang.org/x/crypto/ssh: golang.org/x/crypto/ssh: Authentication bypass due to unenforced source-address restrictions
golang.org/x/crypto/ssh/agent: SSH Agent servers: Denial of Service due to malformed messages
golang.org/x/crypto/ssh: golang.org/x/crypto/ssh: Denial of Service via unbounded memory consumption in GSSAPI authentication
golang.org/x/crypto/ssh: golang: golang.org/x/crypto/ssh: Denial of Service via repeated rejected channel openings
golang.org/x/crypto/ssh/agent: golang.org/x/crypto/ssh/agent: Security bypass due to unenforced key confirmation
golang.org/x/crypto/ssh: golang: golang.org/x/crypto/ssh: Denial of Service due to integer overflow in SSH channel write
golang.org/x/crypto/ssh/agent: golang: golang.org/x/crypto/ssh/agent: Denial of Service via malformed input
golang.org/x/crypto/ssh: golang.org/x/crypto/ssh: Denial of Service via crafted messages
golang.org/x/crypto/ssh: golang.org/x/crypto/ssh: Denial of Service via channel request flooding
UNKNOWN GO-2026-5932 in golang.org/x/crypto v0.36.0 fixed in 0.58.1-0.20261009181718-2f1f834330b2
The golang.org/x/crypto/openpgp package is unmaintained, unsafe by design, and has known security issues
golang.org/x/mod/sumdb: golang.org/x/mod/sumdb: Integrity bypass via malicious GOSUMDB
golang.org/x/mod/sumdb/tlog: golang.org/x/mod/sumdb/tlog: Supply chain compromise via transparency log tile verification bypass
golang.org/x/net/html: golang.org/x/net/html: Arbitrary code execution via Cross-Site Scripting
golang.org/x/net/html: golang: golang.org/x/net/html: Cross-Site Scripting via HTML parsing bypass
net/http/internal/http2: golang: golang.org/x/net: Go HTTP/2: Denial of Service via malformed SETTINGS_MAX_FRAME_SIZE frame
golang.org/x/net/idna: golang: net/http: golang.org/x/net/idna: Privilege escalation via incorrect Punycode label processing
golang.org/x/net/dns/dnsmessage: golang.org/x/net/dns/dnsmessage: Denial of Service via invalid DNS record parsing
golang.org/x/net/html: golang.org/x/net/html: Denial of Service via crafted HTML input
net/http: net/http/internal/http2: golang.org/x/net/http2: net/http: Denial of Service via excessive HTTP/2 SETTINGS frames
golang.org/x/net/html: Incorrect Neutralization of Input During Web Page Generation in x/net in golang.org/x/net
golang.org/x/net/html: Quadratic parsing complexity in golang.org/x/net/html
golang.org/x/net/html: Infinite parsing loop in golang.org/x/net
golang.org/x/net/html: golang.org/x/net/html: Denial of Service due to excessive HTML parsing
golang.org/x/net/html: golang: golang.org/x/net/html: Cross-Site Scripting via unexpected HTML tree rendering
golang.org/x/net/html: golang.org/x/net/html: Cross-Site Scripting (XSS) via arbitrary HTML parsing
net/http: golang.org/x/net/http2: golang: net/http: Denial of Service via HTTP/2 trailer header memory exhaustion
net/http: golang: golang.org/x/net/http2: net/http: HTTP response smuggling via malformed HTTP/2 framing headers
net/http: net/http/internal/http2: golang: golang.org/x/net/http2: golang: flow control limit bypass via double refund in HTTP/2 server
net/http: net/http/internal/http2: golang: golang.org/x/net/http2: net/http: Denial of Service via concurrent HPACK encoder modification
golang.org/x/net/html: golang.org/x/net/html: Cross-Site Scripting via improper namespace handling during HTML rendering
Invoking integer overflow in NewNTUnicodeString in golang.org/x/sys/windows
golang.org/x/text: golang.org/x/text: Denial of Service via out-of-bounds slice error in Nickname profile
golang.org/x/text: golang.org/x/text: Denial of Service via invalid UTF-8 input
github.com/buger/jsonparser has a denial of service vulnerability
Denial of service in github.com/buger/jsonparser
td has pre-auth denial of service via unbounded memory allocation in proto.UnencryptedMessage.Decode
Unbounded memory allocation in proto.UnencryptedMessage.Decode in github.com/gotd/td
Compress/s2: Integer Overflow or Wraparound and Out-of-bounds Write in compress
OOB read in github.com/klauspost/compress/s2
Panic on two-block frames in github.com/klauspost/compress
Memory allocation amplification in W3C baggage parsing in go.opentelemetry.io/otel
opentelemetry-go: AttributeValueLengthLimit is fully bypassed by attribute values composed of valid U+FFFD runes
AttributeValueLengthLimit bypass via U+FFFD runes in go.opentelemetry.io/otel/sdk
golang.org/x/crypto vulnerable to invoking bypass of certificate restrictions
golang.org/x/crypto vulnerable to auth bypass via unenforced @revoked status
golang.org/x/crypto is vulnerable to invoking server panic during CheckHostKey/Authenticate flow
golang.org/x/crypto: FIDO/U2F security key physical presence check can be bypassed
golang.org/x/crypto: Invoking pathological inputs can lead to client panic
golang.org/x/crypto doesn't drop invoking agent constraints when forwarding keys
golang.org/x/crypto/ssh/agent vulnerable to panic if message is malformed due to out of bounds read
golang.org/x/crypto/ssh allows an attacker to cause unbounded memory consumption
golang.org/x/crypto doesn't enforce invoking key constraints
golang.org/x/crypto: Invoking byte arithmetic causes underflow and panic
golang.org/x/crypto: Invoking memory leak when rejecting channels can lead to DoS
golang.org/x/crypto vulnerable to infinite loop on large channel writes
golang.org/x/crypto: Invoking client can cause server deadlock on unexpected responses
golang.org/x/crypto: Invoking pathological RSA/DSA parameters may cause DoS
golang.org/x/crypto: Invoking VerifiedPublicKeyCallback permissions skip enforcement
Potential denial of service in golang.org/x/crypto/ssh/agent
Unbounded memory consumption in golang.org/x/crypto/ssh
Malformed constraint may cause denial of service in golang.org/x/crypto/ssh/agent
Invoking key constraints not enforced in golang.org/x/crypto/ssh/agent
Invoking agent constraints dropped when forwarding keys in golang.org/x/crypto/ssh/agent
Invoking byte arithmetic causes underflow and panic in golang.org/x/crypto/ssh
Invoking bypass of certificate restrictions in golang.org/x/crypto/ssh
Invoking server panic during CheckHostKey/Authenticate in golang.org/x/crypto/ssh
Invoking memory leak when rejecting channels can lead to DoS in golang.org/x/crypto/ssh
Invoking client can cause server deadlock on unexpected responses in golang.org/x/crypto/ssh
Invoking pathological RSA/DSA parameters may cause DoS in golang.org/x/crypto/ssh
Invoking bypass of FIDO/U2F security keys physical interaction in golang.org/x/crypto/ssh
Invoking infinite loop on large channel writes in golang.org/x/crypto/ssh
Invoking auth bypass via unenforced @revoked status in golang.org/x/crypto/ssh/knownhosts
Invoking pathological inputs can lead to client panic in golang.org/x/crypto/ssh/agent
The golang.org/x/crypto/openpgp package is unmaintained, unsafe by design, and has known security issues
Source-address critical option not enforced for non-public-key auth callbacks in golang.org/x/crypto/ssh
Prevent DoS on deadlocked undecided channel in golang.org/x/crypto/ssh
Prevent DoS on deadlocked established channel in golang.org/x/crypto/ssh
Fix transparency log tile verification bypass in golang.org/x/mod/sumdb/tlog
Ignore unrelated, unauthenticated hashes in Lookup in golang.org/x/mod/sumdb
Go Net HTML parser is vulnerable to denial of service
golang.org/x/net vulnerable to Cross-site Scripting
Incorrect Neutralization of Input During Web Page Generation in x/net in golang.org/x/net
Quadratic parsing complexity in golang.org/x/net/html
Infinite parsing loop in golang.org/x/net
Infinite loop in HTTP/2 transport when given bad SETTINGS_MAX_FRAME_SIZE in net/http/internal/http2 in golang.org/x/net
Invoking incorrect handling of namespaced elements in foreign content in golang.org/x/net/html
Invoking failure to reject ASCII-only Punycode-encoded labels in golang.org/x/net/idna
Invoking incorrect handling of HTML elements in foreign content in golang.org/x/net/html
Invoking denial of service when parsing arbitrary HTML in golang.org/x/net/html
Invoking incorrect handling of character references in DOCTYPE nodes in golang.org/x/net/html
Invoking duplicate attributes can cause XSS in golang.org/x/net/html
Parsing an invalid SVCB or HTTPS RR can panic in golang.org/x/net/dns/dnsmessage
HTTP/2 server memory exhaustion due to Trailer headers in net/http
HTTP/2 transport accepts malformed framing-related headers in net/http
Excessive CPU consumption from repeated initial window changes in net/http
Double flow control refund on HTTP/2 server streams in net/http
HTTP/2 server crash due to HPACK encoder race in net/http
Avoid quadratic complexity when coalescing text nodes in html in golang.org/x/net
Check all ancestor namespace transitions when rendering raw text in html in golang.org/x/net
Invoking integer overflow in NewNTUnicodeString in golang.org/x/sys/windows
Infinite loop on invalid input in golang.org/x/text
Panic parsing crafted input in x/text/secure/precis in golang.org/x/text
Incorrect parsing of IPv6 host literals in net/url
FileInfo can escape from a Root in os
URLs in meta content attribute actions are not escaped in html/template
TOCTOU permits root escape on Linux via Root.Chmod in os in internal/syscall/unix
JsBraceDepth Context Tracking Bugs (XSS) in html/template
Unbounded allocation for old GNU sparse in archive/tar
Unauthenticated TLS 1.3 KeyUpdate record can cause persistent connection retention and DoS in crypto/tls
Infinite loop in HTTP/2 transport when given bad SETTINGS_MAX_FRAME_SIZE in net/http/internal/http2 in golang.org/x/net
Inefficient policy validation in crypto/x509
Unexpected work during chain building in crypto/x509
Root escape via symlink plus trailing slash in os
Panic in Dial and LookupPort when handling NUL byte on Windows in net
ReverseProxy forwards queries with more than urlmaxqueryparams parameters in net/http/httputil
Quadratic string concatenation in consumePhrase in net/mail
Escaper bypass leads to XSS in html/template
Crash when handling long CNAME response in net
Bypass of meta content URL escaping causes XSS in html/template
Quadratic string concatentation in consumeComment in net/mail
Invoking failure to reject ASCII-only Punycode-encoded labels in golang.org/x/net/idna
Inefficient candidate hostname parsing in crypto/x509
Quadratic complexity in WordDecoder.DecodeHeader in mime
Arbitrary inputs are included in errors without any escaping in net/textproto
Invoking Encrypted Client Hello privacy leak in crypto/tls
Enforce maximum recursion depth in encoding/asn1
Add recursion depth guard during decode in encoding/xml
Apply ReadHeaderTimeout when doing unencrypted HTTP/2 check in net/http
Limit handshake messages we are willing to accept post-handshake in crypto/tls
Fix Javascript regexp context tracking in html/template
Avoid quadratic complexity in resolvePath in net/url
Reset context tracking on consecutive template expressions in html/template
Recognize yield as regexp preceder keyword in html/template
HTTP/2 server memory exhaustion due to Trailer headers in net/http
Root.Mkdir(All) can follow junctions out of the root on Windows in os
HTTP/1 client connection desynchronization after CONNECT rejection in net/http
Reject malformed ECH outer extension references in crypto/tls
Memory limit bypass when parsing MIME headers in net/textproto, mime/multipart
Lack of limit on size of parsed Range headers in net/http
HTTP/2 transport accepts malformed framing-related headers in net/http
Excessive CPU consumption from repeated initial window changes in net/http
Double flow control refund on HTTP/2 server streams in net/http
HTTP/1 server connection desynchronization after 2xx CONNECT response in net/http
HTTP/2 server crash due to HPACK encoder race in net/http
Distrust compromised intermediate certificates in crypto/x509
HTTP/1 server crash due to MaxBytesReader header race in net/http
Dependencies (62)
github.com/chaindead/telegram-mcp
github.com/gotd/td v0.121.0 direct
github.com/invopop/jsonschema v0.12.0 direct
github.com/metoro-io/mcp-golang v0.8.0 direct
github.com/pkg/errors v0.9.1 direct
github.com/rs/zerolog v1.34.0 direct
github.com/spf13/pflag v1.0.6 direct
github.com/tidwall/gjson v1.18.0 direct
github.com/urfave/cli/v3 v3.1.0 direct
golang.org/x/time v0.11.0 direct
github.com/bahlo/generic-list-go v0.2.0
github.com/buger/jsonparser v1.1.1
github.com/cenkalti/backoff/v4 v4.3.0
github.com/coder/websocket v1.8.13
github.com/dlclark/regexp2 v1.11.5
github.com/fatih/color v1.18.0
github.com/ghodss/yaml v1.0.0
github.com/go-faster/errors v0.7.1
github.com/go-faster/jx v1.1.0
github.com/go-faster/xor v1.0.0
github.com/go-faster/yaml v0.4.6
github.com/google/uuid v1.6.0
github.com/gotd/ige v0.2.2
github.com/gotd/neo v0.1.5
github.com/klauspost/compress v1.18.0
github.com/mailru/easyjson v0.7.7
github.com/mattn/go-colorable v0.1.14
github.com/mattn/go-isatty v0.0.20
github.com/ogen-go/ogen v1.10.1
github.com/segmentio/asm v1.2.0
github.com/tidwall/match v1.1.1
github.com/tidwall/pretty v1.2.1
github.com/tidwall/sjson v1.2.5
github.com/wk8/go-ordered-map/v2 v2.1.8
go.opentelemetry.io/otel v1.35.0
go.opentelemetry.io/otel/metric v1.35.0
go.opentelemetry.io/otel/trace v1.35.0
go.uber.org/atomic v1.11.0
go.uber.org/multierr v1.11.0
go.uber.org/zap v1.27.0
golang.org/x/crypto v0.36.0
golang.org/x/exp v0.0.0-20230725093048-515e97ebf090
golang.org/x/mod v0.24.0
golang.org/x/net v0.37.0
golang.org/x/sync v0.12.0
golang.org/x/sys v0.31.0
golang.org/x/text v0.23.0
golang.org/x/tools v0.31.0
gopkg.in/yaml.v2 v2.4.0
gopkg.in/yaml.v3 v3.0.1
rsc.io/qr v0.2.0
github.com/buger/jsonparser 1.1.1
github.com/gotd/td 0.121.0
github.com/klauspost/compress 1.18.0
go.opentelemetry.io/otel 1.35.0
go.opentelemetry.io/otel/trace 1.35.0
golang.org/x/crypto 0.36.0
golang.org/x/mod 0.24.0
golang.org/x/net 0.37.0
golang.org/x/sys 0.31.0
golang.org/x/text 0.23.0
stdlib 1.24.99