Telegram OpenAPI Skill

PassAudited by ClawScan on May 1, 2026.

Overview

This is a coherent Telegram Bot API wrapper, but it gives an agent real bot authority to read updates, send content, upload chosen files, and change webhook/polling delivery.

Install only for a Telegram bot you are comfortable letting the agent operate. Use a dedicated bot token with limited chat/channel permissions, confirm message sends and webhook changes before running them, protect local polling output files, and prefer a pinned or bundled OpenAPI schema for setup.

Findings (6)

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

What this means

Anyone or any agent workflow using the token can act as the Telegram bot within the bot's permissions.

Why it was flagged

The skill requires a Telegram bot token, which authorizes actions as that bot. This is expected for Telegram Bot API use, but it is still account authority that should be protected.

Skill content
A Telegram bot token from BotFather.
Recommendation

Use a dedicated bot token, limit the bot's chat/channel privileges, avoid sharing the token, and rotate it if exposed.

What this means

The agent could post messages or media to chats the bot can access if directed or if a workflow invokes these commands.

Why it was flagged

The skill exposes Telegram write operations such as sending messages. The documentation frames these as actions to confirm first, so this is purpose-aligned but still user-impacting.

Skill content
## Write Examples (Confirm Intent First)

# Send a text message
telegram-openapi-cli post:/sendMessage
Recommendation

Review chat IDs, message contents, and media paths before allowing write operations, especially for public channels or group chats.

What this means

Switching between webhook and polling can change how the bot receives updates and may interrupt another running bot process.

Why it was flagged

The skill documents webhook deletion and polling setup. This is correct for Telegram behavior, but changing webhook state can disrupt an existing bot integration.

Skill content
getUpdates and webhook delivery are mutually exclusive:
  - if a webhook is configured, call `post:/deleteWebhook` before polling with `post:/getUpdates`
Recommendation

Confirm the bot is not used by another production service before deleting or changing webhooks, and keep `drop_pending_updates` false unless you intentionally want to discard updates.

NoteHigh Confidence
ASI10: Rogue Agents
What this means

A polling subscription may keep running, consume bot updates, and write incoming update data to a local file until stopped.

Why it was flagged

The skill includes a daemon-backed polling example that continues collecting Telegram updates and writing them to a local file sink. This is disclosed and aligned with polling-based reads.

Skill content
uxc subscribe start https://api.telegram.org post:/getUpdates ... --mode poll ... --sink file:/tmp/telegram-updates.ndjson
Recommendation

Run polling only when needed, use an appropriate sink path, protect any stored update logs, and stop the subscription when finished.

What this means

If a webhook is set to the wrong endpoint, Telegram updates for the bot could be sent to an unintended service.

Why it was flagged

The skill can configure Telegram webhooks, causing Telegram update data to be delivered to a specified HTTPS endpoint. This is expected webhook functionality, but the destination must be trusted.

Skill content
telegram-openapi-cli post:/setWebhook url=https://example.com/telegram-webhook certificate=/tmp/public.pem secret_token=secret123
Recommendation

Use only trusted webhook URLs, use a strong secret token rather than example values, and verify webhook status after changes.

What this means

If the remote schema changes unexpectedly, the linked CLI behavior could differ from the reviewed artifact.

Why it was flagged

The user-directed setup links a CLI to a remote OpenAPI schema fetched from GitHub's main branch. This is disclosed, but it is less pinned than using the bundled schema or a commit-specific URL.

Skill content
uxc link telegram-openapi-cli https://api.telegram.org --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/telegram-openapi-skill/references/telegram-bot.openapi.json
Recommendation

Prefer the bundled schema or a pinned commit URL for repeatable behavior, and review schema changes before relinking.