Scan Report
8 /100
amber-hunter
Universal AI memory backend for Huper琥珀 - 本地感知记忆引擎,E2E加密,支持多AI客户端集成
Amber-Hunter 是一个合法的本地记忆后端服务,E2E加密实现正确,无恶意行为证据,所有操作均符合声明功能范围。存在少量配置相关风险点,但属于合理的工程权衡。
Safe to install
该技能可安全使用。注意Linux headless环境下master_password会以明文存储在config.json中,建议配合文件系统权限控制。
Findings 3 items
| Severity | Finding | Location |
|---|---|---|
| Low | Linux headless环境密钥明文存储 | core/keychain.py:112 |
| Low | 依赖包版本未锁定 | requirements.txt:6 |
| Low | subprocess用于系统Keychain访问 | core/keychain.py:28 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | WRITE | WRITE | ✓ Aligned | SKILL.md:access ~/.amber-hunter/ for config/db, code confirmed |
| Network | WRITE | WRITE | ✓ Aligned | SKILL.md:cloud sync to huper.org, code confirms E2E encrypted POST |
| Shell | WRITE | WRITE | ✓ Aligned | core/keychain.py:subprocess calls to security/secret-tool/cmdkey for OS keychain… |
| Environment | NONE | READ | ✓ Aligned | core/llm.py:reads MINIMAX_API_KEY env var, os.environ usage is declared |
| Skill Invoke | NONE | NONE | — | No skill invocation found |
| Clipboard | NONE | NONE | — | No clipboard access |
| Browser | NONE | NONE | — | No browser automation |
| Database | WRITE | WRITE | ✓ Aligned | core/db.py:SQLite at ~/.amber-hunter/hunter.db, confirmed in SKILL.md |
8 findings
Medium External URL 外部 URL
https://huper.org CHANGELOG.md:275 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:68 Medium External URL 外部 URL
http://127.0.0.1:18998 amber_hunter.py:619 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:624 Medium External URL 外部 URL
https://api.minimaxi.com/anthropic core/llm.py:692 File Tree
30 files · 240.2 KB · 6553 lines Python 14f · 4387L
Markdown 7f · 1057L
JavaScript 3f · 606L
Shell 3f · 325L
TypeScript 1f · 161L
Text 1f · 12L
JSON 1f · 5L
├─
▾
core
│ ├─
__init__.py
Python
│ ├─
crypto.py
Python
│ ├─
db.py
Python
│ ├─
keychain.py
Python
│ ├─
llm.py
Python
│ ├─
models.py
Python
│ └─
session.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
├─
_meta.json
JSON
├─
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 5 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
sentence-transformers | >=2.2.0 | pip | No | 无版本锁定,有ML模型下载 |
numpy | >=1.24.0 | pip | No | 无版本锁定 |
fastapi | 0.115.0 | pip | No | 已锁定版本 |
httpx | 0.27.0 | pip | No | 已锁定版本 |
cryptography | 43.0.0 | pip | No | 已锁定版本 |
Security Positives
✓ E2E加密实现正确:AES-256-GCM + PBKDF2-HMAC-SHA256,密钥派生100000次迭代
✓ master_password默认存储在OS Keychain(macOS security/Windows cmdkey/GNOME secret-tool),不上传
✓ 云端同步使用E2E加密后传输,服务端永不接触明文内容
✓ 所有网络请求使用localhost或明确声明的huper.org/api,IP固定,无动态C2
✓ API token验证机制健全,防止同一机器其他进程滥用
✓ 无base64管道、eval()、裸IP请求等典型攻击模式
✓ proactive hook严格限定localhost:18998,数据不外传
✓ 代码结构清晰,无混淆或隐藏逻辑