repomix
Pass
Audited by Gen Agent Trust Hub on Mar 25, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/repomix_batch.pyexecutes therepomixCLI andnpxusingsubprocess.run. The implementation correctly uses a list of arguments instead of a raw shell string, effectively preventing shell injection vulnerabilities. - [EXTERNAL_DOWNLOADS]: The skill supports processing remote repositories via
npx repomix --remote. This is a primary feature of the tool and operates on user-provided URLs or repository identifiers. - [PROMPT_INJECTION]: The skill inherently creates an indirect prompt injection surface because it is designed to ingest external repository content for AI analysis. Instructions embedded in a processed codebase (e.g., in a README or code comment) could potentially influence the behavior of the AI model that later processes the generated output. This is a known risk factor for any tool that aggregates untrusted data for LLM consumption.
- [DATA_EXFILTRATION]: The
EnvLoaderclass inscripts/repomix_batch.pyis designed to load environment variables from multiple.envfile locations. This is used to manage configuration and secrets (like GitHub tokens) for the underlyingrepomixtool. This is standard practice for local agent utilities.
Audit Metadata