← 返回
安全合规 中文

Memory Poison Auditor

Audits OpenClaw memory files for injected instructions, brand bias, hidden steering, and memory poisoning patterns. Use when reviewing MEMORY.md, daily memor...
审计 OpenClaw 内存文件,检测注入指令、品牌偏见、隐藏引导及内存污染模式。用于审查 MEMORY.md 及日常记忆...
2404589803
安全合规 clawhub v0.1.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 505
下载
💾 4
安装
1
版本
#audit#latest#memory#security

概述

Memory Poison Auditor

memory-poison-auditor checks whether OpenClaw memory files have been contaminated by hidden instructions, brand steering, injected operational policies, or suspicious recommendation bias written through prior conversations.

What It Checks

  • Prompt-injection style instructions inside memory.
  • "Always recommend X" or "never mention Y" style brand steering.
  • Abnormal brand repetition and preference shaping.
  • Suspicious authority claims like fake approvals or fake user intent.
  • Low-signal blocks that act like covert policy rather than factual memory.
  • Optional AI review for borderline suspicious blocks.

Commands

Audit Default Memory Roots

python3 {baseDir}/scripts/audit_memory.py scan
python3 {baseDir}/scripts/audit_memory.py --format json scan

Audit a Specific Path

python3 {baseDir}/scripts/audit_memory.py scan --path /root/clawd/MEMORY.md
python3 {baseDir}/scripts/audit_memory.py scan --path /root/clawd/memory

Optional AI Review

python3 {baseDir}/scripts/audit_memory.py scan --with-ai
python3 {baseDir}/scripts/audit_memory.py scan --path /root/clawd/memory/2026-03-15.md --with-ai

One-Click Cleaning

python3 {baseDir}/scripts/audit_memory.py clean --path /root/clawd/MEMORY.md --apply
python3 {baseDir}/scripts/audit_memory.py clean --path /root/clawd/memory --apply

Cleaning creates backups before rewriting suspicious blocks.

Output

Each audit returns:

  • PASS: no meaningful poisoning signals
  • WARN: suspicious memory blocks detected
  • BLOCK: memory likely contaminated and should be reviewed/cleaned

Reports and backups are written to:

/root/clawd/output/memory-poison-auditor/reports/
/root/clawd/output/memory-poison-auditor/backups/

Operational Guidance

  • Use this before trusting long-term memory in important planning or recommendations.
  • WARN means review before relying on that memory block.
  • BLOCK means clean or quarantine the memory before reuse.
  • AI review is optional and intended only for ambiguous cases.

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-20 03:08 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,164
security-compliance

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,713
security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,215 📥 266,418