threat-modeling
Warn
Audited by Gen Agent Trust Hub on Nov 25, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill provides instructions to run the OWASP Threat Dragon tool using Docker. This is a standard operation for local security tooling.
- [EXTERNAL_DOWNLOADS]: Fetches the official OWASP Threat Dragon image from Docker Hub. This is a well-known security organization.
- [DYNAMIC_EXECUTION]: The CI/CD workflow template in
SKILL.mduses a Python script constructed via shell variable interpolation, which is susceptible to command injection. - Evidence: The line
python -c "... with open('$model') as f: ..."inSKILL.mdinterpolates a filename into a Python string. If a file in the repository has a name containing a single quote followed by Python code (e.g.,';import os;os.system(...);'.yaml), it could execute arbitrary code during the CI/CD process. - [INDIRECT_PROMPT_INJECTION]: The skill defines an automated review process for data ingested from the repository's files.
- Ingestion points:
SKILL.md(CI/CD section) identifiesdocs/threat-model/*.yamlas the input path. - Boundary markers: None explicitly mentioned for the agent, but the script uses
yaml.safe_load()which provides a technical boundary against YAML-based exploits. - Capability inventory: The script performs file reads and console output.
- Sanitization: The script uses
yaml.safe_load()to sanitize input content during parsing.
Audit Metadata