telegram-cli
Pass
Audited by Gen Agent Trust Hub on Nov 6, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONPERSISTENCECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted content from Telegram messages and metadata that could contain malicious instructions.
- Ingestion points:
mcp/server.mjsreceives raw Telegram data via subprocess calls to the CLI. - Boundary markers: The skill uses structured JSON for data exchange and includes explicit system instructions to treat Telegram content as data only.
- Capability inventory: The skill possesses the ability to send messages, edit messages, and modify chat states (archive, mute, mark-read) across all scripts.
- Sanitization:
mcp/server.mjsimplementssanitizeTelegramStringwhich strips control characters and truncates strings to prevent prompt injection or terminal manipulation. - [PERSISTENCE]: The script
scripts/finish-telegram-mcp-tunnelenables a systemd user service (telegram-mcp-tunnel.service) withRestart=always. This mechanism is designed to maintain a remote access tunnel to OpenAI/ChatGPT and requires explicit user confirmation. - [COMMAND_EXECUTION]: The MCP server (
mcp/server.mjs) executes the local Python wrapper throughnode:child_process.execFile. The Python scriptscripts/telegram_cli.pyalso usesos.execveto manage its local virtual environment. - [EXTERNAL_DOWNLOADS]:
scripts/bootstrap_venv.shdownloads and installs thetelethonpackage from the official Python package registry (PyPI).
Audit Metadata