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, and pnpm to manage the GitNexus CLI indexer and its auxiliary tools.
  • [CREDENTIALS_UNSAFE]: Handles sensitive environment variables such as ANTHROPIC_API_KEY and GITNEXUS_API_KEY, and stores API keys in plaintext within ~/.gitnexus/config.json on first use.
  • [DATA_EXFILTRATION]: Provides a mechanism to publish repository documentation to public GitHub Gists via the --gist flag or interactive terminal prompts.
  • [REMOTE_CODE_EXECUTION]: Downloads and executes the gitnexus package from the registry using floating tags like @latest through package runners npx, bunx, and pnpm 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 analyze command 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
Risk Level
SAFE
Analyzed
Dec 5, 2026, 09:48 AM