automation-memory
Pass
Audited by Gen Agent Trust Hub on Aug 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill defines specific shell command templates for path resolution and file operations. It mandates the use of a fallback mechanism
${CODEX_HOME:-$HOME/.codex}to ensure a base path is always present before attempting file access. - [INDIRECT_PROMPT_INJECTION]: The skill uses unvalidated input from prompts to construct file system paths, creating a surface for path traversal attacks.
- Ingestion points: The
<automation_id>is extracted from user prompts and interpolated directly into theAUTO_MEMpath variable inSKILL.md. - Boundary markers: None. The instructions do not direct the agent to validate or sanitize the provided ID.
- Capability inventory: The skill uses
sedto read files,mkdir -pto create directories, andprintfto modify files. - Sanitization: Absent. The lack of validation for the
automation_idcould allow a malicious prompt to provide an ID containing directory traversal sequences (e.g.,../), potentially leading to unauthorized access to files within the user's home directory.
Audit Metadata