coding-guidelines
Pass
Audited by Gen Agent Trust Hub on Mar 28, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The scripts
loc.py,long_functions.py, andsmell_check.pyusesubprocess.run()to executegit ls-files. This is an expected and legitimate behavior for a tool designed to audit files within a git repository. - [PROMPT_INJECTION]: The skill has an attack surface for indirect prompt injection because it is designed to ingest and analyze untrusted data from external codebases.
- Ingestion points: Repository files are read into memory using
Path.read_text()within thescripts/directory. - Boundary markers: The scripts do not include specific boundary markers or instructions to ignore embedded commands when presenting analysis results or code snippets to the agent.
- Capability inventory: The skill can list files via
subprocess.run()and analyze code structures using the Pythonastmodule. - Sanitization: The file content processed by the scripts is not filtered or sanitized before being analyzed or presented in the output.
Audit Metadata