扫描报告
65 /100
openviking-context
OpenViking layered context database for AI agents — L0/L1/L2 semantic search and memory management
The skill contains an undocumented curl|bash remote script execution pattern for installing a Rust CLI component, combined with plaintext API key storage and shell RC modifications, creating a significant supply-chain and credential-theft attack surface.
不要安装此技能
Remove the curl|bash pattern from install.sh (replace with explicit binary download/verification or documented user opt-in); encrypt or use a secrets manager for API key storage; add clear documentation of all shell operations and file writes in SKILL.md.
攻击链 4 步
◎
入口 User installs skill and runs install.sh, which optionally triggers curl|bash
scripts/install.sh:65⬡
提权 Remote script fetched from GitHub raw URL and executed as root-equivalent user
scripts/install.sh:65⬡
提权 API key stored in plaintext in ~/.openviking/ov.conf
scripts/setup-config.sh:85◉
影响 Any local attacker or malware with filesystem read access can steal the API key from ov.conf
~/.openviking/ov.conf安全发现 6 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 严重 | Undeclared curl|bash remote script execution 代码执行 | scripts/install.sh:65 |
| 高危 | Plaintext API key storage with no encryption or masking 凭证窃取 | scripts/setup-config.sh:85 |
| 高危 | Unpinned pip install with --force-reinstall allows package substitution 供应链 | scripts/install.sh:41 |
| 高危 | cargo install from git URL without commit hash pinning 供应链 | scripts/install.sh:63 |
| 中危 | Shell RC modification is completely undeclared in SKILL.md 文档欺骗 | scripts/install.sh:96 |
| 中危 | Server startup commands use nohup with PID tracking, could create orphaned processes 持久化 | SKILL.md:94 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 文件系统 | WRITE | WRITE | ✓ 一致 | SKILL.md documents filesystem writes for config and workspace |
| 命令执行 | NONE | WRITE | ✗ 越权 | scripts/install.sh:65 executes 'curl | bash' from remote URL; not declared in SK… |
| 网络访问 | READ | READ | ✓ 一致 | SKILL.md documents remote API calls for model providers |
| 环境变量 | NONE | WRITE | ✗ 越权 | install.sh:101-107 silently modifies ~/.zshrc/~/.bashrc with export statements |
| 技能调用 | NONE | NONE | — | No skill invocation capability found |
1 严重 1 高危 10 项发现
严重 危险命令 危险 Shell 命令
curl -fsSL https://raw.githubusercontent.com/volcengine/OpenViking/main/crates/ov_cli/install.sh | bash scripts/install.sh:65 高危 API 密钥 疑似硬编码凭证
API_KEY="YOUR_API_KEY_HERE" scripts/setup-config.sh:85 中危 外部 URL 外部 URL
https://www.openviking.ai README.md:119 中危 外部 URL 外部 URL
https://docs.openclaw.ai/tools/creating-skills README.md:120 中危 外部 URL 外部 URL
https://clawhub.ai README.md:121 中危 外部 URL 外部 URL
http://127.0.0.1:1933 SKILL.md:98 中危 外部 URL 外部 URL
https://docs.litellm.ai/docs/providers SKILL.md:237 中危 外部 URL 外部 URL
https://build.nvidia.com/ SKILL.md:238 中危 外部 URL 外部 URL
https://ark.cn-beijing.volces.com/api/v3 scripts/setup-config.sh:48 中危 外部 URL 外部 URL
https://integrate.api.nvidia.com/v1 scripts/setup-config.sh:56 目录结构
9 文件 · 62.2 KB · 1892 行 Python 2f · 1021L
Shell 3f · 471L
Markdown 2f · 359L
JSON 2f · 41L
├─
▾
scripts
│ ├─
demo-token-compare.py
⚠
Python
│ ├─
install-skill.sh
Shell
│ ├─
install.sh
Shell
│ ├─
setup-config.sh
Shell
│ └─
viking.py
Python
├─
_meta.json
JSON
├─
clawhub.json
JSON
├─
README.md
Markdown
└─
SKILL.md
Markdown
依赖分析 2 项
| 包名 | 版本 | 来源 | 已知漏洞 | 备注 |
|---|---|---|---|---|
openviking | * (unpinned) | pip | 否 | No version pinned; --upgrade --force-reinstall allows any version |
ov_cli | * (unpinned) | cargo/git | 否 | cargo install from git without commit hash pinning |
安全亮点
✓ All Python scripts (viking.py, demo-token-compare.py) are readable, well-structured, and perform their documented functions without hidden behavior
✓ No base64-encoded payloads, obfuscated code, or anti-analysis techniques found
✓ No network exfiltration, C2 communication, or credential harvesting loops detected
✓ No access to ~/.ssh, ~/.aws, .env, or other sensitive credential paths
✓ No reverse shell, RCE loops, or persistence backdoors found
✓ The skill is for a legitimate open-source project (OpenViking by ByteDance/Volcengine)
✓ API endpoints are to known legitimate providers (OpenAI, Volcengine, NVIDIA, LiteLLM)