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) use subprocess.call and subprocess.run to execute internal Python scripts for format parsing and conversion. These calls are used in a controlled manner, typically invoking sister scripts via sys.executable with 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.py and scripts/convert_formats.py handle data from PDF, CSV, JSON, DOCX, and XLSX files.
  • Boundary markers: SKILL.md and prompts/test-case-writing.md provide 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.py file uses the __import__ function to dynamically check for and load PDF parsing libraries (pypdf or PyPDF2). While this is a common pattern for optional dependency detection, it is a form of dynamic module loading.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 10, 2026, 12:45 AM