Skill Trust Decision

Bitget Trader

Bitget网格交易机器人代码本身非恶意,但SKILL.md文档末尾嵌入了真实的API密钥(明文secretKey+passphrase),凭证已暴露需立即吊销

Install decision first Source: Manual upload Scanned: Apr 5, 2026
Files 137
Artifacts 10
Violations 0
Findings 4
Most direct threat evidence
Critical Credential Theft
SKILL.md嵌入了真实API凭证

SKILL.md文件末尾(约第270行)直接嵌入了Bitget交易所的真实API密钥,包括apiKey、secretKey和passphrase,攻击者可提取后完全控制交易所账户进行交易和提币

SKILL.md:270

Why this conclusion was reached

1/4 dimensions flagged
Pass
Declared vs actual capability

Declared resources and inferred behavior are broadly aligned.

Review
Hidden execution and egress

10 lower-risk artifacts were extracted and still need context.

Block
Attack chain and severe findings

The report includes 0 attack-chain steps and 2 severe findings.

Pass
Dependencies and supply chain hygiene

Dependencies are present but no obvious high-risk issue stands out.

What drove the risk score up

凭证暴露 +40

SKILL.md末尾嵌入明文apiKey/secretKey/passphrase,可被任何人提取用于接管交易所账户

敏感配置未加密 +15

config.json中存储明文密钥,无加密或环境变量隔离

硬编码路径 +5

使用绝对路径/Users/zongzi/...暴露用户信息

合法交易功能 +-5

代码仅访问Bitget官方API,无数据外泄或恶意行为

Most important evidence

Critical Credential Theft

SKILL.md嵌入了真实API凭证

SKILL.md文件末尾(约第270行)直接嵌入了Bitget交易所的真实API密钥,包括apiKey、secretKey和passphrase,攻击者可提取后完全控制交易所账户进行交易和提币

SKILL.md:270
立即吊销该API密钥,使用环境变量或加密配置文件存储敏感信息
High Credential Theft

config.json存储明文密钥

config.json文件包含明文API密钥和密码,未经加密存储

config.json:1
使用加密配置文件或密钥管理服务,将config.json加入.gitignore
Medium Doc Mismatch

凭证作为文档示例但实为真实密钥

SKILL.md将凭证嵌入在'保存到config.json'示例块中,但这些凭证是真实可用的,而非占位符

SKILL.md:268
文档应使用明确的占位符示例如'YOUR_API_KEY',而非真实密钥
Low Sensitive Access

硬编码绝对路径泄露用户信息

多个脚本硬编码了用户目录路径/Users/zongzi/...,暴露了系统用户名

SKILL.md:14
使用相对路径或环境变量如$HOME/.openclaw/workspace/

Declared capability vs actual capability

Network Pass
Declared READ
Inferred READ
所有脚本通过HTTPS访问api.bitget.com
Filesystem Pass
Declared NONE
Inferred READ
多个脚本读取config.json/grid_settings.json
Shell Pass
Declared NONE
Inferred READ
bitget-cli.js使用execSync执行node命令

Suspicious artifacts and egress

Medium External URL
https://api.bitget.com/api/v2/spot/market/tickers?symbol=SOLUSDT

GRID_STATUS_2026-03-17_2208.md:117

Medium External URL
https://www.bitget.com

MANUAL_SETUP.md:26

Medium External URL
https://api.bitget.com

MULTI_AGENT_SETUP_GUIDE.md:331

Medium External URL
https://www.google.com

MULTI_AGENT_TEST_REPORT_2026-03-17.md:189

Medium External URL
https://www.investopedia.com/

QUANT_SYSTEM.md:233

Medium External URL
https://www.quantconnect.com/

QUANT_SYSTEM.md:234

Medium External URL
http://127.0.0.1:7897

README.md:242

Medium External URL
https://api.bitget.com$

dynamic-adjust-v2.js:14

Medium External URL
https://api.binance.com/api/v3/klines?symbol=$

dynamic-adjust.js:16

Medium External URL
https://api.binance.com/api/v3/ticker/price?symbol=$

dynamic-adjust.js:45

Dependencies and supply chain

PackageVersionSourceKnown vulnNotes
node (运行时) 无需额外依赖 系统 No 纯Node.js标准库实现

File composition

137 files · 22340 lines
JavaScript 74 files · 13942 linesMarkdown 39 files · 7314 linesJSON 21 files · 1007 linesShell 3 files · 77 lines
Files of concern · 3
config.json JSON · 6 lines
config.json存储明文密钥
dynamic-adjust-v2.js JavaScript · 326 lines
https://api.bitget.com$
dynamic-adjust.js JavaScript · 310 lines
https://api.binance.com/api/v3/klines?symbol=$ · https://api.binance.com/api/v3/ticker/price?symbol=$
Other files · smart-grid.js · multi_agent_controller.js · quant-trader.js · apply-scheme-a-final.js · deploy-highfreq-grids.js · trade-analyzer.js +3

Security positives

代码功能清晰,无混淆或隐藏的恶意行为
仅访问Bitget官方API(api.bitget.com),无可疑外部通信
使用标准HTTPS和HMAC-SHA256签名进行API认证
包含风险警告和API权限建议(仅现货交易权限)
日志记录功能完善,便于审计