testing-patterns

Pass

Audited by Gen Agent Trust Hub on Sep 13, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The scripts/test_runner.py script uses the subprocess module to execute test suites (e.g., npm test, pytest). The implementation uses argument lists and sets a defined cwd, which is a secure practice to prevent shell-based command injection.
  • [EXTERNAL_DOWNLOADS]: The skill references standard package managers and registries (npm, npx, pip) for installing and running test frameworks like Jest, Vitest, and the tribunal-kit mutation engine. These are standard developer operations and target well-known package registries.
  • [INDIRECT_PROMPT_INJECTION]: The test_runner.py script parses local project files such as package.json and pyproject.toml to configure its execution logic. This is a standard ingestion surface for configuration-driven tools.
  • Ingestion points: package.json, pyproject.toml, and requirements.txt are read and parsed in scripts/test_runner.py.
  • Boundary markers: None; the script assumes standard file formats.
  • Capability inventory: Uses subprocess.run to execute identified test commands across all supported frameworks.
  • Sanitization: Path inputs are resolved using pathlib.Path.resolve() to ensure correct directory context.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 13, 2026, 03:48 PM