Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

Soul Memory

v3.5.7

Intelligent memory management system v3.5.7 - 排除 cron session 避免 HEARTBEAT session 誤選,放寬 normalize_for_dedup 保留時間戳差異,threshold 0.92 減少誤去重,stable_cues 放寬保存技術/...

0· 717·3 current·4 all-time
Security Scan
Capability signals
Requires sensitive credentials
These labels describe what authority the skill may exercise. They are separate from suspicious or malicious moderation verdicts.
VirusTotalVirusTotal
Suspicious
View report →
OpenClawOpenClaw
Suspicious
medium confidence
Purpose & Capability
Name/description (memory management, heartbeat, OpenClaw plugin) align with the large body of included code: core modules for caching, deduplication, vector search, plugin manifest, CLI, heartbeat/trigger scripts, install/uninstall scripts and a small web UI. Those files are expected for a memory plugin and do not, by themselves, contradict the stated purpose.
!
Instruction Scope
SKILL.md instructs cloning the repo and running install.sh, editing ~/.openclaw/openclaw.json, and restarting the OpenClaw gateway. Documentation (HEARTBEAT.md, INSTALL_GUIDE.md) references running python scripts (heartbeat-trigger, clean_heartbeat) on a fixed path (/root/.openclaw/workspace/soul-memory) and scheduling cron jobs every ~3 hours. The plugin also automatically injects memories before responses (prependContext hook). These runtime actions touch user configuration, create persistent scheduled tasks, read/write workspace files, and perform automatic context injection — all within scope for a memory plugin but broad in reach. The hard-coded use of /root paths and instructions to run install.sh are notable; they grant the skill persistent filesystem and scheduler presence and warrant review of those scripts and of what data is read/served.
!
Install Mechanism
There is no registry install spec, but the repo includes an install.sh (28KB) and uninstall.sh. SKILL.md explicitly instructs users to git clone and run install.sh. Running an included install script is effectively executing code from the skill on your machine — expected for a plugin but higher-risk than instruction-only skills. The install script likely sets up files under ~/.openclaw, may create cron entries and install the plugin to ~/.openclaw/extensions. You should inspect install.sh before running it. No third-party download URLs were flagged, but the presence of a web UI and scripts that modify cron or config increases install-time risk.
Credentials
The skill declares no required environment variables or credentials, which is proportionate. However, runtime docs and scripts read and write files under ~/.openclaw and (in docs/examples) /root/.openclaw/workspace; they may persist memories, indices and logs. The skill does not request cloud credentials in metadata, but because it runs a web UI and plugin hook, you should audit the code for any network calls (HTTP clients, socket binds) or hard-coded upstream endpoints before trusting persisted memories. No extra unrelated credentials are requested in the manifest.
!
Persistence & Privilege
The skill installs persistent components: files under ~/.openclaw, a plugin extension, cron/heartbeat triggers, and a web UI — plus an automatic pre-response hook that injects memories into prompts. 'always' is false, but the combination of persistent scheduled tasks and autonomous pre-response injection increases the blast radius: the skill will be able to run periodic code and automatically contribute context to every response once enabled. This behavior is coherent with a memory plugin but requires careful review because it persists on disk, may run as a scheduled task, and may expose or inject stored data.
Scan Findings in Context
[pre-scan-injection-signals] expected: No pre-scan injection signals were detected. That's not proof of safety; many risks come from the install scripts and cron/web behaviors rather than obvious injection signatures.
[hardcoded-root-paths] unexpected: Documentation and scripts refer to /root/.openclaw/workspace and root git commits. Hard-coded root paths are not strictly necessary for a userland plugin and increase risk if install scripts assume root. Recommend inspecting install.sh and scripts for privilege escalation or assumptions about running as root.
[install-script-present] expected: An install.sh is present and SKILL.md instructs to run it. This is expected for a plugin that modifies OpenClaw config and registers extensions, but running included install scripts is higher-risk than pure instruction-only skills — review contents before execution.
[cron-job-scheduling] expected: HEARTBEAT and INSTALL_GUIDE document adding cron jobs to run heartbeat/cleanup scripts every ~3 hours. This is consistent with the stated heartbeat/cleanup features but grants persistent scheduled execution and should be confirmed during code review.
[web-ui-present] expected: A FastAPI web app and static assets exist (web/app.py, web/start.sh). For a monitoring dashboard this is expected, but it means the skill may bind network ports and serve data derived from stored memories — inspect for authentication, port/host bindings, and whether it exposes sensitive data.
What to consider before installing
This package is broadly coherent with its stated purpose (an OpenClaw memory plugin) but includes persistent installation and scheduling behavior that increases risk. Before installing: 1) Inspect install.sh and uninstall.sh to see exactly what is written, what crontab entries are added, and whether any external URLs are contacted. 2) Review heartbeat-trigger.py, clean_heartbeat.py and web/app.py for network calls (requests/urllib/socket), file paths, and any code that might upload or expose memory contents. 3) Confirm install steps do not require running as root; if docs reference /root, run in a non-root test environment first (or a disposable VM/container). 4) Backup your existing ~/.openclaw config and workspace, and verify uninstall.sh fully removes cron entries and files. 5) If you run the web UI, ensure it listens only on localhost or is protected by authentication/firewall. 6) Prefer installing and validating in an isolated environment (staging or container) before enabling on production, and audit logs/traffic for unexpected behavior.

