test-case-writing
Pass
Audited by Gen Agent Trust Hub on Nov 10, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: Several utility scripts in the
scripts/directory (e.g.,parse_pdf.py,convert_to_csv.py,batch_convert_templates.py) usesubprocess.callandsubprocess.runto execute internal Python scripts for format parsing and conversion. These calls are used in a controlled manner, typically invoking sister scripts viasys.executablewith absolute paths, minimizing the risk of arbitrary command injection. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to process untrusted data from multiple sources (requirements, user stories, role scenarios) and includes tools to parse external file formats like PDF, Excel, and Word. This creates a surface where malicious instructions embedded in a processed document could influence the agent's behavior.
- Ingestion points:
scripts/parse_formats.pyandscripts/convert_formats.pyhandle data from PDF, CSV, JSON, DOCX, and XLSX files. - Boundary markers:
SKILL.mdandprompts/test-case-writing.mdprovide instructions for merging and deduplicating inputs but do not implement specific delimiters to isolate untrusted data. - Capability inventory: The skill uses subprocess calls for file processing and has the capability to write output in various formats.
- Sanitization: The skill uses standard Python libraries (e.g.,
csv,json,zipfile,xml.etree.ElementTree) for parsing, which provides structural safety but does not filter out natural language instructions embedded in the data content. - [DYNAMIC_EXECUTION]: The
scripts/parse_formats.pyfile uses the__import__function to dynamically check for and load PDF parsing libraries (pypdforPyPDF2). While this is a common pattern for optional dependency detection, it is a form of dynamic module loading.
Audit Metadata