lint-and-validate

Pass

Audited by Gen Agent Trust Hub on Sep 5, 2026

Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [COMMAND_EXECUTION]: The scripts/lint_runner.py script uses the subprocess.run module to execute system commands including npm, npx, ruff, and mypy to perform linting tasks.
  • [DYNAMIC_EXECUTION]: In scripts/lint_runner.py, the run_linter function enables shell=True when executing on Windows platforms. While intended to facilitate path resolution for command-line tools like npm.cmd, this execution mode requires careful handling of input parameters.
  • [INDIRECT_PROMPT_INJECTION]: The skill is susceptible to indirect influence from the project files it analyzes.
  • Ingestion points: The detect_project_type function in scripts/lint_runner.py reads and parses the package.json file from the user's project directory.
  • Boundary markers: The script does not implement boundary markers or validation to distinguish between standard linting commands and potentially malicious commands defined in the project's configuration.
  • Capability inventory: The script possesses subprocess.run capabilities to execute commands derived from the scripts section of a package.json file.
  • Sanitization: There is no sanitization or verification of the command strings retrieved from the project configuration before they are passed to the shell.
  • [EXTERNAL_DOWNLOADS]: The SKILL.md file references official GitHub repositories for ruff-pre-commit and pre-commit-hooks and recommends installing standard development dependencies via npm and pip.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 5, 2026, 10:06 AM