dead-code
Pass
Audited by Gen Agent Trust Hub on May 8, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [PROMPT_INJECTION]: The skill explicitly instructs the agent to modify its own SKILL.md file under the 'Self-Evolving Skill' and 'Post-Execution Reflection' sections. Specifically, it tells the agent to 'fix this file immediately' if issues are found. This autonomous self-modification capability can be exploited to persist malicious instructions or bypass original constraints if the agent's session is compromised.
- [COMMAND_EXECUTION]: The skill relies on the Bash tool to execute several shell commands, including environment management via 'mise' and repository analysis via 'gitnexus'. This provides a broad attack surface if the inputs to these commands were ever influenced by untrusted data.
- [INDIRECT_PROMPT_INJECTION]: The skill is vulnerable to indirect injection because it ingests and processes data from the local codebase via the
gitnexusCLI queries. - Ingestion points: The agent reads and processes output from
gitnexus statusandgitnexus cyphercommands in SKILL.md. - Boundary markers: There are no boundary markers or instructions to ignore embedded commands within the data returned by the CLI tools.
- Capability inventory: The agent has access to the
Bashtool, allowing it to execute arbitrary shell commands based on its interpretation of the data. - Sanitization: The skill lacks any sanitization or validation logic for the data returned from the GitNexus knowledge graph before it is presented or acted upon.
Audit Metadata