skills/mukul975/anthropic-cybersecurity-skills/analyzing-cloud-storage-access-patterns/Gen Agent Trust Hub
analyzing-cloud-storage-access-patterns
Pass
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/agent.pyexecutes theawsCLI usingsubprocess.runto fetch CloudTrail events. It correctly uses argument lists rather than shell strings to mitigate injection risks.\n- [INDIRECT_PROMPT_INJECTION]: The skill processes external log data from CloudTrail which may contain attacker-controlled strings (e.g., User-Agents, resource names, or source IP strings).\n - Ingestion points: The
query_cloudtrail_s3_eventsfunction inscripts/agent.pyfetches data via the AWS CLI.\n - Boundary markers: No explicit delimiters or warnings to ignore instructions within the logs are present.\n
- Capability inventory: The script performs command execution (AWS CLI) and file writing.\n
- Sanitization: The script extracts specific fields using JSON parsing but does not sanitize content for potential downstream injection if the report is consumed by other tools.\n- [EXTERNAL_DOWNLOADS]: The skill instructions recommend the installation of standard Python packages
boto3andrequests. Although imported, these packages are not actively used in the providedagent.pyscript, which relies on the AWS CLI instead.
Audit Metadata