lint-and-validate

Pass

Audited by Gen Agent Trust Hub on Sep 13, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The scripts/lint_runner.py script uses subprocess.run() to execute external tools like npm, npx, ruff, and mypy to perform code validation.
  • Evidence: The run_linter function in scripts/lint_runner.py invokes subprocess.run with commands derived from project configuration.
  • Evidence: On Windows systems, shell=True is enabled for path resolution, which is a known risk factor for command injection if inputs are not properly handled.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted project configuration files and uses their contents to drive command execution, creating a vulnerability surface.
  • Ingestion points: The detect_project_type function in scripts/lint_runner.py reads package.json to identify 'lint' scripts.
  • Boundary markers: None. The script does not use delimiters or warnings to isolate the untrusted configuration data.
  • Capability inventory: The skill has the capability to execute shell commands via subprocess.run (found in scripts/lint_runner.py).
  • Sanitization: No validation or sanitization is performed on the content of the lint script within package.json. If a malicious project defines a harmful command under the 'lint' key, the agent would execute it when running this skill.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 13, 2026, 03:48 PM