Scan Report
This report was generated in Chinese. Some content may be in Chinese.
5 /100
amber-hunter
Huper琥珀本地感知引擎 - AI 跨客户端长期记忆管理系统,支持 E2E 加密、云同步、向量搜索
amber-hunter 是一个合法的本地 AI 记忆管理系统,采用了标准加密实践(E2E AES-256-GCM、OS Keychain 密钥存储)、安全网络通信(httpx + 加密同步)和清晰的数据流,无恶意行为发现。
Safe to install
可直接使用。无需额外安全措施。
Findings 3 items
| Severity | Finding | Location |
|---|---|---|
| Low | 部分依赖无版本上限 Supply Chain | requirements.txt:5 |
| Info | Linux headless 模式明文存储降级 Credential Theft | core/keychain.py:143 |
| Info | LLM Provider 使用 subprocess curl RCE | core/llm.py:163 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | WRITE | WRITE | ✓ Aligned | SKILL.md 声明本地存储,代码读写 ~/.amber-hunter/ |
| Network | READ | READ | ✓ Aligned | 云端同步 huper.org,加密传输 |
| Shell | NONE | READ | ✓ Aligned | subprocess curl 用于 LLM API 调用(合法 CLI 工具) |
| credential | ADMIN | ADMIN | ✓ Aligned | master_password 存 OS Keychain,api_token 多级降级 |
| Database | WRITE | WRITE | ✓ Aligned | SQLite ~/.amber-hunter/hunter.db |
9 findings
Medium External URL 外部 URL
https://huper.org CHANGELOG.md:339 Medium External URL 外部 URL
https://huper.org/dashboard README.md:33 Medium External URL 外部 URL
https://huper.org/api README.md:43 Medium External URL 外部 URL
https://huper.org/api/ingest SKILL.md:73 Medium External URL 外部 URL
http://127.0.0.1:18998 amber_hunter.py:728 Medium External URL 外部 URL
https://api.voyageai.com/v1/embeddings core/embedding.py:99 Medium External URL 外部 URL
https://api.minimaxi.com/anthropic/v1/messages core/llm.py:130 Medium External URL 外部 URL
https://api.groq.com/openai/v1/chat/completions core/llm.py:632 Medium External URL 外部 URL
https://api.minimaxi.com/anthropic core/llm.py:700 File Tree
40 files · 492.2 KB · 12796 lines Python 25f · 10351L
Markdown 7f · 1212L
JavaScript 3f · 729L
Shell 3f · 325L
TypeScript 1f · 166L
Text 1f · 13L
├─
▾
core
│ ├─
__init__.py
Python
│ ├─
correction.py
Python
│ ├─
crypto.py
Python
│ ├─
db.py
Python
│ ├─
embedding.py
Python
│ ├─
extractor.py
Python
│ ├─
keychain.py
Python
│ ├─
llm.py
Python
│ ├─
mcp.py
Python
│ ├─
models.py
Python
│ ├─
profile.py
Python
│ ├─
session.py
Python
│ ├─
trainer.py
Python
│ ├─
vector.py
Python
│ └─
wal.py
Python
├─
▾
proactive
│ ├─
▾
hooks
│ │ └─
▾
openclaw
│ │ ├─
handler.js
JavaScript
│ │ ├─
handler.ts
TypeScript
│ │ └─
HOOK.md
Markdown
│ ├─
▾
scripts
│ │ └─
proactive-check.js
JavaScript
│ ├─
proactive-check.js
JavaScript
│ └─
README.md
Markdown
├─
▾
tests
│ ├─
▾
test_api
│ │ ├─
__init__.py
Python
│ │ ├─
test_recall.py
Python
│ │ └─
test_status.py
Python
│ ├─
__init__.py
Python
│ ├─
conftest.py
Python
│ ├─
test_crypto.py
Python
│ ├─
test_e2e_encrypt.py
Python
│ ├─
test_new_endpoints.py
Python
│ └─
test_sync.py
Python
├─
amber_hunter.py
Python
├─
CHANGELOG.md
Markdown
├─
CLAUDE.md
Markdown
├─
freeze.sh
Shell
├─
install.sh
Shell
├─
README.md
Markdown
├─
RELEASE_CHECKLIST.md
Markdown
├─
release.sh
Shell
├─
requirements.txt
Text
└─
SKILL.md
Markdown
Dependencies 6 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
sentence-transformers | >=2.2.0 | pip | No | 无版本上限 |
numpy | >=1.24.0 | pip | No | 无版本上限 |
lancedb | >=0.4.0 | pip | No | 无版本上限 |
cryptography | 43.0.0 | pip | No | 版本锁定 |
httpx | 0.27.0 | pip | No | 版本锁定 |
fastapi | 0.115.0 | pip | No | 版本锁定 |
Security Positives
✓ ✅ E2E 加密:AES-256-GCM + PBKDF2-HMAC-SHA256(100k 迭代)
✓ ✅ 密钥隔离:master_password 不上传云端,服务端仅存密文
✓ ✅ OS Keychain:macOS security / Linux secret-tool / Windows cmdkey 原生存储
✓ ✅ 依赖安全:使用 cryptography (43.0.0)、httpx (0.27.0) 等成熟安全库
✓ ✅ 无恶意代码:无 eval/exec/compile/__import__ 等动态代码执行
✓ ✅ 无数据外泄:同步数据全部加密,云端无法解密
✓ ✅ 文档完整:SKILL.md 准确描述功能和权限,与代码行为一致
✓ ✅ DID 身份层:Ed25519 签名 + 设备密钥派生
✓ ✅ 无敏感路径访问:不访问 ~/.ssh、~/.aws、.env 等系统敏感文件