repo-report
Pass
Audited by Gen Agent Trust Hub on Aug 13, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/repo_report.pyexecutes system commands usingsubprocess.runto interact with the localgitbinary and various PDF rendering engines (such as Chrome, WeasyPrint, or wkhtmltopdf). The implementation uses list-based arguments and, where appropriate, the--separator to mitigate command injection risks from repository file paths or metadata. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from a local git repository's source files and commit history, which is then presented to the agent in the
repo_report.jsonfile for summarization. - Ingestion points: Source code is read in
analyze_filesandextract_excerpts; git history, subjects, and diffs are read inanalyze_historyandsample_prswithinscripts/repo_report.py. - Boundary markers: Absent. While
SKILL.mdincludes a workflow step for the user to review excerpts, there are no programmatic delimiters in the generated JSON or Markdown to prevent the agent from misinterpreting ingested repository data as instructions. - Capability inventory: The skill has the capability to read any file in the provided path, execute the local
gitbinary, and write files to the output directory. - Sanitization: The script implements regex-based redaction for secrets (e.g., AWS keys, private keys) and PII (e.g., SSNs) in
redact_secrets, but it does not sanitize text for potential instruction-based injection patterns.
Audit Metadata