aws-cloudtrail-report-packager
Pass
Audited by Gen Agent Trust Hub on Dec 5, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill provides a Python script (
package_markdown_report.py) and examples for the agent to execute it via the CLI. This script performs file system operations including reading JSON/Markdown inputs and writing the final report to a user-specified path. - [INDIRECT_PROMPT_INJECTION]: The skill processes external, potentially untrusted data sources including investigation findings (
triage_findings.md), baseline metadata, and detection specifications. While the script primarily extracts specific metadata fields and counts, it interpolates the content of the triage findings directly into the generated report without explicit sanitization. - Ingestion points: Reads files from
--baseline,--evidence-pack,--triage, and--detection-specspaths (inscripts/package_markdown_report.py). - Boundary markers: None detected in the script or instructions to isolate potentially malicious data within the processed files.
- Capability inventory: The script uses
pathlibfor file reads and writes,jsonfor parsing, and is intended to be run via a subprocess. - Sanitization: The script performs standard JSON parsing but performs no content filtering or escaping on text loaded from the triage findings before inclusion in the final Markdown output.
Audit Metadata