amazon-alexa
Pass
Audited by Gen Agent Trust Hub on Sep 6, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill implements a voice-to-text chat interface that accepts arbitrary user queries via the Alexa
ChatIntentslot ({query}). This input is directly incorporated into the LLM message history, creating a surface for indirect prompt injection attacks. - Ingestion points:
SKILL.md(thechat_handlerfunction in Python processes theslots["query"].valuevariable). - Boundary markers: Absent; user voice input is interpolated into the message history without delimiters or instructions to the model to ignore potential commands hidden within the input.
- Capability inventory: The Lambda function has network access to the Anthropic API, read/write access to DynamoDB (persistence), and access to Amazon Polly (voice synthesis).
- Sanitization: Absent; while the response is truncated to prevent timeouts, no validation, escaping, or filtering is applied to the incoming user
querybefore it is sent to the LLM backend. - [EXTERNAL_DOWNLOADS]: The documentation instructs users to install developer tools and libraries from well-known official registries.
- Evidence:
npm install -g ask-cli,pip install awscli, and the dependencies defined in theRequirements.Txtsection (ask-sdk-core,ask-sdk-dynamodb-persistence-adapter,anthropic, andboto3). These are legitimate libraries from recognized organizations (Amazon and Anthropic). - [COMMAND_EXECUTION]: The skill provides instructions for executing shell commands to configure the development environment and deploy cloud resources.
- Evidence: Shell blocks containing
ask configure,aws configure,ask deploy, andaws lambda create-function. These commands are standard for Alexa skill development and AWS resource management.
Audit Metadata