code-explorer
Fail
Audited by Gen Agent Trust Hub on Feb 17, 2026
Risk Level: HIGHCREDENTIALS_UNSAFECOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE] (HIGH): The skill contains explicit instructions to search for sensitive configuration and environment variables.
- Evidence:
SKILL.mdinstructs the agent to usegrep -rn "process.env\."andfind . -name "*.config.*" -o -name ".env*" -o -name "config.*". - Risk: This pattern automatically identifies and surfaces secrets (API keys, database credentials) to the agent's context, making them available for potential exfiltration.
- [PROMPT_INJECTION] (HIGH): The skill has a significant vulnerability surface for Indirect Prompt Injection (Category 8).
- Ingestion points: The skill uses
Read,Glob,Grep, andBashto ingest external codebase files into the context of the high-capability 'Opus' model. - Boundary markers: Absent. There are no instructions to the agent to treat file contents as untrusted data or to ignore embedded instructions.
- Capability inventory: The agent has
Bashaccess and the ability to perform complex analysis and reporting. - Sanitization: Absent. No filtering of codebase content is performed before processing.
- Risk: Maliciously crafted comments or strings within the codebase being analyzed could subvert the agent's instructions, leading it to perform unauthorized actions or exfiltrate the secrets it has been told to find.
- [COMMAND_EXECUTION] (MEDIUM): The skill is granted broad execution privileges via the
Bashtool. - Evidence:
allowed-tools: Read, Glob, Grep, BashinSKILL.mdfrontmatter. - Risk: While the documentation focuses on
grepandfind, the rawBashcapability allows for any shell command execution, which could be exploited if the agent's logic is subverted. - [DATA_EXFILTRATION] (MEDIUM): The combined capability to read sensitive files and execute shell commands creates an exfiltration path.
- Risk: If an attacker successfully uses indirect prompt injection, they can leverage the existing
BashandReadtools to transmit discovered credentials or source code to an external endpoint.
Recommendations
- AI detected serious security threats
Audit Metadata