telegram-miniapps
Pass
Audited by Gen Agent Trust Hub on Nov 11, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted
initDataquery strings originating from Telegram clients, creating a surface for indirect prompt injection. - Ingestion points: The
init_datastring is ingested by theverify()function infixtures/verify_initdata.pyand showcased in code snippets withinSKILL.mdandreferences/initdata-verification.md. - Boundary markers: Present; the documentation explicitly differentiates between
initDataUnsafe(client-side) andinitData(server-side), warning that identity must never be derived from client-provided identifiers. - Capability inventory: None; the provided scripts and snippets are limited to cryptographic operations and string manipulation using standard libraries. They do not perform network requests, file system writes, or command execution.
- Sanitization: Present; the implementation enforces HMAC-SHA256 signature verification with constant-time comparison (
hmac.compare_digest) and mandatoryauth_datefreshness checks to prevent replay attacks.
Audit Metadata