tlc-spec-driven

Warn

Audited by Gen Agent Trust Hub on Nov 3, 2026

Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [DYNAMIC_EXECUTION]: The scripts/check_proofs.py and scripts/validate_tasks.py (via its red_build function) scripts parse shell commands directly from Markdown files such as tasks.md, checks.md, and spec.md. These commands, located on lines prefixed with Build:, Run:, or Proof:, are subsequently executed using subprocess.run. This design allows the workflow to automate the execution of a project's own testing and build infrastructure.
  • [INDIRECT_PROMPT_INJECTION]: The skill's primary workflow involves processing untrusted data from a repository's .specs/ directory. Because the agent is instructed to follow the 'Execution Plan' and 'Checks' defined in these files, a malicious actor could embed destructive or exfiltrating shell commands in a feature's specification or task breakdown.
  • Ingestion points: .specs/features/[feature]/tasks.md, .specs/features/[feature]/checks.md, and .specs/features/[feature]/spec.md.
  • Capability inventory: Several scripts provide the capability to execute shell commands with the user's or agent's privileges using subprocess.run (e.g., check_proofs.py, validate_tasks.py).
  • Boundary markers: The skill does not implement boundary markers or 'ignore embedded instructions' warnings for the parsed command strings.
  • Sanitization: Command strings are executed as provided in the markdown without validation or sanitization against a whitelist of safe tools.
  • [COMMAND_EXECUTION]: Multiple Python scripts in the scripts/ directory utilize subprocess.run to perform system operations, such as environment detection (finding bash.exe), checking git status, and running the build/test commands extracted from the documentation. The selftest.py script also executes other scripts in the package to verify validator logic.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 3, 2026, 10:58 AM