openclaw-memory
Pass
Audited by Gen Agent Trust Hub on Oct 13, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill establishes a long-term persistence layer that ingests data from external sources and project files, creating an attack surface where malicious instructions could be stored and later retrieved into the agent's active context window.
- Ingestion points: Data is ingested through the
store_memoryfunction inSKILL.md, which processes content from user instructions and automated analysis of project files such aspackage.jsonorpnpm-workspace.yaml. - Boundary markers: The
build_context_windowfunction inSKILL.mduses simple---delimiters to separate memory entries, but does not implement explicit safety markers or instructions to the LLM to ignore embedded commands within retrieved memory blocks. - Capability inventory: The skill utilizes file system writes to
.openclaw/memory/, vector database operations via LanceDB, and version control operations usinggit notes. - Sanitization: The provided logic does not demonstrate sanitization or filtering of stored content to prevent instruction injection during the retrieval phase.
- [COMMAND_EXECUTION]: The skill integrates with Git to provide versioned history for project decisions. This involves the execution of
git notescommands to attach metadata and session information to the repository history.
Audit Metadata