Like a lobster shell, security has layers — review code before you run it.

latestvk97cy0tw6c1x5y4d68fd92nsn1850mk5
717downloads
0stars
8versions
Updated 8h ago
v3.5.7
MIT-0

Soul Memory System v3.5.7

🧠 Intelligent Memory Management System

Long-term memory framework for AI agents with full OpenClaw integration. v3.5.7 修復 get_active_session_id() 排除 cron session,避免誤選 HEARTBEAT session;v3.5.6 放寬 normalize_for_dedup() 保留時間戳差異;v3.5.5 提高 threshold 到 0.92 減少誤去重;v3.5.4 放寬 stable_cues 保存更多技術/項目/QST/文件內容。


✨ Features

8 Powerful Modules + OpenClaw Plugin Integration

ModuleFunctionDescription
APriority Parser[C]/[I]/[N] tag parsing + semantic auto-detection
BVector SearchKeyword indexing + CJK segmentation + semantic expansion
CDynamic ClassifierAuto-learn categories from memory
DVersion ControlGit integration + version rollback
EMemory DecayTime-based decay + cleanup suggestions
FAuto-TriggerPre-response search + Post-response auto-save
GCantonese Branch🆕 語氣詞分級 + 語境映射 + 粵語檢測
HCLI Interface🆕 Pure JSON output for external integration
PluginOpenClaw Hook🆕 before_prompt_build Hook for automatic context injection
WebWeb UIFastAPI dashboard with real-time stats

🆕 v3.3.1 Release Highlights

🎯 Heartbeat 自動清理(最新!)

FeatureDescription
Auto Cleanup ScriptAutomatically cleans Heartbeat reports every 3 hours
Cron Job IntegrationOpenClaw Cron system scheduled execution
Multi-format SupportRecognizes multiple Heartbeat formats
Memory OptimizationReduces redundancy, improves quality score (7.9 → 8.5)

v3.2.2 Release Highlights

🎯 Core Improvements

FeatureDescription
Heartbeat DeduplicationMD5 hash tracking, automatically skips duplicate content
CLI InterfacePure JSON output for external system integration
OpenClaw PluginAutomatically injects relevant memories before responses (v0.2.1-beta)
Lenient ModeLower recognition thresholds, saves more conversation content

