aiogram-framework
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill provides templates and instructions that ingest untrusted data from external sources (Telegram API) and process it within the agent context.
- Ingestion points: In
references/quickstart.md, thehandle_messagefunction acceptstypes.Messageobjects, specifically accessing themessage.textattribute. - Boundary markers: The quickstart example lacks delimiters or explicit instructions for the model to treat the
message.textcontent as data rather than instructions. - Capability inventory: As documented across
references/fsm.mdandreferences/quickstart.md, the framework supports message responses, complex state management (FSM), and potential integration with external storage like Redis or MongoDB. - Sanitization: The skeleton code
await message.answer(message.text or "")directly reflects user-supplied content without validation or sanitization, creating a surface where malicious inputs could influence the bot's behavior.
Audit Metadata