okx-dex-swap
Warn
Audited by Snyk on Apr 29, 2026
Risk Level: MEDIUM
Full Analysis
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (high risk: 1.00). The skill's required Pre-flight Checks explicitly fetch and parse public GitHub content (curl to https://api.github.com/... and downloads from raw.githubusercontent.com/releases/... in _shared/preflight.md) and uses that data to decide whether to download and execute installer scripts, so untrusted third-party content is read and can directly change tool behavior.
MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).
- Potentially malicious external URL detected (high risk: 0.90). The skill's preflight explicitly fetches and executes remote installer code at runtime (e.g., curl -sSL "https://raw.githubusercontent.com/okx/onchainos-skills/${LATEST_TAG}/install.sh" followed by sh /tmp/onchainos-install.sh) and also queries "https://api.github.com/repos/okx/onchainos-skills/releases/latest" and related GitHub release URLs to drive that install, so remote content is fetched at runtime and executed as a required dependency.
MEDIUM W009: Direct money access capability detected (payment gateways, crypto, banking).
- Direct money access detected (high risk: 1.00). The skill is explicitly and primarily a crypto trading/execution tool. It provides commands to "swap tokens", "buy/sell", and—critically—an
onchainos swap executecommand that performs quote → approve (if needed) → swap → sign & broadcast and returns tx hashes. It also supports wallet login/selection, ERC-20 approvals, MEV-protection flags, automated (silent) execution with required authorization, and direct interaction with DEX aggregator APIs. These are specific mechanisms to move funds on-chain (crypto wallet transactions and broadcasts), not generic tooling.
Issues (3)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
W012
MEDIUMUnverifiable external dependency detected (runtime URL that controls agent).
W009
MEDIUMDirect money access capability detected (payment gateways, crypto, banking).
Audit Metadata