lambda-handler-pattern
Pass
Audited by Gen Agent Trust Hub on Aug 26, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill provides architectural patterns for AWS Lambda development. It demonstrates best practices such as failing fast on missing configuration and caching AWS clients across invocations.
- [SAFE]: The code samples handle environment variables appropriately by validating their presence during module initialization. It correctly identifies hardcoded secrets as an anti-pattern and suggests using AWS SSM (System Manager) or environment variables instead.
- [SAFE]: The skill uses standard AWS SDK libraries (
@aws-sdk/client-dynamodb,@aws-sdk/lib-dynamodb) and follows recommended patterns for dependency injection to improve code testability and maintainability.
Audit Metadata