pi-ralph-wiggum
Warn
Audited by Gen Agent Trust Hub on Apr 26, 2026
Risk Level: MEDIUMEXTERNAL_DOWNLOADSDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: Fetches components from the author's official repositories.
- Installation instructions recommend downloading the extension from the author's NPM package (
@tmustier/pi-ralph-wiggum) and GitHub repository (tmustier/pi-extensions). - [DATA_EXFILTRATION]: Path traversal vulnerability in file operations.
- The
/ralph startcommand andralph_starttool accept a file path for the task definition. If a relative path containing directory traversal sequences (e.g.,../) is provided, the skill will resolve it and perform operations outside the intended directory. - The skill uses
tryReadon the resolved path and sends the content to the agent's prompt, which could lead to unauthorized data exposure of sensitive local files if used maliciously. - The skill also uses
fs.writeFileSyncon the resolved path, allowing it to overwrite arbitrary files with controlled content. - [PROMPT_INJECTION]: Indirect prompt injection surface.
- The skill iterates through developer tasks by reading markdown files from the local workspace. This creates a surface where malicious instructions embedded in a project's
.ralph/directory could influence agent behavior. - Ingestion points: The task markdown content is read from disk in
index.tsinside thestart,resume, andralph_donefunctions. - Boundary markers: While the constructed prompt uses visual separators, there are no specific instructions or delimiters used to prevent the agent from obeying instructions found within the task file content itself.
- Capability inventory: The agent typically has terminal and file system access to perform the tasks in the loop, providing a path for exploitation if the prompt is subverted.
- Sanitization: There is no validation or filtering performed on the content of the markdown task files before they are injected into the agent's prompt.
Audit Metadata