CC x402-agent
Detect and pay x402 crypto paywalls automatically. When your agent gets a 402 Payment Required response with x402 JSON, this skill handles payment via Coinbase facilitator on Base network with USDC. Use when agent hits paid APIs, premium content, or any x402-enabled endpoint.
As a process C 51/100 · Has gaps — 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
- 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 · 28
✓ No critical or high findings
Medium and low: 28
-
medium Risky intent
intent-wallet-secretspackages/agent/README.md:50Handles crypto-wallet secrets (seed / mnemonic / private key) — a classic stealer target| `walletPrivateKey` | `Hex` | Yes | Wallet private key (`0x...`) with USDC balance |
-
low Secrets in code
secret-high-entropy-tokenannouncements/community-post.md:58High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)allowedAssets: ["0x83…913"],
quoted -
low Secrets in code
secret-high-entropy-tokendemo/agent.ts:29High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)const USDC_BASE_SEPOLIA = "0x03…F7e";
quoted -
low Secrets in code
secret-high-entropy-tokendocs/PRD.md:234High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- Tara's existing Base wallet (0x5b…499) — receives USDC directly
quoted -
low Secrets in code
secret-high-entropy-tokendocs/PRD.md:496High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- Tara's wallet (0x5b…499) as recipient
quoted -
low Secrets in code
secret-high-entropy-tokenpackage-lock.json:76High-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:134High-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:241High-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:291High-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:473High-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-tokenpackages/agent/README.md:25High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)allowedAssets: ["0x83…913"], // USDC on Base
quoted -
low Secrets in code
secret-high-entropy-tokenpackages/agent/README.md:68High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)allowedAssets: ["0x03…F7e"], // USDC on Base Sepolia
quoted -
low Secrets in code
secret-high-entropy-tokenpackages/agent/src/__tests__/interceptor.test.ts:18High-entropy token-like string (may be an id, hash or a credential) (test fixture / example file; quoted — discussed, not commanded)const USDC_ADDRESS = "0x03…F7e";
fixturequoted -
low Secrets in code
secret-high-entropy-tokenpackages/agent/src/__tests__/interceptor.test.ts:19High-entropy token-like string (may be an id, hash or a credential) (test fixture / example file; quoted — discussed, not commanded)const PAYTO = "0x70…9C8" as const;
fixturequoted -
low Secrets in code
secret-high-entropy-tokenpackages/shared/README.md:23High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)allowedAssets: ["0x83…913"], // USDC on Base
quoted -
low Secrets in code
secret-high-entropy-tokenREADME.md:27High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)allowedAssets: ["0x83…913"],
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/agent-setup.example.ts:29High-entropy token-like string (may be an id, hash or a credential) (test fixture / example file; quoted — discussed, not commanded)"0x83…913", // USDC on Base
fixturequoted -
low Secrets in code
secret-high-entropy-tokenreferences/policy.example.json:8High-entropy token-like string (may be an id, hash or a credential) (test fixture / example file; quoted — discussed, not commanded)"allowedAssets": ["0x83…913"],
fixturequoted -
low Secrets in code
secret-high-entropy-tokenSKILL.md:54High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)allowedAssets: ["0x83…913"], // USDC on Base
quoted -
low Secrets in code
secret-high-entropy-tokenSKILL.md:109High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| Base (mainnet) | `eip155:8453` | `0x83…913` |
table -
low Secrets in code
secret-high-entropy-tokenSKILL.md:110High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| Base Sepolia (testnet) | `eip1…532` | `0x03…F7e` |
table -
low Secrets in code
secret-high-entropy-tokenSKILL.md:140High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)allowedAssets: ["0x83…913"],
quoted -
low Secrets in code
secret-high-entropy-tokenSKILL.md:159High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)allowedAssets: ["0x83…913"],
quoted -
low Secrets in code
secret-high-entropy-tokentaraquinn-integration/product.json:14High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"recipient": "0x5b…499"
quoted -
low Secrets in code
secret-high-entropy-tokentaraquinn-integration/SELF-INTEGRATION.md:85High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)recipient: "0x5b…499", // Tara's wallet
quoted -
low Secrets in code
secret-high-entropy-tokentaraquinn-integration/SELF-INTEGRATION.md:147High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)3. Ensure Tara's wallet is set as recipient: `0x5b…499`
quoted -
low Secrets in code
secret-high-entropy-tokentaraquinn-integration/usdc-paywall.ts:10High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)* X402…ESS — Tara's wallet (0x5b…499)
quoted -
low Secrets in code
secret-high-entropy-tokentaraquinn-integration/usdc-paywall.ts:54High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)recipient: "0x5b…499", // Tara's wallet
quoted
Files scanned: 61. 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 51/100
- 0Result and completion. Does not say what the result is
- 0Inputs and preconditions. Does not say what the process needs to start
- 20When it triggers. No condition that starts the skill
- 30Running it twice. 1 mutating operations with no state check
- 40Consistency. Frontmatter name (x402-agent) differs from the folder (x402-paywall-kit)
- 60Tools and files. Uses tools (web) that frontmatter does not declare
- 100Steps. 18 steps
- 100Failures and branches. 2 branches, has a failure section
- 100Execution cost. Instruction body is 1651 tokens
- 100Progress reporting. Reports progress
- 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
- -42 reference files, but SKILL.md never points to them: the model will not open them
- +1No license
- +2Single-language instructions
- +3Description length 276: enough signal without eating the budget
- +4Structure: 18 headings
- +3Step-by-step instructions: 18 items
- +4Has examples (9 code blocks)
Quality base 70; lint remarks subtract, signals add up to 100. Result: 79.