CD ZeroEx Swap Skill
⚠️ SECURITY WARNING: This skill involves real funds. Review all parameters before executing swaps.
⚠️ SECURITY WARNING: This skill involves real funds.
As a process D 49/100 · Unfinished process — weak spots: result and completion, when it triggers, inputs and preconditions
What is at stake
Medium-severity findings: the skill is probably honest, but read what alarmed the scanner.
Below is the worst case for this category. The finding here is medium: the guard saw a sign, not a proof.
The purpose itself is risky: wallets, browser password stores, offensive security. Even an honest implementation gives the agent access to things that cost money.
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
- Say in the description WHEN to use the skill ("use when…", example requests): that is the agent's main cue.
- 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 · 11
✓ No critical or high findings
Medium and low: 11
-
medium Risky intent
intent-wallet-secretsSKILL.md:22Handles crypto-wallet secrets (seed / mnemonic / private key) — a classic stealer target| `PRIVATE_KEY` | Wallet private key (hex, without 0x prefix) | Yes |
-
medium Risky intent
intent-wallet-secretsswap.js:8Handles crypto-wallet secrets (seed / mnemonic / private key) — a classic stealer target* - PRIVATE_KEY: Wallet private key (hex without 0x prefix)
-
low Secrets in code
secret-high-entropy-tokenquote.js:26High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)WETH: '0xC0…Cc2',
quoted -
low Secrets in code
secret-high-entropy-tokenquote.js:27High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)USDC: '0xA0…B48',
quoted -
low Secrets in code
secret-high-entropy-tokenquote.js:28High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)DAI: '0x6B…d0F'
quoted -
low Secrets in code
secret-high-entropy-tokenquote.js:32High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)USDC: '0x83…913',
quoted -
low Secrets in code
secret-high-entropy-tokenquote.js:33High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)DAI: '0x50…0Cb'
quoted -
low Secrets in code
secret-high-entropy-tokenswap.js:26High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)USDC: '0x83…913'
quoted -
low Secrets in code
secret-high-entropy-tokenswap.js:29High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)WETH: '0xC0…Cc2',
quoted -
low Secrets in code
secret-high-entropy-tokenswap.js:30High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)USDC: '0xA0…B48'
quoted -
low Risky intent
intent-wallet-secretsswap.js:173Handles crypto-wallet secrets (seed / mnemonic / private key) — a classic stealer target (detector / deny-list definition)console.log(' PRIVATE_KEY: Your wallet private key');detector
Files scanned: 5. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- warning
name-formatname should be kebab-case (lowercase letters, digits, hyphens) - warning
description-no-whendescription does not say WHEN to use the skill (no "use when")
Process rating: all ten parameters 49/100
- 0Result and completion. Does not say what the result is
- 0Inputs and preconditions. Does not say what the process needs to start
- 0Failures and branches. Linear process with no failure handling
- 0Progress reporting. Says nothing while it works
- 20When it triggers. No condition that starts the skill
- 40Consistency. Frontmatter name (ZeroEx Swap Skill) differs from the folder (zeroex-swap)
- 100Tools and files. No external tools needed
- 100Steps. 7 steps
- 100Execution cost. Instruction body is 676 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)
- +3Description length 98: 120–800 characters recommended
- +3Output format is not stated: the model decides each time
- +1No license
- +2Single-language instructions
- +4Structure: 15 headings
- +3Step-by-step instructions: 7 items
- +4Has examples (10 code blocks)
Quality base 70; lint remarks subtract, signals add up to 100. Result: 64.