DC a2a-shib-payments
Framework-agnostic agent-to-agent payment system with SHIB on Polygon. Provides trustless escrow, price negotiation, and reputation system. 9,416x cheaper than traditional escrow (~$0.003 gas).
Framework-agnostic agent-to-agent payment system with SHIB on Polygon.
As a process C 51/100 · Has gaps — weak spots: result and completion, when it triggers, inputs and preconditions
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.
- 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 · 22
-
high Dangerous commands
cmd-persistenceDEPLOYMENT.md:401Persistence mechanism (cron / launchd / scheduled task / autorun registry)(crontab -l 2>/dev/null; echo "0 * * * * cd $(pwd) && ./backup.sh") | crontab -
Medium and low: 21
-
medium Dangerous commands
cmd-privilegedeploy-local.sh:26Privilege escalation / world-writable permissionssudo cp shib-payment-agent.service /etc/systemd/system/
-
medium Dangerous commands
cmd-privilegeDEPLOYMENT.md:391Privilege escalation / world-writable permissionssudo cp shib-payment-agent.service /etc/systemd/system/
-
medium Dangerous commands
cmd-privilegeDEPLOYMENT.md:460Privilege escalation / world-writable permissionssudo cp shib-payment-agent.service /etc/systemd/system/
-
medium Risky intent
intent-wallet-secretsSKILL.md:97Handles crypto-wallet secrets (seed / mnemonic / private key) — a classic stealer target- `WALLET_PRIVATE_KEY` - Your Polygon wallet private key
-
low Secrets in code
secret-high-entropy-tokena2a-agent-production.js:186High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)`🦪 SHIB Payment Agent (Production)\n\nCommands:\n- send <amount> SHIB to <address>\n- balance\n\n🔒 Security:\n- API key required (X-API-Key header)\n- Rate limit: 3 payments/min\n- Max payment: Chec
quoted -
low Secrets in code
secret-high-entropy-tokena2a-agent-v2.js:109High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)`🦪 SHIB Payment Agent\n\nCommands:\n- send <amount> SHIB to <address>\n- balance\n\nExample: send 100 SHIB to 0xDB…99A`
quoted -
low Secrets in code
secret-high-entropy-tokencheck_balance_temp.js:5High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)const address = '0xDB…99A';
quoted -
low Exfiltration
read-dotenvCONTRIBUTING.md:64Reads a .env filecp .env.example .env.local
-
low Secrets in code
secret-high-entropy-tokendemo-requestor-agent.js:75High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)'0xDB…99A', // Coinbase Polygon wallet
quoted -
low Dangerous commands
cmd-background-processdeploy-local.sh:33Starts a background / autostarted processsudo systemctl enable shib-payment-agent
-
low Dangerous commands
cmd-background-processDEPLOYMENT.md:110Starts a background / autostarted processsudo systemctl enable shib-payment-agent
-
low Exfiltration
read-dotenvDEPLOYMENT.md:193Reads a .env filecp .env.example .env.local
-
low Dangerous commands
cmd-background-processDEPLOYMENT.md:393Starts a background / autostarted processsudo systemctl enable shib-payment-agent
-
low Dangerous commands
cmd-cron-mentionDEPLOYMENT.md:401Mentions editing / listing crontab(crontab -l 2>/dev/null; echo "0 * * * * cd $(pwd) && ./backup.sh") | crontab -
-
low Dangerous commands
cmd-background-processDEPLOYMENT.md:461Starts a background / autostarted processsudo systemctl enable shib-payment-agent
-
low Exfiltration
read-dotenvINTEGRATION-EXAMPLES.md:275Reads a .env file (test fixture / example file)cp .env.example .env.local
fixture -
low Secrets in code
secret-high-entropy-tokenPRODUCTION-HARDENING.md:94High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"recipient": "0xDB…99A",
quoted -
low Exfiltration
read-dotenvREADME.md:114Reads a .env filecp .env.example .env.local
-
low Exfiltration
read-dotenvSKILL.md:92Reads a .env filecp .env.example .env.local
-
low Secrets in code
secret-high-entropy-tokenSUCCESS.md:37High-entropy token-like string (may be an id, hash or a credential)- **From:** 0x26…7C5 (MetaMask)
-
low Secrets in code
secret-high-entropy-tokenSUCCESS.md:38High-entropy token-like string (may be an id, hash or a credential)- **To:** 0xDB…99A (Coinbase)
Files scanned: 43. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- warning
description-no-whendescription does not say WHEN to use the skill (no "use when")
Process rating: all ten parameters 51/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
- 30Running it twice. 16 mutating operations with no state check
- 100Tools and files. No external tools needed
- 100Steps. 80 steps
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 1765 tokens
- medium Safety rules and hard prohibitions inside a skill: they belong in the system prompt, here they protect nothing
- low 15 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
- -2localhost URLs: will not work for another user
- -217 emoji in the instructions: noise for the model
- +1No license
- +2Single-language instructions
- +3Description length 193: enough signal without eating the budget
- +4Structure: 30 headings
- +3Step-by-step instructions: 80 items
- +4Has examples (8 code blocks)
Quality base 70; lint remarks subtract, signals add up to 100. Result: 68.