sharingan
Pass
Audited by Gen Agent Trust Hub on Apr 20, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes the GitHub CLI and Node.js scripts via
scripts/scan-repo.jsusingspawnSync. It implements strict input validation using regular expressions for repository URLs and ensures target directory containment within the project root to prevent path traversal attacks during file generation. - [EXTERNAL_DOWNLOADS]: The skill interacts with external networks to retrieve repository metadata and file contents for analysis. Its security envelope enforces HTTPS-only connections and explicitly blocks access to private, reserved, and link-local IP addresses (e.g., 127.0.0.1, 10.x.x.x, 169.254.x.x) to prevent server-side request forgery (SSRF).
- [PROMPT_INJECTION]: The skill ingests untrusted data from external sources, creating an indirect prompt injection surface. Evidence Chain: 1. Ingestion points:
scripts/scan-repo.js(fetching GitHub contents) and theWebFetchtool. 2. Boundary markers: Detailed instructions inSKILL.mddefine all fetched content as untrusted data that must not be followed as instructions. 3. Capability inventory: Includes file system write access for skill generation and script execution for linting. 4. Sanitization: External content is processed by asanitizefunction inscripts/scan-repo.jsto remove control characters before inclusion in agent prompts.
Audit Metadata