ai-context-generation
Pass
Audited by Gen Agent Trust Hub on Nov 18, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill recommends executing
npx codesightwith various flags (e.g.,--blast,--benchmark,--init,--mcp,--wiki,--mode,--profile,--open) to analyze project structure and generate context files. These commands download and execute code from the npm registry. - [INDIRECT_PROMPT_INJECTION]: The skill facilitates the ingestion of data from external, untrusted codebases into the AI's context via generated context maps.
- Ingestion points: Files generated in the
.codesight/directory (e.g.,CODESIGHT.md,schema.md,routes.md) are intended to be read by the AI agent to understand the project. - Boundary markers: The instructions do not specify the use of delimiters or warnings to ignore embedded instructions within the scanned codebase or the generated output.
- Capability inventory: The skill environment has capabilities for file system access and shell command execution (
npx). - Sanitization: There is no mention of sanitizing or escaping the content extracted from the codebase before it is presented to the AI agent.
Audit Metadata