gitnexus-cli
Pass
Audited by Gen Agent Trust Hub on Dec 5, 2026
Risk Level: SAFECOMMAND_EXECUTIONCREDENTIALS_UNSAFEDATA_EXFILTRATIONREMOTE_CODE_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONPRIVILEGE_ESCALATION
Full Analysis
- [COMMAND_EXECUTION]: Executes commands via
node,npx,bunx, andpnpmto manage the GitNexus CLI indexer and its auxiliary tools. - [CREDENTIALS_UNSAFE]: Handles sensitive environment variables such as
ANTHROPIC_API_KEYandGITNEXUS_API_KEY, and stores API keys in plaintext within~/.gitnexus/config.jsonon first use. - [DATA_EXFILTRATION]: Provides a mechanism to publish repository documentation to public GitHub Gists via the
--gistflag or interactive terminal prompts. - [REMOTE_CODE_EXECUTION]: Downloads and executes the
gitnexuspackage from the registry using floating tags like@latestthrough package runnersnpx,bunx, andpnpm dlx. - [DYNAMIC_EXECUTION]: Utilizes a project-local runner script (
.gitnexus/run.cjs) which is dynamically generated or updated during the repository analysis phase. - [INDIRECT_PROMPT_INJECTION]:
- Ingestion points: Processes and parses all source files in a repository during the
analyzecommand to build a knowledge graph. - Boundary markers: No explicit markers are defined for delimiting untrusted source code during the indexing process.
- Capability inventory: Performs file system operations, network requests to LLM providers, and local command execution.
- Sanitization: No specific sanitization or escaping mechanisms are mentioned for the ingestion of source code into the agent's knowledge graph.
- [PRIVILEGE_ESCALATION]: Suggests global installation of the CLI (
npm i -g gitnexus) as a troubleshooting step, which typically requires administrative or root privileges.
Audit Metadata