🔄 Plugin v0.2.1-beta Fixes

  • Fix prependContext Accumulation: Extracts query from event.prompt instead of messages history
  • Enhanced Legacy Cleanup: Multiple format support (SoulM markers, numbered entries, ## Memory Context)
  • No Memory Loop: Prevents recursive injection in conversation history

🚀 Quick Start

Installation

# Clone and install
git clone https://github.com/kingofqin2026/Soul-Memory-.git
cd Soul-Memory-
bash install.sh

# Clean install (uninstall first if needed)
bash install.sh --clean

Basic Usage

from soul_memory.core import SoulMemorySystem

# Initialize system
system = SoulMemorySystem()
system.initialize()

# Search memories
results = system.search("user preferences", top_k=5)

# Add memory
memory_id = system.add_memory("[C] User likes dark mode")

# Pre-response trigger (auto-search before answering)
context = system.pre_response_trigger("What are user preferences?")

CLI Usage

# Pure JSON output
python3 cli.py search "QST physics" --format json

# Get stats
python3 cli.py stats --format json

OpenClaw Plugin

# Plugin is automatically installed to ~/.openclaw/extensions/soul-memory

# Restart Gateway to enable
openclaw gateway restart

v3.6.1 Highlights

  • Pure JSON CLI output for reliable plugin parsing
  • Prefer last real user message over prompt tail for memory search query
  • Distilled memory summaries instead of raw long snippets
  • Typed memory focus buckets: User / QST / Config / Recent / Project / General
  • Audit logs for query source and injection buckets

🤖 OpenClaw Plugin Integration

How It Works

Automatic Trigger: Executes before each response

  1. Extract query from the last real user message (prompt only as fallback)
  2. Search relevant memories (top_k = 5)
  3. Group and distill memory focus
  4. Inject into prompt via prependContext

Configuration

Edit ~/.openclaw/openclaw.json:

{
  "plugins": {
    "entries": {
      "soul-memory": {
        "enabled": true,
        "config": {
          "topK": 5,
          "minScore": 0.0
        }
      }
    }
  }
}

🧪 Testing

# Run full test suite
python3 test_all_modules.py

# Expected output:
# 📊 Results: 8 passed, 0 failed
# ✅ All tests passed!

📋 Feature Details

Priority System

  • [C] Critical: Key information, must remember
  • [I] Important: Important items, needs attention
  • [N] Normal: Daily chat, can decay

Keyword Search

Localized implementation:

  • Keyword indexing
  • Synonym expansion
  • Similarity scoring

Classification System

Default categories (customizable):

  • User_Identity(用戶身份)
  • Tech_Config(技術配置)
  • Project(專案)
  • Science(科學)
  • History(歷史)
  • General(一般)

Cantonese Support

  • 語氣詞分級(唔好、好啦、得咩)
  • 語境映射(褒貶情緒識別)
  • 粵語檢測(簡繁轉換支持)

📦 File Structure

soul-memory/
├── core.py              # Core system
├── cli.py               # CLI interface
├── install.sh           # Auto-install script
├── uninstall.sh         # Complete uninstall script
├── test_all_modules.py  # Test suite
├── SKILL.md             # ClawHub manifest (this file)
├── README.md            # Documentation
├── modules/             # 6 functional modules
│   ├── priority_parser.py
│   ├── vector_search.py
│   ├── dynamic_classifier.py
│   ├── version_control.py
│   ├── memory_decay.py
│   └── auto_trigger.py
├── plugin/              # OpenClaw Plugin
│   ├── index.ts         # Plugin source
│   └── openclaw.plugin.json
├── cache/               # Cache directory (auto-generated)
└── web/                 # Web UI (optional)

🔒 Uninstallation

Complete removal of all integration configs:

# Basic uninstall (will prompt for confirmation)
bash uninstall.sh

# Create backup before uninstall (recommended)
bash uninstall.sh --backup

# Auto-confirm (no manual confirmation)
bash uninstall.sh --backup --confirm

Removed Items:

  1. OpenClaw Plugin config (~/.openclaw/openclaw.json)
  2. Heartbeat auto-trigger (HEARTBEAT.md)
  3. Auto memory injection (Plugin)
  4. Auto memory save (Post-Response Auto-Save)

🔒 Privacy & Security

  • ✅ No external API calls
  • ✅ No cloud dependencies
  • ✅ Cross-domain isolation, no data sharing
  • ✅ Open source MIT License
  • ✅ CJK support (Chinese, Japanese, Korean)

📐 Technical Details

  • Python Version: 3.7+
  • Dependencies: None external (pure Python standard library)
  • Storage: Local JSON files
  • Search: Keyword matching + semantic expansion
  • Classification: Dynamic learning + preset rules
  • OpenClaw: Plugin v0.2.1-beta (TypeScript)

📝 Version History

  • v3.3.4 (2026-03-07): 🆕 查詢過濾優化(跳過問候語/簡單命令,提高搜索閾值 minScore 0.0→3.0,節省 ~25k token/日)
  • v3.3.3 (2026-03-06): 每日快取自動重建(跨日索引更新)
  • v3.3.2 (2026-02-28): Heartbeat 自我報告過濾
  • v3.3.1 (2026-02-27): 🆕 Heartbeat 自動清理 + Cron Job 集成 + 記憶質量優化(7.9→8.5)
  • v3.2.2 (2026-02-25): Heartbeat deduplication + OpenClaw Plugin v0.2.1-beta + Uninstall script
  • v3.2.1 (2026-02-19): Index strategy improvement - 93% Token reduction
  • v3.2.0 (2026-02-19): Heartbeat active extraction + Lenient mode
  • v3.1.1 (2026-02-19): Hotfix: Dual-track memory persistence
  • v3.1.0 (2026-02-18): Cantonese grammar branch: Particle grading + context mapping
  • v3.0.0 (2026-02-18): Web UI v1.0: FastAPI dashboard + real-time stats
  • v2.2.0 (2026-02-18): CJK smart segmentation + Post-Response Auto-Save
  • v2.1.0 (2026-02-17): Rebrand to Soul Memory, technical neutralization
  • v2.0.0 (2026-02-17): Self-hosted version

📄 License

MIT License - see LICENSE for details


🙏 Acknowledgments

Soul Memory System v3.2 is a personal AI assistant memory management tool, designed for personal use. Not affiliated with OpenClaw project.


🔗 Related Links


© 2026 Soul Memory System

Comments

Loading comments...