skills/vudovn/ag-kit/testing-patterns/Gen Agent Trust Hub

testing-patterns

Pass

Audited by Gen Agent Trust Hub on May 18, 2026

Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The scripts/test_runner.py script executes external test frameworks via the Python subprocess module.
  • Evidence: The run_tests function calls subprocess.run with commands such as npm test, npx vitest, npx jest, and pytest.
  • Mitigation: Commands are invoked using argument lists rather than shell strings, and the script does not use shell=True, which significantly reduces the risk of command injection.
Audit Metadata
Risk Level
SAFE
Analyzed
May 18, 2026, 01:59 PM
Security Audit — agent-trust-hub — testing-patterns