What problem does it solve?
Serverless functions often ship with overly permissive execution roles, plaintext secrets in environment variables, deprecated runtimes, and publicly invocable endpoints that are easy to miss during manual audits. This Skill provides a structured review workflow to systematically identify and confirm these risks before they become incidents.
Core Features & Use Cases
- Execution Role Auditing: Resolve effective IAM permissions across inline and managed policies to detect wildcard actions and over-privileged roles.
- Secrets and Exposure Detection: Scan environment variables, deployment packages, and layers for hardcoded credentials, and check Function URLs, resource-based policies, and API Gateway authorizers for public access.
- Code and Runtime Analysis: Grep function code for injection and deserialization patterns, flag deprecated runtimes, and run Checkov and Prowler for automated compliance checks.
- Use Case: Before a production deployment, run the review across all Lambda functions to find one function with an AdministratorAccess role and Stripe keys in plaintext env vars, then remediate with a scoped policy and Secrets Manager migration.
Quick Start
Review all serverless functions in my AWS account for over-privileged execution roles, exposed secrets, and public invocation paths, and produce a findings report.