okx-security
OKX Web3 security scanning skill with documented remote script download/execution from GitHub, creating significant supply chain attack surface despite SHA256 verification.
Why this conclusion was reached
0/4 dimensions flaggedDeclared resources and inferred behavior are broadly aligned.
7 lower-risk artifacts were extracted and still need context.
There is no explicit malicious chain in the report.
Dependencies are present but no obvious high-risk issue stands out.
What drove the risk score up
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
Most important evidence
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 Declared capability vs actual capability
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 Suspicious artifacts and egress
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
Dependencies and supply chain
| Package | Version | Source | Known vuln | Notes |
|---|---|---|---|---|
| onchainos-skills | latest (dynamic) | GitHub releases | No | Dynamic 'latest' tag resolution; SHA256 verification performed |
File composition
references/risk-token-detection.md SKILL.md references/risk-domain-detection.md