SKILLEMALL.ai

BC gate-dex-trade

Gate DEX swap EXECUTION skill. For on-chain token exchange transactions that MODIFY blockchain state: swap, buy, sell, exchange, convert tokens, cross-chain bridge. Every operation here results in an on-chain transaction requiring signing. This skill EXECUTES trades — it does not provide read-only data lookups or manage wallet accounts.

ClawHub Agent Skills author: Gate v1.0.3 MIT-0 20 files · 1 script body ≈ 1 395 tokens Open the sourceclawhub.ai analyzed 4 d ago

As a process C 61/100 · Has gaps — weak spots: result and completion, inputs and preconditions, progress reporting

GeneratorInfrastructuretype and topics are labelled automatically from the skill text
JSON
Technical rating
B
76/100
safety, quality, tests
Safety 60%
79
Quality 40%
72
Run on models
none yet
Process rating
C
61/100
Has gaps
Result and completion w 14
0
Inputs and preconditions w 11
0
Progress reporting w 2
0
the three weakest of ten parameters · all ten

What is at stake

Medium-severity findings: the skill is probably honest, but read what alarmed the scanner.

Risky intent medium severity

Below is the worst case for this category. The finding here is medium: the guard saw a sign, not a proof.

If you install

The purpose itself is risky: wallets, browser password stores, offensive security. Even an honest implementation gives the agent access to things that cost money.

For the author

Explain in the description why the access is needed and how it is limited; add tests that show refusals on dangerous requests.

How to improve

  1. Say in the description WHEN to use the skill ("use when…", example requests): that is the agent's main cue.
For the model run — optional
  • Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
  • A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.

Guard findings · 17

✓ No critical or high findings

Medium and low: 17
  • medium Risky intent intent-wallet-secrets references/openapi.md:1032
    Handles crypto-wallet secrets (seed / mnemonic / private key) — a classic stealer target
    2. **Ask user to provide file path**: Like keystore file, `PRIVATE_KEY` variable in .env file
  • low Secrets in code secret-high-entropy-token references/mcp.md:133
    High-entropy token-like string (may be an id, hash or a credential) (placeholder value)
    "SOL": "5xAb…f12"
    placeholder
  • low Secrets in code secret-high-entropy-token references/mcp.md:211
    High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)
    token_in: "0xdA…ec7",
    quoted
  • low Risky intent intent-offensive-security references/mcp.md:304
    Offensive-security / dual-use content (legitimate for authorised testing; review intended use)
    Staged swap splits execution into quote, prepare, check-in preview, local `tx-checkin` binary, sign, and submit. This avoids server-side hidden check-in logic and keeps Solana signable payload generat
  • low Secrets in code secret-high-entropy-token references/openapi.md:273
    High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)
    {"action":"trade.swap.quote","params":{"chain_id":501,"token_in":"-","token_out":"EPjF…t1v","amount_in":"0.001","slippage":0.05,"slippage_type":1,"user_wallet":"2yc
    quoted
  • low Secrets in code secret-high-entropy-token references/openapi.md:293
    High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)
    "token_contract_address": "So11…112",
    quoted
  • low Secrets in code secret-high-entropy-token references/openapi.md:301
    High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)
    "token_contract_address": "EPjF…t1v",
    quoted
  • low Secrets in code secret-high-entropy-token references/openapi.md:370
    High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)
    {"action":"trade.swap.approve_transaction","params":{"user_wallet":"0xBb…af8","approve_amount":"0.001","quote_id":"6e7b…eee"}}
    quoted
  • low Secrets in code secret-high-entropy-token references/openapi.md:381
    High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)
    "approve_address": "0x45…4E8",
    quoted
  • low Secrets in code secret-high-entropy-token references/openapi/_shared.md:57
    High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)
    python3 gate-dex-trade/scripts/gate-api-call.py "trade.swap.quote" '{"chain_id":1,"token_in":"-","token_out":"0xdA…ec7","amount_in":"0.1","slippage":0.03,"slippage_ty
    quoted
  • low Secrets in code secret-high-entropy-token references/openapi/build.md:22
    High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)
    "0xdA…ec7" \
    quoted
  • low Secrets in code secret-high-entropy-token references/openapi/quote.md:27
    High-entropy token-like string (may be an id, hash or a credential)
    | USDT | 0xdA…ec7 | 0x55…955 | 0xFd…bb9 | — | Es9v…NYB |
  • low Secrets in code secret-high-entropy-token references/openapi/quote.md:28
    High-entropy token-like string (may be an id, hash or a credential)
    | USDC | 0xA0…B48 | 0x8A…80d | 0xaf…831 | 0x83…913 | EPjFWdd5Auf
  • low Secrets in code secret-high-entropy-token references/openapi/quote.md:29
    High-entropy token-like string (may be an id, hash or a credential)
    | WETH | 0xC0…Cc2 | — | 0x82…ab1 | 0x42…006 | — |
  • low Secrets in code secret-high-entropy-token references/openapi/quote.md:30
    High-entropy token-like string (may be an id, hash or a credential)
    | WBTC | 0x22…599 | — | — | — | — |
  • low Secrets in code secret-high-entropy-token references/openapi/quote.md:31
    High-entropy token-like string (may be an id, hash or a credential)
    | DAI | 0x6B…d0F | — | — | — | — |
  • low Secrets in code secret-high-entropy-token scripts/check-allowance.py:10
    High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)
    python3 check-allowance.py "https://eth.llamarpc.com" "0xdA…ec7" \
    quoted

Files scanned: 20. Evidence is masked. Grey chips explain why severity was lowered.

Against the Agent Skills spec

  • warning description-no-when description does not say WHEN to use the skill (no "use when")
  • note frontmatter-key unknown frontmatter key "updated"

Process rating: all ten parameters 61/100

  • 0Result and completion. Does not say what the result is
  • 0Inputs and preconditions. Does not say what the process needs to start
  • 0Progress reporting. Says nothing while it works
  • 50Failures and branches. 0 branches, has a failure section
  • 60Tools and files. Uses tools (web) that frontmatter does not declare
  • 100Steps. 18 steps
  • 100When it triggers. States when to use and when not to
  • 100Consistency. Name and required fields are in place
  • 100Execution cost. Instruction body is 1395 tokens
  • 100Running it twice. No mutating operations
  • medium Safety rules and hard prohibitions inside a skill: they belong in the system prompt, here they protect nothing

Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.

Quality signals

  • +5Description has no quoted example phrases that should trigger the skill
  • +4Description does not say when NOT to use the skill (false activations)
  • +3Output format is not stated: the model decides each time
  • -34 of 4 scripts are never mentioned in SKILL.md
  • +1No license
  • +2Single-language instructions
  • +3Description length 338: enough signal without eating the budget
  • +4Structure: 10 headings
  • +3Step-by-step instructions: 18 items
  • +4Has examples (1 code blocks)
  • +4Reference files are cited in the instructions (3 of 3)

Quality base 70; lint remarks subtract, signals add up to 100. Result: 72.

External checks

ClawHub: suspicious
This appears to be a real Gate DEX trading skill, but it needs user review because it handles raw wallet keys, persistent credentials, and trading-tool configuration in ways that are broader than its stated scope.
LLM: suspicious (high) · VirusTotal: · 29 May 2026