Back to skill

Security audit

Memory Integration

Security checks for vulnerabilities and agentic risk

Overview

This skill has a coherent memory-search purpose, but it broadly processes OpenClaw memory files and sends memory/search metadata through external adapters without clear scoping controls.

Review before installing if your OpenClaw memory may contain private notes, credentials, customer data, or sensitive project details. Confirm what the co-occurrence and semantic-vector adapters store, whether they use remote services, how to delete synced data, and whether you can limit which memory files are processed.

Vulnerability Patterns
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
Findings (2)

T05 · Unauthorized Access and Privilege Escalation

Warning
Location
scripts/memory_integration.py:39
Finding

Agent Memory and Search Metadata Exposed to Unverified External Adapters

Content
View full analysis
10: mem_id = self.generate_memory_id(str(file_path), line, i) memory = { 'id': mem_id, 'content': line.strip(), 'file': str(file_path), 'line': i, 'type': 'ltm' if file_path.name == 'MEMORY.md' else 'stm' } if file_path.name != 'MEMORY.md': memory['date'] = file_path.stem memories.append(memory) return memories ``` ```python if len(mem_ids) > 1: self.tracker.record_co_occurrence( mem_ids, f"search:{query[:50]}" ) ``` ```python def semantic_search(self, query: str, limit: int = 10) -> list: if self.vector_store is None: return [] try: results = self.vector_store.search(query, limit) ``` ### Tech ...[truncated 2830 chars]
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Note
Location
scripts/memory_integration.py:84
Finding

Collision-Prone Memory Identifiers Can Merge Unrelated Records

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (3)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill explicitly states that it synchronizes OpenClaw memory files into semantic vector and co-occurrence stores, but it does not warn users that potentially sensitive memory contents may be copied into additional storage systems. This creates a real confidentiality and data-governance risk because users may enable or install the skill without understanding that internal notes, secrets, or personal data could be propagated beyond the original memory files.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The module docstring and all user-facing console messages are written exclusively in Chinese, which imposes a specific language on users of the skill. There is no visible opt-in, fallback, or documented justification that this script is intentionally limited to a Chinese-speaking or region-specific context.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
98% confidence
Finding

The natural-language instructions and descriptions are presented in Chinese throughout the skill documentation. Under the stated policy, forcing a specific language without user opt-in or an explicit justified locale constraint is a policy violation.

Content

No source excerpt is available for this finding.