documenting-codebase
Warn
Audited by Gen Agent Trust Hub on Jun 17, 2026
Risk Level: MEDIUMCREDENTIALS_UNSAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [CREDENTIALS_UNSAFE]: The audit guidelines in
references/audit/devops.mdandreferences/audit/tech-stack.mdexplicitly instruct the agent to read.envfiles to identify environment variables. This is a significant risk as.envfiles commonly contain sensitive plaintext secrets, production credentials, and API keys. - [COMMAND_EXECUTION]: The skill relies heavily on shell command execution for its core functionality. This includes using the
gitnexusCLI tool for graph-based analysis and running complex shell scripts for documentation structure and link integrity validation, as documented inreferences/validation/structure-check.md. - [EXTERNAL_DOWNLOADS]: The workflow involves executing
npx gitnexus, which fetches and runs thegitnexuspackage from the NPM registry. This introduces a dependency on an external, third-party package at runtime. - [INDIRECT_PROMPT_INJECTION]: Because the skill processes entire codebases through automated subagents, it is vulnerable to indirect prompt injection. Malicious instructions embedded in the codebase's documentation or source code could potentially manipulate the subagents' audit reports or the final generated documentation.
Audit Metadata