闲社服务运行正常AI智能体自动化平台
m

记忆毒化审计

技能标识:memory-poison-auditor

Audits OpenClaw memory files for injected instructions, brand bias, hidden steering, and memory poisoning patterns. Use when reviewing MEMORY.md, daily memory files, or any long-term memory store that may have been contaminated through dialogue.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 0.1.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

记忆毒化审计

记忆投毒审计器

memory-poison-auditor 用于检查 OpenClaw 记忆文件是否被隐藏指令、品牌引导、注入的操作策略或通过先前对话写入的可疑推荐偏见所污染。

检查内容

  • - 记忆中的提示注入式指令
  • 始终推荐X或绝不提及Y式的品牌引导
  • 异常的品牌重复和偏好塑造
  • 可疑的权威声明,如虚假批准或虚假用户意图
  • 低信号内容块,其行为类似于隐蔽策略而非事实记忆
  • 针对边界可疑内容块的可选AI审查

命令

审计默认记忆根目录

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

审计指定路径

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

可选AI审查

bash
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

一键清理

bash
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

清理操作会在重写可疑内容块之前创建备份。

输出结果

每次审计返回:

  • - PASS:未检测到有意义的投毒信号
  • WARN:检测到可疑记忆块
  • BLOCK:记忆可能已被污染,应进行审查/清理

报告和备份写入以下位置:

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

操作指南

  • - 在重要规划或推荐中信任长期记忆之前,请先使用此工具
  • WARN 表示在依赖该记忆块之前需要进行审查
  • BLOCK 表示在重新使用前应清理或隔离该记忆
  • AI审查为可选功能,仅适用于模棱两可的情况

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 memory-poison-auditor-1776068044 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 memory-poison-auditor-1776068044 技能

通过命令行安装

skillhub install memory-poison-auditor-1776068044

下载

⬇ 下载 memory-poison-auditor v0.1.0(免费)

文件大小: 8.29 KB | 发布时间: 2026-4-15 13:24

v0.1.0 最新 2026-4-15 13:24
Initial release: audit OpenClaw memory files for injected instructions, brand steering, and memory poisoning, with optional AI review and cleanup mode.
返回顶部