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.pyscript uses thesubprocess.runmodule to execute system commands includingnpm,npx,ruff, andmypyto perform linting tasks. - [DYNAMIC_EXECUTION]: In
scripts/lint_runner.py, therun_linterfunction enablesshell=Truewhen executing on Windows platforms. While intended to facilitate path resolution for command-line tools likenpm.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_typefunction inscripts/lint_runner.pyreads and parses thepackage.jsonfile 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.runcapabilities to execute commands derived from thescriptssection of apackage.jsonfile. - 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.mdfile references official GitHub repositories forruff-pre-commitandpre-commit-hooksand recommends installing standard development dependencies vianpmandpip.
Audit Metadata