aws-lambda
Pass
Audited by Gen Agent Trust Hub on Nov 25, 2026
Risk Level: SAFECOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses the AWS CLI and SAM CLI to manage cloud infrastructure, build deployment packages, and invoke functions locally.
- Evidence:
aws lambda create-function,sam build,sam local invoke, andzip -r function.zipcommands in SKILL.md. - [PRIVILEGE_ESCALATION]: The skill includes instructions for creating public, unauthenticated HTTPS endpoints and modifying resource-based permissions, which can grant access to external entities.
- Evidence:
aws lambda create-function-url-config --auth-type NONEandaws lambda add-permission --principal "*"in the "Function URLs" section of SKILL.md. - [INDIRECT_PROMPT_INJECTION]: The skill provides code templates for processing external data from sources like API Gateway and SQS, which could contain instructions intended to influence an agent processing the logs or output of these functions.
- Ingestion points:
event["body"]inapp.pyandevent["Records"]insqs_processor.py. - Boundary markers: None provided in the examples to distinguish untrusted input from system instructions.
- Capability inventory: The skill can deploy code to AWS, manage IAM roles (
iam:PassRole), and expose endpoints to the internet. - Sanitization: The examples use standard JSON parsing (
json.loads) but do not include sanitization for potential prompt injection content.
Audit Metadata