risk-assess
Pass
Audited by Gen Agent Trust Hub on Apr 20, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/risk-analyze.jsexecutes shell commands includinggit rev-parse,git diff,git status,git log, andgrepto perform its analysis. These commands are necessary for the stated functionality and are executed with arguments passed through an array, which is a safe practice. - [PROMPT_INJECTION]: The skill has an indirect prompt injection surface (Category 8) because it ingests and processes untrusted data from the repository diffs and file contents.
- Ingestion points:
scripts/risk-analyze.jsreads raw output from git commands and reads files likepackage.jsonand.env. - Boundary markers: The
SKILL.mdinstructs the agent to parse the structured JSON output, providing a functional boundary. - Capability inventory: The skill can read repository metadata and content but lacks network access and file writing capabilities.
- Sanitization: The script extracts function signatures and config keys but does not specifically sanitize the extracted strings before providing them to the agent.
Audit Metadata