okx-security
OKX Web3 security scanning skill with documented remote script download/execution from GitHub, creating significant supply chain attack surface despite SHA256 verification.
为什么得出这个结论
0/4 个维度触发声明资源与推断能力基本一致。
提取到 7 个一般风险产物,需要结合上下文判断。
没有形成明确的恶意路径。
依赖结构存在,但暂未看到明显高危告警。
风险分是怎么被拉高的
Downloads and executes install.sh from raw.githubusercontent.com, creating supply chain attack surface
Always fetches 'latest' tag from GitHub API rather than using pinned version
onchainos binary covers security + wallet/DeFi operations; compromise could enable unauthorized transactions
最关键的证据
Remote installer download and execution
Skill downloads install.sh from raw.githubusercontent.com and executes it via shell. While SHA256 verification is performed, the attack surface remains significant if GitHub infrastructure or the repo is compromised.
SKILL.md:19 Dynamic 'latest' version resolution
Skill fetches the latest stable release tag from GitHub API on every session. This creates non-deterministic behavior where the installed binary can change between runs, increasing supply chain exposure.
SKILL.md:15 onchainos binary scope exceeds security scanning
The onchainos CLI covers wallet operations, swaps, and contract calls beyond just security scanning. If the binary is compromised, these capabilities could be abused for unauthorized transactions.
SKILL.md:1 声明能力 vs 实际能力
SKILL.md:curl GitHub API, raw.githubusercontent.com downloads SKILL.md:sh /tmp/onchainos-install.sh SKILL.md:Downloads to /tmp, installs to ~/.local/bin, stores cache in ~/.onchainos/ SKILL.md:Integrates with okx-agentic-wallet for wallet operations No env access detected in reference files or SKILL.md 可疑产物与外联
https://web3.okx.com SKILL.md:8
https://web3.okx.com/onchain-os/dev-portal SKILL.md:71
https://some-dapp.xyz references/risk-domain-detection.md:14
https://suspicious-defi.xyz references/risk-domain-detection.md:42
0x6982508145454Ce325dDbE47a25d4ec3d2311933 references/risk-token-detection.md:130
0x25d887Ce7a35172C62FeBFD67a1856F20FaEbB00 references/risk-token-detection.md:131
0xdAC17F958D2ee523a2206206994597C13D831ec7 references/risk-token-detection.md:145
依赖与供应链
| 包名 | 版本 | 来源 | 漏洞 | 备注 |
|---|---|---|---|---|
| onchainos-skills | latest (dynamic) | GitHub releases | 否 | Dynamic 'latest' tag resolution; SHA256 verification performed |
文件构成
references/risk-token-detection.md SKILL.md references/risk-domain-detection.md