repo-maintainer
Pass
Audited by Gen Agent Trust Hub on Sep 21, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/repo_maintainer.pyexecutesgitcommands viasubprocess.runto perform repository analysis. - Evidence: The
run_gitanddisabled_filter_configfunctions call the Git CLI to inspect repository state and diffs. - Mitigation: The script includes extensive security hardening, such as disabling potentially malicious Git filters (
clean,process,required), sanitizing environment variables (strippingGIT_prefixed variables), and using list-based arguments forsubprocessto prevent shell injection. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and analyze untrusted data from repository changes, creating a surface for indirect prompt injection.
- Ingestion points:
scripts/repo_maintainer.pyreads file contents and Git diff outputs directly from the repository being maintained. - Boundary markers: The instructions in
SKILL.mdadvise treating analyzer results as conservative signals and emphasize independent verification of results by the agent. - Capability inventory: The skill can read any file in the repository, execute Git commands, and write manifest files to disk.
- Sanitization: The analyzer includes
markdown_escapeandmarkdown_codefunctions to sanitize data rendered in reports, preventing the injection of formatting or bidirectional control characters into the agent's context. - [DYNAMIC_EXECUTION]: The test suite utilizes dynamic module loading for local script verification.
- Evidence:
tests/test_repo_maintainer.pyusesimportlib.util.spec_from_file_locationandmodule_from_specto load therepo_maintainer.pyscript for unit testing. - Context: This is a standard Python testing practice used to verify local code and does not involve the execution of untrusted remote content.
Audit Metadata