cloudtrail-cost-optimization
Pass
Audited by Gen Agent Trust Hub on Nov 23, 2026
Risk Level: SAFE
Full Analysis
- [Data Access and Security Boundary]: The skill is strictly read-only, utilizing AWS APIs like
cloudtrail:DescribeTrails,s3:GetLifecycleConfiguration, andce:GetCostAndUsage. It explicitly prohibits the use of mutation APIs such asDeleteTrailorStopLogging, ensuring that optimization recommendations are surfaced to the human user for review rather than executed automatically. - [Indirect Prompt Injection Defense]: A dedicated 'Safety and Boundaries' section provides explicit instructions to the agent to treat all ingested data—such as trail names, S3 bucket names, and resource tags—as untrusted. It warns against following instructions that might be embedded in this data (e.g., a tag named 'recommendation' containing 'delete this trail'), effectively mitigating indirect prompt injection risks.
- [Requirement for Evidence-Based Reporting]: The workflow requires that any recommendation to reduce logging coverage must cite specific evidence (metrics or cost signals) and clearly state the resulting security/audit impact. This prevents the agent from making arbitrary or unsafe recommendations without providing the user with the necessary context for a security trade-off.
- [Trusted Documentation Sources]: All external links and references throughout the skill point to official AWS documentation and established AWS community support domains (aws.amazon.com, repost.aws), which are verified as safe and authoritative sources for cost optimization guidance.
Audit Metadata