lint-and-validate
Pass
Audited by Gen Agent Trust Hub on Sep 23, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/lint_runner.pyexecutes system commands includingnpm,npx,ruff, andmypyusingsubprocess.runto perform code linting. - Evidence: The script detects project configuration files (e.g.,
package.json,pyproject.toml) and executes the corresponding linter commands found in thedetect_project_typefunction. - The execution uses structured argument lists and specific working directories, which is a standard safety practice.
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data by reading and analyzing project files (
.ts,.tsx,.py,package.json) to generate reports. - Ingestion points: Project source files are read in
scripts/type_coverage.pyusingpathlib.Path.read_textand project metadata is read inscripts/lint_runner.pyviajson.loads. - Boundary markers: None identified. The content of these files is processed directly by regex or external linters.
- Capability inventory: The skill can execute shell commands via
subprocess.run(as listed inscripts/lint_runner.py) and perform file system reads. - Sanitization:
scripts/type_coverage.pyuses regular expressions to extract type information, andscripts/lint_runner.pyrelies on the security of the underlying tools (like ESLint or Ruff) to handle file content safely.
Audit Metadata