BC solana-connect
OpenClaw Solana Connect — Secure toolkit for AI agents to interact with Solana blockchain. Features private key protection, max limits, dry-run mode, and human confirmation for large transactions.
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
- 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-card.md:23Handles crypto-wallet secrets (seed / mnemonic / private key) — a classic stealer targetMitigation: Do not provide a primary wallet private key to an agent; isolate secrets and review signing paths before deployment. <br>
-
low Secrets in code
secret-high-entropy-tokenpackage-lock.json:99High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)"integrity": "sha5…0ah+lGiA…co6+9GrJ…naQ==",
detector -
low Secrets in code
secret-high-entropy-tokenpackage-lock.json:150High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)"integrity": "sha5…kJw+JUEz…Ry8+JzNy…KLw==",
detector -
low Secrets in code
secret-high-entropy-tokenpackage-lock.json:159High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)"integrity": "sha5…Mvo+5lex…ani+adC5PQ==",
detector -
low Secrets in code
secret-high-entropy-tokenpackage-lock.json:183High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)"integrity": "sha512-c/I8ZRb51j+pYGA…kSk+qT2Ea+OdWElz/OiMf…ihw==",
detector -
low Secrets in code
secret-high-entropy-tokenpackage-lock.json:198High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)"integrity": "sha5…8fQ+wE2m…hIQ==",
detector -
low Secrets in code
secret-high-entropy-tokenscripts/solana.js:114High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded){ programId: new PublicKey('Toke…5DA') }quoted -
low Secrets in code
secret-high-entropy-tokentest.js:52High-entropy token-like string (may be an id, hash or a credential) (test fixture / example file; quoted — discussed, not commanded)const testAddr = 'GeD4…JpH';
fixturequoted -
low Secrets in code
secret-high-entropy-tokentest.js:71High-entropy token-like string (may be an id, hash or a credential) (test fixture / example file; quoted — discussed, not commanded)const testAddr = 'GeD4…JpH';
fixturequoted -
low Secrets in code
secret-high-entropy-tokentest.js:86High-entropy token-like string (may be an id, hash or a credential) (test fixture / example file; quoted — discussed, not commanded)const result = await sendSol(wallet.address, 'GeD4…JpH', 0.001, { dryRun: true });fixturequoted -
low Secrets in code
secret-high-entropy-tokentest.js:105High-entropy token-like string (may be an id, hash or a credential) (test fixture / example file; quoted — discussed, not commanded)await sendSol(wallet.address, 'GeD4…JpH', 100, { dryRun: true });fixturequoted
Files scanned: 7. 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. 3 mutating operations with no state check
- 100Tools and files. No external tools needed
- 100Steps. 9 steps
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 567 tokens
- 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
- +1No license
- +2Single-language instructions
- +3Description length 196: enough signal without eating the budget
- +4Structure: 7 headings
- +3Step-by-step instructions: 9 items
- +4Has examples (3 code blocks)
- +3All 1 scripts are documented
Quality base 70; lint remarks subtract, signals add up to 100. Result: 75.