skills/aws-samples/sample-spec-driven-presentation-maker/spec-driven-presentation-maker/Gen Agent Trust Hub
spec-driven-presentation-maker
Pass
Audited by Gen Agent Trust Hub on Apr 26, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The tool relies on several system utilities to process presentations. It uses
soffice(LibreOffice) for PDF and SVG exports,pdftoppmfor generating slide previews as PNGs, andpowershell.exeto correctly resolve file paths in WSL environments. These commands are executed viasubprocess.runwith controlled arguments. - [EXTERNAL_DOWNLOADS]: The skill automates the retrieval of presentation assets from well-known sources. It downloads official AWS Architecture icons from the
awsstatic.comdomain and clones the Material Symbols repository from GitHub usinggit. These downloads are intended to provide the user with high-quality icons for their slides. - [PROMPT_INJECTION]: The skill features a surface for indirect prompt injection as it ingests content from user-provided PPTX files during conversion and translation workflows.
- Ingestion points: Shape text and speaker notes are extracted in
sdpm/converter/slide.pyand processed in workflows. - Boundary markers: Explicit delimiters for untrusted content are generally absent in the workflow instructions.
- Capability inventory: The skill can perform file writes and execute specific system commands via
subprocessinsdpm/api.pyandsdpm/preview/backend.py. - Sanitization: Uses
defusedxmlto protect against XML-based injection attacks during extraction. - [SAFE]: Security best practices are implemented throughout the codebase. The
defusedxmllibrary is used to harden XML parsing against XXE attacks, and path traversal checks are included in the image resolution logic insdpm/utils/image.pyto prevent unauthorized file access. The overall behavior is consistent with the skill's stated purpose.
Audit Metadata