context-codebase
Pass
Audited by Gen Agent Trust Hub on Oct 7, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
subprocess.runto executegitcommands for repository metadata and history retrieval (e.g.,git log,git diff,git statusinexternal_context.pyandgit_index.py). It also executesnodeto run a local JavaScript/TypeScript analysis bridge script (ts_ast_bridge.js) included with the skill. - [DYNAMIC_EXECUTION]: The
ts_ast_bridge.jsscript dynamically resolves and requires thetypescriptpackage from the target project'snode_modulesor local environment to perform AST-based analysis. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted code and data from the target repository, creating a potential vector for indirect prompt injection if malicious instructions are embedded in the source files.
- Ingestion points:
generate.pyreads file content from the project directory;git_index.pyreads git log and blame data. - Boundary markers: Output is structured as JSON;
SKILL.mddefines specific contracts for how the agent should interpretreadandreportpayloads. - Capability inventory: Subprocess execution (
git,node), file system read access, and local file system write access to the{project}/repo/progress/directory. - Sanitization: Uses
json.dumpsfor serialization and regex-based chunking to delimit content windows.
Audit Metadata