DC agent-swarm
Decentralized agent-to-agent task protocol on XMTP. Discover agents via bulletin boards, post tasks, bid on work, lock payments in escrow, get paid in USDC on Base. No coordinator, no middlemen. Use when: (1) your agent needs to hire other agents for subtasks, (2) your agent wants to find and complete paid work, (3) you need decentralized agent coordination with on-chain payments.
As a process C 56/100 · Has gaps — weak spots: result and completion, when it triggers, consistency
What is at stake
The skill contains fragments that, in the wrong hands, cost money or data. Below: what the installer risks and what the author should do.
The skill contains commands that delete files, rewrite disks or execute code fetched from the network. The agent may run them without asking if it believes the instructions require it.
Replace destructive commands with safe equivalents that ask for confirmation, scope them to one folder, and stop piping curl into a shell: pin a version and a checksum.
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
- Address the high-severity findings: each costs 18 safety points. If one is a false positive, add the rule id to guard.allow in spec.yaml.
- 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 · 59
-
high Dangerous commands
cmd-destructive-fsCHANGELOG-v3.md:8Destructive filesystem command (wipes root/home/drive) (detector / deny-list definition)- **Before:** Task titles/descriptions from untrusted XMTP messages were interpolated into shell command strings via `execSync`. A malicious task like `'; rm -rf / #` could execute arbitrary commands
detector
Medium and low: 58
-
medium Risky intent
intent-wallet-secretssrc/requestor.js:8Handles crypto-wallet secrets (seed / mnemonic / private key) — a classic stealer target* @param {string} privateKey - Wallet private key -
medium Risky intent
intent-wallet-secretssrc/worker.js:7Handles crypto-wallet secrets (seed / mnemonic / private key) — a classic stealer target* @param {string} privateKey - Wallet private key -
low Secrets in code
secret-high-entropy-tokenCLAUDE.md:113High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- **Task…wV3**: `0x73…F6f` — milestone escrow
quoted -
low Secrets in code
secret-high-entropy-tokenCLAUDE.md:114High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- **WorkerStake**: `0x91…488` — quality staking
quoted -
low Secrets in code
secret-high-entropy-tokenCLAUDE.md:115High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- **Veri…yV2**: `0x22…A74` — deliverable verification
quoted -
low Secrets in code
secret-high-entropy-tokenCLAUDE.md:116High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- **Boar…yV2**: `0xf6…390` — board discovery
quoted -
low Secrets in code
secret-high-entropy-tokenCLAUDE.md:117High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- **Task…wV2**: `0xE2…D2f` — simple escrow (legacy)
quoted -
low Secrets in code
secret-high-entropy-tokencli.js:148High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)address: '0xE2…D2f',
quoted -
low Secrets in code
secret-high-entropy-tokencli.js:155High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)usdc: '0x83…913',
detector -
low Secrets in code
secret-high-entropy-tokencli.js:250High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)const usdc = new ethers.Contract('0x83…913',quoted -
low Secrets in code
secret-high-entropy-tokencli.js:284High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)const usdc = new ethers.Contract(config.network?.usdc || '0x83…913',
quoted -
low Secrets in code
secret-high-entropy-tokencli.js:687High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)const usdcContract = new ethers.Contract(config.network?.usdc || '0x83…913',
quoted -
low Secrets in code
secret-high-entropy-tokenindex.html:303High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)const REGISTRY = '0xf6…390';
quoted -
low Secrets in code
secret-high-entropy-tokenindex.html:304High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)const ESCROW_V2 = '0xE2…D2f';
quoted -
low Secrets in code
secret-high-entropy-tokenindex.html:305High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)const ESCROW_V3 = '0x73…F6f';
quoted -
low Secrets in code
secret-high-entropy-tokenindex.html:306High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)const WORKER_STAKE = '0x91…488';
quoted -
low Secrets in code
secret-high-entropy-tokenindex.html:307High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)const VERI…_V2 = '0x22…A74';
quoted -
low Secrets in code
secret-high-entropy-tokenpackage-lock.json:70High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)"integrity": "sha5…Pf5+a+JZjKA/EnKq…lsA==",
detector -
low Secrets in code
secret-high-entropy-tokenpackage-lock.json:128High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)"integrity": "sha5…veK+Tjpv…xi0+hvAM…m4Q==",
detector -
low Secrets in code
secret-high-entropy-tokenpackage-lock.json:235High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)"integrity": "sha5…HYA+uKKC/nxRG…3N6+v7bk1W/rSxYuhNmt+FN8a…Co1+E7A==",
detector -
low Secrets in code
secret-high-entropy-tokenpackage-lock.json:285High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)"integrity": "sha5…VFO+UAmK8qi3Iu0/GRFY…SQH/EacQ+yGqS…LCw==",
detector -
low Secrets in code
secret-high-entropy-tokenpackage-lock.json:467High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)"integrity": "sha5…LPP+pyAc2z84/7r3U…wzA==",
detector -
low Secrets in code
secret-high-entropy-tokenprotocol.md:267High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- USDC on Base (address: `0x83…913`)
quoted -
low Secrets in code
secret-high-entropy-tokenPROTOCOL.md:170High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- USDC on Base (address: `0x83…913`)
quoted -
low Secrets in code
secret-high-entropy-tokenregistry.js:4High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)const REGISTRY_ADDRESS = '0xf6…390'; // V2
quoted -
low Secrets in code
secret-high-entropy-tokenscripts/board-watcher.js:27High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)const REGISTRY = '0xf6…390';
detector -
low Secrets in code
secret-high-entropy-tokenscripts/demo-clean.sh:63High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)--worker "0x2b…8Ec" \
quoted -
low Secrets in code
secret-high-entropy-tokenscripts/demo-full.sh:65High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)--worker "0x2b…8Ec" \
quoted -
low Secrets in code
secret-high-entropy-tokenscripts/demo-requestor.sh:45High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)echo " \$ node cli.js listing accept --task-id $TASK_ID --worker 0x2b…8Ec --amount 1.00"
quoted -
low Secrets in code
secret-high-entropy-tokenscripts/demo-requestor.sh:50High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)--worker "0x2b…8Ec" \
quoted -
low Secrets in code
secret-high-entropy-tokenscripts/deploy-v2.js:6High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)const USDC = '0x83…913';
detector -
low Exfiltration
read-dotenvscripts/full-demo.js:359Reads a .env file (quoted — discussed, not commanded)║ 2. cp .env.example .env ║
quoted -
low Secrets in code
secret-high-entropy-tokenscripts/live-demo.js:18High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)const USDC_ADDRESS = '0x83…913';
quoted -
low Secrets in code
secret-high-entropy-tokenscripts/transfer-usdc.js:9High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)const usdc = new ethers.Contract('0x83…913', [quoted -
low Secrets in code
secret-high-entropy-tokenskill.md:142High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| Task…wV3 | `0x73…F6f` | Milestone escrow (up to 20 phases) |
table -
low Secrets in code
secret-high-entropy-tokenskill.md:143High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| WorkerStake | `0x91…488` | Quality staking |
table -
low Secrets in code
secret-high-entropy-tokenskill.md:144High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| Veri…yV2 | `0x22…A74` | Deliverable verification |
table -
low Secrets in code
secret-high-entropy-tokenskill.md:145High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| Boar…yV2 | `0xf6…390` | Board discovery |
table -
low Secrets in code
secret-high-entropy-tokenskill.md:146High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| Task…wV2 | `0xE2…D2f` | Simple escrow (legacy) |
table -
low Secrets in code
secret-high-entropy-tokenSKILL.md:192High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)All escrow operations use the Task…wV2 contract on Base (`0xE2…D2f`).
quoted -
low Secrets in code
secret-high-entropy-tokenSKILL.md:255High-entropy token-like string (may be an id, hash or a credential)│ 0xE2…D2f │
-
low Secrets in code
secret-high-entropy-tokenSKILL.md:304High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- Boar…V2: `0xf6…390` ([BaseScan](https://basescan.org/address/0xf6…390))
quoted -
low Secrets in code
secret-high-entropy-tokenSKILL.md:305High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)- Task…V2: `0xE2…D2f` ([BaseScan](https://basescan.org/address/0xE2…D2f))
detector -
low Secrets in code
secret-high-entropy-tokensrc/escrow.js:27High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)const DEFAULT_ESCROW_ADDRESS = '0xE2…D2f';
quoted -
low Secrets in code
secret-high-entropy-tokensrc/milestone-escrow.js:26High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)let DEFAULT_MILESTONE_ESCROW = process.env.MILESTONE_ESCROW_ADDRESS || '0x73…F6f';
quoted -
low Secrets in code
secret-high-entropy-tokensrc/registry.js:4High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)const REGISTRY_ADDRESS = '0xf6…390'; // V2
quoted -
low Secrets in code
secret-high-entropy-tokensrc/staking.js:26High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)let DEFAULT_STAKE_ADDRESS = process.env.WORKER_STAKE_ADDRESS || '0x91…488';
quoted -
low Secrets in code
secret-high-entropy-tokensrc/verification.js:23High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)const DEFAULT_REGISTRY = '0x22…A74';
quoted -
low Secrets in code
secret-high-entropy-tokensrc/wallet-guard.js:31High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)'Task…wV2': '0xE2…D2f',
quoted -
low Secrets in code
secret-high-entropy-tokensrc/wallet-guard.js:32High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)'Task…wV3': '0x73…F6f',
quoted -
low Secrets in code
secret-high-entropy-tokensrc/wallet-guard.js:33High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)'WorkerStake': '0x91…488',
quoted -
low Secrets in code
secret-high-entropy-tokensrc/wallet-guard.js:34High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)'Veri…yV2': '0x22…A74',
quoted -
low Secrets in code
secret-high-entropy-tokensrc/wallet-guard.js:35High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)'Boar…yV2': '0xf6…390',
quoted -
low Secrets in code
secret-high-entropy-tokensrc/wallet.js:5High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)const USDC_ADDRESS = process.env.USDC_ADDRESS || '0x83…913';
detector -
low Secrets in code
secret-high-entropy-tokensrc/wallet.js:7High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)const SWAP_ROUTER = '0x26…481'; // Uniswap V3 on Base
quoted -
low Secrets in code
secret-high-entropy-tokensrc/wallet.js:86High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)const QUOTER_ADDRESS = '0x3d…76a'; // Uniswap V3 Quoter on Base
quoted -
low Secrets in code
secret-high-entropy-tokenswarm.config.example.json:22High-entropy token-like string (may be an id, hash or a credential) (test fixture / example file; quoted — discussed, not commanded)"address": "0xE2…D2f",
fixturequoted -
low Secrets in code
secret-high-entropy-tokenswarm.config.example.json:31High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition; test fixture / example file)"usdc": "0x83…913"
detectorfixture
Files scanned: 49. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- note
frontmatter-keyunknown frontmatter key "homepage"
Process rating: all ten parameters 56/100
- 0Result and completion. Does not say what the result is
- 0Progress reporting. Says nothing while it works
- 20When it triggers. No condition that starts the skill
- 30Running it twice. 11 mutating operations with no state check
- 40Consistency. Frontmatter name (agent-swarm) differs from the folder (xmtp-agent-swarm)
- 60Tools and files. Uses tools (bash, web, git, node) that frontmatter does not declare
- 70Inputs and preconditions. Inputs and preconditions are listed
- 100Steps. 66 steps
- 100Failures and branches. 2 branches, has a failure section
- 100Execution cost. Instruction body is 3053 tokens
- medium Safety rules and hard prohibitions inside a skill: they belong in the system prompt, here they protect nothing
- low 12 top-level sections: this looks like several domains in one skill
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
- -318 of 18 scripts are never mentioned in SKILL.md
- +1No license
- +2Single-language instructions
- +3Description length 383: enough signal without eating the budget
- +4Structure: 29 headings
- +3Step-by-step instructions: 66 items
- +4Has examples (21 code blocks)
Quality base 70; lint remarks subtract, signals add up to 100. Result: 80.