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.pyscript usessubprocess.run()to execute external tools likenpm,npx,ruff, andmypyto perform code validation. - Evidence: The
run_linterfunction inscripts/lint_runner.pyinvokessubprocess.runwith commands derived from project configuration. - Evidence: On Windows systems,
shell=Trueis 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_typefunction inscripts/lint_runner.pyreadspackage.jsonto 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 inscripts/lint_runner.py). - Sanitization: No validation or sanitization is performed on the content of the
lintscript withinpackage.json. If a malicious project defines a harmful command under the 'lint' key, the agent would execute it when running this skill.
Audit Metadata