tg-miniapp-launch-auth
Pass
Audited by Gen Agent Trust Hub on Nov 14, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill correctly implements the Telegram Bot API authentication scheme for Mini Apps. The validation logic in
scripts/init_data.pyuseshmac.compare_digestto prevent timing attacks and includes anauth_datecheck to ensure the freshness of the authentication data.\n- [DYNAMIC_EXECUTION]: The test filestests/test_init_data.pyandtests/test_ed25519.pyuseimportlib.utilto load the localscripts/init_data.pyfile.\n - Evidence:
importlib.util.spec_from_file_locationcalls in test scripts.\n - Context: This is a standard pattern for unit testing where scripts are loaded dynamically from stable relative paths within the skill's own directory. It does not load external or untrusted code.\n- [INDIRECT_PROMPT_INJECTION]: The skill defines a surface for processing external
initDatafrom the Telegram client.\n - Ingestion points:
raw_init_datainput inscripts/init_data.py.\n - Boundary markers: The implementation uses cryptographic validation (HMAC/Ed25519) as a mandatory trust gate.\n
- Capability inventory: The skill only parses and returns the validated fields; it does not perform automated actions or command execution based on the data.\n
- Sanitization: Strict signature verification against a
bot_tokenor public key is performed before any data is processed, mitigating the risk of processing malicious inputs.
Audit Metadata