DC Telegram Bot API
Build Telegram bots with correct API calls, message formatting, keyboards, and webhook setup.
As a process C 58/100 · Has gaps — weak spots: result and completion, when it triggers, inputs and preconditions
What is at stake
Medium-severity findings: the skill is probably honest, but read what alarmed the scanner.
Below is the worst case for this category. The finding here is medium: the guard saw a sign, not a proof.
The instructions or scripts send data out: environment variables, keys, file contents, chat history. You may never notice, because the agent performs the upload as "part of the task".
If the upload is not needed for the task, remove it: catalogs flag such skills and delist them. If it is needed, name the destination explicitly, say what leaves the machine, and give the user a switch.
How to improve
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 44
✓ No critical or high findings
Medium and low: 44
-
medium Exfiltration
exfil-webhook-urlSKILL.md:48Webhook / callback URL commonly used for exfiltration (verify the destination) (the skill's own vendor host)https://api.telegram.org/bot{TOKEN}/{METHOD}vendor-host -
medium Exfiltration
exfil-webhook-urlSKILL.md:131Webhook / callback URL commonly used for exfiltration (verify the destination) (the skill's own vendor host)| https://api.telegram.org/bot{TOKEN}/* | Messages, media, commands | All bot operations |vendor-host -
low Exfiltration
exfil-webhook-urlerrors.md:88Webhook / callback URL commonly used for exfiltration (verify the destination) (the skill's own vendor host; quoted — discussed, not commanded)url = f"https://api.telegram.org/bot{TOKEN}/sendMessage"vendor-hostquoted -
low Exfiltration
exfil-webhook-urlerrors.md:155Webhook / callback URL commonly used for exfiltration (verify the destination) (the skill's own vendor host; quoted — discussed, not commanded)f"https://api.telegram.org/bot{TOKEN}/{method}",vendor-hostquoted -
low Exfiltration
exfil-webhook-urlkeyboards.md:19Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)curl -X POST "https://api.telegram.org/bot${TOKEN}/sendMessage" \placeholder -
low Exfiltration
net-credential-usekeyboards.md:19Credential used in a network call (verify the destination is the intended service) (the skill's own vendor host)curl -X POST "https://api.telegram.org/bot${TOKEN}/sendMessage" \vendor-host -
low Exfiltration
exfil-webhook-urlkeyboards.md:85Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)curl -X POST "https://api.telegram.org/bot${TOKEN}/answerCallbackQuery" \placeholder -
low Exfiltration
net-credential-usekeyboards.md:85Credential used in a network call (verify the destination is the intended service) (the skill's own vendor host)curl -X POST "https://api.telegram.org/bot${TOKEN}/answerCallbackQuery" \vendor-host -
low Exfiltration
exfil-webhook-urlkeyboards.md:93Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)curl -X POST "https://api.telegram.org/bot${TOKEN}/editMessageText" \placeholder -
low Exfiltration
net-credential-usekeyboards.md:93Credential used in a network call (verify the destination is the intended service) (the skill's own vendor host)curl -X POST "https://api.telegram.org/bot${TOKEN}/editMessageText" \vendor-host -
low Exfiltration
exfil-webhook-urlkeyboards.md:114Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)curl -X POST "https://api.telegram.org/bot${TOKEN}/sendMessage" \placeholder -
low Exfiltration
net-credential-usekeyboards.md:114Credential used in a network call (verify the destination is the intended service) (the skill's own vendor host)curl -X POST "https://api.telegram.org/bot${TOKEN}/sendMessage" \vendor-host -
low Exfiltration
exfil-webhook-urlkeyboards.md:162Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)curl -X POST "https://api.telegram.org/bot${TOKEN}/sendMessage" \placeholder -
low Exfiltration
net-credential-usekeyboards.md:162Credential used in a network call (verify the destination is the intended service) (the skill's own vendor host)curl -X POST "https://api.telegram.org/bot${TOKEN}/sendMessage" \vendor-host -
low Exfiltration
exfil-webhook-urlmedia.md:25Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)curl -X POST "https://api.telegram.org/bot${TOKEN}/sendPhoto" \placeholder -
low Exfiltration
net-credential-usemedia.md:25Credential used in a network call (verify the destination is the intended service) (the skill's own vendor host)curl -X POST "https://api.telegram.org/bot${TOKEN}/sendPhoto" \vendor-host -
low Exfiltration
exfil-webhook-urlmedia.md:34Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)curl -X POST "https://api.telegram.org/bot${TOKEN}/sendPhoto" \placeholder -
low Exfiltration
net-credential-usemedia.md:34Credential used in a network call (verify the destination is the intended service) (the skill's own vendor host)curl -X POST "https://api.telegram.org/bot${TOKEN}/sendPhoto" \vendor-host -
low Exfiltration
exfil-webhook-urlmedia.md:48Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)curl -X POST "https://api.telegram.org/bot${TOKEN}/sendPhoto" \placeholder -
low Exfiltration
net-credential-usemedia.md:48Credential used in a network call (verify the destination is the intended service) (the skill's own vendor host)curl -X POST "https://api.telegram.org/bot${TOKEN}/sendPhoto" \vendor-host -
low Exfiltration
exfil-webhook-urlmedia.md:86Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)curl "https://api.telegram.org/bot${TOKEN}/getFile?file_id=…"placeholder -
low Exfiltration
net-credential-usemedia.md:86Credential used in a network call (verify the destination is the intended service) (the skill's own vendor host)curl "https://api.telegram.org/bot${TOKEN}/getFile?file_id=…"vendor-host -
low Exfiltration
net-credential-usemedia.md:105Credential used in a network call (verify the destination is the intended service) (the skill's own vendor host)curl -O "https://api.telegram.org/file/bot${TOKEN}/photos/file_0.jpg"vendor-host -
low Exfiltration
exfil-webhook-urlmedia.md:118Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)curl -X POST "https://api.telegram.org/bot${TOKEN}/sendPhoto" \placeholder -
low Exfiltration
exfil-webhook-urlmethods.md:9Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)curl "https://api.telegram.org/bot${TOKEN}/getUpdates?offset=…&timeout=30"placeholder -
low Exfiltration
net-credential-usemethods.md:9Credential used in a network call (verify the destination is the intended service) (the skill's own vendor host)curl "https://api.telegram.org/bot${TOKEN}/getUpdates?offset=…&timeout=30"vendor-host -
low Exfiltration
exfil-webhook-urlmethods.md:25Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)curl -X POST "https://api.telegram.org/bot${TOKEN}/setWebhook" \placeholder -
low Exfiltration
net-credential-usemethods.md:25Credential used in a network call (verify the destination is the intended service) (the skill's own vendor host)curl -X POST "https://api.telegram.org/bot${TOKEN}/setWebhook" \vendor-host -
low Exfiltration
exfil-webhook-urlmethods.md:44Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)curl -X POST "https://api.telegram.org/bot${TOKEN}/deleteWebhook?drop_pending_updates=true"placeholder -
low Exfiltration
net-credential-usemethods.md:44Credential used in a network call (verify the destination is the intended service) (the skill's own vendor host)curl -X POST "https://api.telegram.org/bot${TOKEN}/deleteWebhook?drop_pending_updates=true"vendor-host -
low Exfiltration
exfil-webhook-urlmethods.md:51Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)curl "https://api.telegram.org/bot${TOKEN}/getWebhookInfo"placeholder -
low Exfiltration
net-credential-usemethods.md:51Credential used in a network call (verify the destination is the intended service) (the skill's own vendor host)curl "https://api.telegram.org/bot${TOKEN}/getWebhookInfo"vendor-host -
low Exfiltration
exfil-webhook-urlmethods.md:62Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)curl -X POST "https://api.telegram.org/bot${TOKEN}/sendMessage" \placeholder -
low Exfiltration
net-credential-usemethods.md:62Credential used in a network call (verify the destination is the intended service) (the skill's own vendor host)curl -X POST "https://api.telegram.org/bot${TOKEN}/sendMessage" \vendor-host -
low Exfiltration
exfil-webhook-urlwebhooks.md:26Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)response=$(curl -s "https://api.telegram.org/bot${TOKEN}/getUpdates?offset=…&timeout=30")placeholder -
low Exfiltration
net-credential-usewebhooks.md:26Credential used in a network call (verify the destination is the intended service) (the skill's own vendor host)response=$(curl -s "https://api.telegram.org/bot${TOKEN}/getUpdates?offset=…&timeout=30")vendor-host -
low Exfiltration
exfil-webhook-urlwebhooks.md:47Webhook / callback URL commonly used for exfiltration (verify the destination) (the skill's own vendor host; quoted — discussed, not commanded)BASE_URL = f"https://api.telegram.org/bot{TOKEN}"vendor-hostquoted -
low Exfiltration
exfil-webhook-urlwebhooks.md:81Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)curl "https://api.telegram.org/bot${TOKEN}/getUpdates" \placeholder -
low Exfiltration
net-credential-usewebhooks.md:81Credential used in a network call (verify the destination is the intended service) (the skill's own vendor host)curl "https://api.telegram.org/bot${TOKEN}/getUpdates" \vendor-host -
low Exfiltration
exfil-webhook-urlwebhooks.md:114Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)curl -X POST "https://api.telegram.org/bot${TOKEN}/setWebhook" \placeholder -
low Exfiltration
net-credential-usewebhooks.md:114Credential used in a network call (verify the destination is the intended service) (the skill's own vendor host)curl -X POST "https://api.telegram.org/bot${TOKEN}/setWebhook" \vendor-host -
low Exfiltration
exfil-webhook-urlwebhooks.md:131Webhook / callback URL commonly used for exfiltration (verify the destination) (placeholder value)curl -X POST "https://api.telegram.org/bot${TOKEN}/setWebhook" \placeholder -
low Exfiltration
net-credential-usewebhooks.md:131Credential used in a network call (verify the destination is the intended service) (the skill's own vendor host)curl -X POST "https://api.telegram.org/bot${TOKEN}/setWebhook" \vendor-host -
low Exfiltration
net-credential-usewebhooks.md:139Credential used in a network call (verify the destination is the intended service) (the skill's own vendor host)curl -X POST "https://api.telegram.org/bot${TOKEN}/setWebhook" \vendor-host
Files scanned: 10. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- warning
name-formatname should be kebab-case (lowercase letters, digits, hyphens) - note
frontmatter-keyunknown frontmatter key "slug" - note
frontmatter-keyunknown frontmatter key "homepage"
Process rating: all ten parameters 58/100
- 0Result and completion. Does not say what the result is
- 0Inputs and preconditions. Does not say what the process needs to start
- 20When it triggers. No condition that starts the skill
- 30Running it twice. 9 mutating operations with no state check
- 40Consistency. Frontmatter name (Telegram Bot API) differs from the folder (telegram-bot-api)
- 100Tools and files. No external tools needed
- 100Steps. 26 steps
- 100Failures and branches. 1 branches, has a failure section
- 100Execution cost. Instruction body is 1182 tokens
- 100Progress reporting. Reports progress
- medium Safety rules and hard prohibitions inside a skill: they belong in the system prompt, here they protect nothing
- low 11 top-level sections: this looks like several domains in one skill
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +5Description has no quoted example phrases that should trigger the skill
- +4Description does not say when NOT to use the skill (false activations)
- +3Description length 93: 120–800 characters recommended
- +3Output format is not stated: the model decides each time
- +1No license
- +2Single-language instructions
- +4Structure: 18 headings
- +3Step-by-step instructions: 26 items
- +4Has examples (2 code blocks)
Quality base 70; lint remarks subtract, signals add up to 100. Result: 74.