Scan Report
5 /100
Context Cache Manager
fork-safe上下文克隆 + 智能压缩 + 快速恢复
这是一个合法的上下文缓存管理工具,代码实现与声明功能一致,无恶意行为发现。
Safe to install
可直接使用。SKILL.md 中 memory:manage 权限声明过于宽泛但不影响安全。
Findings 2 items
| Severity | Finding | Location |
|---|---|---|
| Info | 权限声明过于宽泛 | SKILL.md:62 |
| Info | 使用 pickle 序列化 | context_cache_manager.py:94 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | WRITE | WRITE | ✓ Aligned | context_cache_manager.py:91-94 写缓存到~/.openclaw路径 |
| Filesystem | READ | READ | ✓ Aligned | context_cache_manager.py:103-110 load_snapshot从磁盘加载 |
| Shell | NONE | NONE | — | 无shell执行代码 |
File Tree
2 files · 12.7 KB · 458 lines Python 1f · 291L
Markdown 1f · 167L
├─
context_cache_manager.py
Python
└─
SKILL.md
Markdown
Security Positives
✓ 代码结构清晰,功能实现与文档描述一致
✓ 使用 gzip 压缩减少存储空间
✓ 实现了缓存过期清理机制
✓ 无网络请求,无数据外传风险
✓ 无敏感路径访问(仅操作 ~/.openclaw/workspace/ 下的缓存目录)
✓ 无 shell 执行、无远程脚本下载