skills/dzianisv/skills/telegram-cli/Gen Agent Trust Hub

telegram-cli

Fail

Audited by Gen Agent Trust Hub on Oct 17, 2026

Risk Level: HIGHCREDENTIALS_UNSAFEINDIRECT_PROMPT_INJECTION
Full Analysis
  • [CREDENTIALS_UNSAFE]: The script telegram-cli.py contains hardcoded values for TELEGRAM_API_ID (1993898) and TELEGRAM_API_HASH (59d1e009d7ecb0c0a7224af3f461bb2e). While these values are widely used as public application identifiers for the Telegram Android client, hardcoding such credentials in source code is an unsafe practice that can lead to impersonation or unauthorized API use.
  • [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from external sources via the read and ask commands, creating a pathway for indirect prompt injection.
  • Ingestion points: The cmd_read and cmd_ask functions in telegram-cli.py fetch chat history and messages from Telegram and output them directly into the agent's context.
  • Boundary markers: No delimiters or defensive instructions are provided in the skill to help the agent distinguish between its original instructions and commands potentially embedded in the retrieved messages.
  • Capability inventory: The skill provides the agent with the ability to send text, images, and files via Telegram, which an attacker could exploit by sending a malicious message that the agent then follows.
  • Sanitization: The retrieved message content is not sanitized or filtered before being presented to the agent.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Oct 17, 2026, 10:11 PM