skills/harmitx7/odoo/testing-patterns/Gen Agent Trust Hub

testing-patterns

Pass

Audited by Gen Agent Trust Hub on Sep 5, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The script scripts/test_runner.py uses subprocess.run to execute testing tools such as npm, npx, and pytest. While it uses list-based arguments to mitigate shell injection, the tools themselves (like npm test) often execute arbitrary scripts defined in project configuration files.
  • [INDIRECT_PROMPT_INJECTION]: The skill possesses a vulnerability surface for indirect injection by ingesting and acting upon untrusted project data.
  • Ingestion points: The runner reads package.json, pyproject.toml, and requirements.txt from the target project path provided by the user.
  • Boundary markers: None. The skill assumes the project metadata is legitimate and does not warn the user or the agent about potentially malicious scripts within those files.
  • Capability inventory: The script has the capability to trigger subprocess execution through the run_tests function.
  • Sanitization: There is no sanitization or validation of the specific values found in the scripts or dependencies fields of the parsed JSON/TOML files before they influence execution logic.
  • [DYNAMIC_EXECUTION]: The runner dynamically constructs command sequences at runtime based on the contents of the target project, which are then executed as subprocesses.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 5, 2026, 10:07 AM