openclaw-memory-tencentdb-setup

Warn

Audited by Socket on Oct 9, 2026

5 alerts found:

Anomalyx5
AnomalyLOW
src/core/profile/profile-sync.ts

The code appears to be a legitimate profile synchronization module with no evidence of malware, data theft, backdoors, or obfuscated behavior. The principal security issue is insufficient validation of remote filenames before filesystem operations, creating a potential path traversal or arbitrary file overwrite/delete risk if store records can be attacker-controlled or compromised. Remote-driven deletion is also operationally destructive but consistent with synchronization semantics. Filename confinement to a validated basename or resolved path within the intended directory is recommended.

Confidence: 95%Severity: 62%
AnomalyLOW
scripts/install-openclaw-plugin.sh

The fragment is a recognizable installer/configuration script and contains no direct evidence of malware or intentional data theft. The principal supply-chain risk is executing an unverified remote installer via curl|bash, supplemented by npm install lifecycle/dependency risk. It also stores API credentials in the OpenClaw configuration and enables sensitive hook capabilities by default. Review the remote installer, lock dependencies, prefer verified releases or npm ci, and require explicit opt-in for broad conversation and prompt-injection access.

Confidence: 97%Severity: 63%
AnomalyLOW
scripts/install_hermes_memory_tencentdb.sh

This script is primarily an installer/bootstrapping mechanism that fetches and installs a third-party npm package from an unpinned @latest version, runs npm install steps that may execute lifecycle scripts, and then symlinks the installed code into a Hermes agent so it will be loaded by subsequent runtime components. There is no explicit evidence of backdoor behavior, reverse shells, keylogging, credential theft, or network exfiltration in the installer logic itself; however, the dominant risk is supply-chain execution and persistence impact (install-time code execution + later runtime loading). Additional concerns include the use of eval for home-directory resolution and writing persistent startup commands to both /etc/profile.d and ~/.hermes/.env.

Confidence: 66%Severity: 66%
AnomalyLOW
scripts/install-hermes-plugin.sh

The code appears to be a legitimate local installer, not malware. The primary security issue is command injection through eval when USERNAME is influenced by INSTALL_AS_USER or SUDO_USER. It also exposes the configured API key by writing it to a potentially broadly readable .env file and printing it to stderr. Remove eval by resolving the home directory without shell evaluation, validate all path overrides, avoid printing secrets, and set restrictive permissions on the environment file.

Confidence: 98%Severity: 68%
AnomalyLOW
scripts/bench-l0-mongo/merge-reports.mjs

The code appears to be a local benchmark-report merge utility, not malware. The primary security issue is path traversal through the unsanitized outName argument, which can direct the process to overwrite files outside the reports directory. The issue is relevant when command-line arguments are attacker-controlled; otherwise the behavior is limited to expected report and index file generation. Input report filenames are comparatively protected by basename.

Confidence: 98%Severity: 52%
Audit Metadata
Analyzed At
Oct 9, 2026, 03:39 PM
Package URL
pkg:socket/skills-sh/tencentcloud%2Ftencentdb-agent-memory%2Fopenclaw-memory-tencentdb-setup%2F@692222729abbeefaa4806fae7634d604667fedec1da30b40a4181c9d81539b98