Skip to main content

telegram

Integrates with the Telegram Bot API for creating bots with features like messaging, webhooks, and inline keyboards using Node.js and Python.

Install this skill

or
11/100

Security score

The telegram skill was audited on May 14, 2026 and we found 31 security issues across 4 threat categories, including 1 high-severity. Review the findings below before installing.

Categories Tested

Security Issues

medium line 148

Template literal with variable interpolation in command context

SourceSKILL.md
148bot.sendMessage(msg.chat.id, `Voce disse: ${msg.text}`);
medium line 419

Curl to non-GitHub URL

SourceSKILL.md
419curl -X POST "https://api.telegram.org/bot$TOKEN/setMyCommands" \
medium line 3

Webhook reference - potential data exfiltration

SourceSKILL.md
3description: Integracao completa com Telegram Bot API. Setup com BotFather, mensagens, webhooks, inline keyboards, grupos, canais. Boilerplates Node.js e Python.
medium line 12

Webhook reference - potential data exfiltration

SourceSKILL.md
12- webhooks
medium line 25

Webhook reference - potential data exfiltration

SourceSKILL.md
25Integracao completa com Telegram Bot API. Setup com BotFather, mensagens, webhooks, inline keyboards, grupos, canais. Boilerplates Node.js e Python.
medium line 55

Webhook reference - potential data exfiltration

SourceSKILL.md
55**Portas suportadas para webhooks:** 443, 80, 88, 8443
low line 79

Webhook reference - potential data exfiltration

SourceSKILL.md
79├── Webhook setup → references/webhook-setup.md
medium line 342

Webhook reference - potential data exfiltration

SourceSKILL.md
342Existem duas formas de receber updates: **Long Polling** e **Webhooks**.
medium line 360

Webhook reference - potential data exfiltration

SourceSKILL.md
360## Webhooks (Producao)
medium line 362

Webhook reference - potential data exfiltration

SourceSKILL.md
362Para producao, webhooks sao mais eficientes. O Telegram envia updates via POST para sua URL HTTPS.
medium line 364

Webhook reference - potential data exfiltration

SourceSKILL.md
364Leia `references/webhook-setup.md` para configuracao completa com Express, Flask, ngrok e deploy.
low line 370

Webhook reference - potential data exfiltration

SourceSKILL.md
370## Flask Webhook
low line 379

Webhook reference - potential data exfiltration

SourceSKILL.md
379@app.route(f"/webhook/{TOKEN}", methods=["POST"])
low line 380

Webhook reference - potential data exfiltration

SourceSKILL.md
380def webhook():
low line 391

Webhook reference - potential data exfiltration

SourceSKILL.md
391## Registrar Webhook
low line 393

Webhook reference - potential data exfiltration

SourceSKILL.md
393requests.post(f"{BASE}/setWebhook", json={
low line 394

Webhook reference - potential data exfiltration

SourceSKILL.md
394"url": "https://seu-dominio.com/webhook/" + TOKEN,
medium line 552

Webhook reference - potential data exfiltration

SourceSKILL.md
552| Setup de webhooks | `references/webhook-setup.md` |
high line 364

Ngrok tunnel reference

SourceSKILL.md
364Leia `references/webhook-setup.md` para configuracao completa com Express, Flask, ngrok e deploy.
low line 140

Access to .env file

SourceSKILL.md
140const bot = new TelegramBot(process.env.TELEGRAM_BOT_TOKEN!, { polling: true });
low line 50

External URL reference

SourceSKILL.md
50**Base URL:** `https://api.telegram.org/bot<TOKEN>/METHOD_NAME`
low line 184

External URL reference

SourceSKILL.md
184BASE = f"https://api.telegram.org/bot{TOKEN}"
low line 211

External URL reference

SourceSKILL.md
211text="<b>Negrito</b>, <i>italico</i>, <code>codigo</code>, <a href='https://example.com'>link</a>",
low line 219

External URL reference

SourceSKILL.md
219text="*Negrito*, _italico_, `codigo`, [link](https://example\\.com)",
low line 226

External URL reference

SourceSKILL.md
226await bot.send_photo(chat_id, photo="https://example.com/img.jpg", caption="Legenda aqui")
low line 234

External URL reference

SourceSKILL.md
234await bot.send_video(chat_id, video="https://example.com/video.mp4", caption="Assista!")
low line 277

External URL reference

SourceSKILL.md
277bot.sendPhoto(chatId, 'https://example.com/img.jpg', { caption: 'Legenda' });
low line 299

External URL reference

SourceSKILL.md
299[InlineKeyboardButton("Abrir Site", url="https://example.com")],
low line 377

External URL reference

SourceSKILL.md
377BASE = f"https://api.telegram.org/bot{TOKEN}"
low line 394

External URL reference

SourceSKILL.md
394"url": "https://seu-dominio.com/webhook/" + TOKEN,
low line 419

External URL reference

SourceSKILL.md
419curl -X POST "https://api.telegram.org/bot$TOKEN/setMyCommands" \
Scanned on May 14, 2026
View Security Dashboard
Installation guide →