openclaw-memory-tencentdb-setup
Fail
Audited by Gen Agent Trust Hub on Oct 9, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The script
scripts/install-openclaw-plugin.shcontains a command (curl -fsSL https://get.openclaw.dev | bash) that downloads a script from an external, non-whitelisted domain and executes it directly in the shell. This is a primary vector for arbitrary remote code execution. - [COMMAND_EXECUTION]: In
hermes-plugin/memory/memory_tencentdb/supervisor.py, thesubprocess.Popenfunction is used to spawn a Gateway process using a command string (self._gateway_cmd) derived from theMEMORY_TENCENTDB_GATEWAY_CMDenvironment variable. This allows the execution of arbitrary local commands if an attacker can influence the environment configuration. - [DATA_EXFILTRATION]: The
SKILL-DIAGNOSTIC-EXPORT.mdinstruction file describes a workflow to package the entirememory-tdai/directory—which contains raw user conversation history (L0 records)—into a compressed archive. While the intended use is for user-initiated diagnostics, the skill effectively creates a mechanism to aggregate and transport highly sensitive PII (Private Identifiable Information) and chat logs into a single file. - [INDIRECT_PROMPT_INJECTION]: The skill exhibits a significant vulnerability surface for indirect prompt injection:
- Ingestion points: Raw conversation messages (L0 records) are ingested from untrusted user input and processed for memory extraction in
src/core/record/l1-extractor.ts. - Boundary markers: The prompts used for extraction in
src/core/prompts/l1-extraction.tslack explicit delimiters or instructions to ignore embedded commands within the conversation text. - Capability inventory: The skill possesses dangerous capabilities including subprocess spawning in
hermes-plugin/memory/memory_tencentdb/supervisor.pyand arbitrary file writing insrc/core/persona/persona-generator.ts. - Sanitization: While
src/core/conversation/l0-recorder.tsincludes asanitizeTextfunction, it primarily targets known tag patterns rather than preventing adversarial instruction following.
Recommendations
- HIGH: Downloads and executes remote code from: https://get.openclaw.dev - DO NOT USE without thorough review
- AI detected serious security threats
Audit Metadata