aws-cost-optimization

Warn

Audited by Gen Agent Trust Hub on Apr 12, 2026

Risk Level: MEDIUMCOMMAND_EXECUTIONDATA_EXFILTRATION
Full Analysis
  • [COMMAND_EXECUTION]: The helper function ce_query in SKILL.md uses the eval command to execute an AWS CLI command string built from variables. If the variables $start, $end, $granularity, or $group_by are populated with unsanitized input containing shell metacharacters, it could result in arbitrary command execution on the host.
  • [DATA_EXFILTRATION]: The skill's discovery phase utilizes aws sts get-caller-identity to retrieve and display the AWS Account ID and IAM ARN. While necessary for context in a cost optimization tool, this exposes sensitive account identifiers to the agent's context.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Apr 12, 2026, 04:21 PM
Security Audit — agent-trust-hub — aws-cost-optimization