aws-redteam-report-packager
Pass
Audited by Gen Agent Trust Hub on Dec 5, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructions direct the agent to execute local Python scripts (
scripts/build_markdown_report.pyandscripts/build_transilience_pdf.py) to process attack-chain JSON data and generate report files. - [DYNAMIC_EXECUTION]: The script
scripts/build_transilience_pdf.pydynamically modifies the Python search path (sys.path) and imports a design system module from directories specified via CLI arguments (--base-module-dir) or environment variables (TRANSILIENCE_BASE_MODULE_DIR). This mechanism is used to load the Transilience design primitives but represents a dynamic code loading pattern. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted attack-chain data in JSON format (e.g.,
aws_attack_chains/v1) and renders it into Markdown and PDF reports. While it employs escaping (md_escapeandhtml.escape) to maintain document integrity, it does not sanitize the natural language fields (such as titles, evidence descriptions, and objectives) to prevent potential instruction injection if the resulting report is subsequently processed by an AI agent. - [FILE_SYSTEM_ACCESS]: The scripts read input JSON files and write output reports to user-specified local paths. Additionally, the supporting module
scripts/transilience_base.pyperforms file discovery by probing specific hardcoded directory paths in the user's home directory (e.g., Microsoft Office font caches and LibreOffice developer paths) to locate and register Poppins and Carlito TTF fonts.
Audit Metadata