aws-attack-surface-collector

Pass

Audited by Gen Agent Trust Hub on Dec 5, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill executes a Python script that uses the boto3 library to perform extensive enumeration of AWS resources, including snapshots, AMIs, RDS instances, and network configurations across multiple accounts via cross-account role assumption.
  • [INDIRECT_PROMPT_INJECTION]: The skill ingests and processes untrusted data from external JSON files through the --accounts and --ingest parameters, creating an attack surface for indirect prompt injection.
  • Ingestion points: Local JSON files specified by the user via command-line arguments in scripts/collect_attack_surface.py.
  • Boundary markers: None identified; the script expects structured JSON data but does not implement explicit markers to separate data from instructions.
  • Capability inventory: The skill can perform file system reads and writes, and it has extensive read-only access to AWS account metadata and configurations across regions via boto3 API calls.
  • Sanitization: The script performs basic JSON schema validation and filters for specific known control IDs, but does not sanitize string values before including them in the output model.
Audit Metadata
Risk Level
SAFE
Analyzed
Dec 5, 2026, 07:37 AM