Skip to main content

Telegram Bot Builder

Provides comprehensive guidance for building production-ready Telegram bots using Node.js and Python, covering authentication, messaging, and deployment.

Install this skill

or
33/100

Security score

The Telegram Bot Builder skill was audited on Jun 6, 2026 and we found 23 security issues across 3 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 3

Webhook reference - potential data exfiltration

SourceSKILL.md
3description: This skill should be used when the user asks to "create a Telegram bot", "build a Telegram chatbot", "set up a Telegram webhook", "add inline keyboards to a bot", "handle Telegram callbac
medium line 8

Webhook reference - potential data exfiltration

SourceSKILL.md
8Comprehensive guidance for building Telegram bots using the Bot API (v9.4). Covers both Node.js and Python ecosystems with production-ready patterns for authentication, messaging, keyboards, media han
medium line 15

Webhook reference - potential data exfiltration

SourceSKILL.md
15- Setting up webhooks or long polling for bot updates
medium line 38

Webhook reference - potential data exfiltration

SourceSKILL.md
38### Receiving Updates: Polling vs Webhook
medium line 53

Webhook reference - potential data exfiltration

SourceSKILL.md
53**Webhook** (`setWebhook`) - Better for production, lower latency, requires HTTPS (ports 443, 80, 88, or 8443):
low line 56

Webhook reference - potential data exfiltration

SourceSKILL.md
56bot.setWebHook('https://yourdomain.com/webhook', { secret_token: SECRET });
medium line 59

Webhook reference - potential data exfiltration

SourceSKILL.md
59Choose polling for development and small bots. Choose webhooks for production deployments handling high traffic.
medium line 189

Webhook reference - potential data exfiltration

SourceSKILL.md
189| Bot Config | `setMyCommands`, `setMyDescription`, `setWebhook` |
medium line 195

Webhook reference - potential data exfiltration

SourceSKILL.md
195- **Serverless**: Webhook handler as Vercel/AWS Lambda function
medium line 203

Webhook reference - potential data exfiltration

SourceSKILL.md
203- Validate `X-Telegram-Bot-Api-Secret-Token` on webhook endpoints
medium line 207

Webhook reference - potential data exfiltration

SourceSKILL.md
207- Use HTTPS for all webhook endpoints
medium line 216

Webhook reference - potential data exfiltration

SourceSKILL.md
216- **[`reference/patterns_and_examples.md`](./reference/patterns_and_examples.md)** - Production-ready implementation patterns for Node.js and Python including: inline keyboards, webhooks, media handli
low line 32

Access to .env file

SourceSKILL.md
32# .env file
low line 44

Access to .env file

SourceSKILL.md
44const bot = new TelegramBot(process.env.BOT_TOKEN, { polling: true });
low line 158

Access to .env file

SourceSKILL.md
158echo "BOT_TOKEN=your_token_here" > .env
low line 166

Access to .env file

SourceSKILL.md
166echo "BOT_TOKEN=your_token_here" > .env
low line 27

External URL reference

SourceSKILL.md
27Every bot has a unique token obtained from [@BotFather](https://t.me/BotFather). Token format: `123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11`.
low line 29

External URL reference

SourceSKILL.md
29All API calls go to: `https://api.telegram.org/bot<TOKEN>/METHOD_NAME`
low line 56

External URL reference

SourceSKILL.md
56bot.setWebHook('https://yourdomain.com/webhook', { secret_token: SECRET });
low line 79

External URL reference

SourceSKILL.md
79[{ text: 'Visit Site', url: 'https://example.com' }]
low line 103

External URL reference

SourceSKILL.md
103bot.sendPhoto(chatId, 'https://example.com/photo.jpg', { caption: 'A photo' });
low line 110

External URL reference

SourceSKILL.md
110{ type: 'photo', media: 'https://example.com/1.jpg', caption: 'First' },
low line 111

External URL reference

SourceSKILL.md
111{ type: 'photo', media: 'https://example.com/2.jpg' }
Scanned on Jun 6, 2026
View Security Dashboard
Installation guide →