DB helius-dflow
Build Solana trading applications combining DFlow trading APIs with Helius infrastructure. Covers spot swaps (imperative and declarative), prediction markets, real-time market streaming, Proof KYC, transaction submission via Sender, fee optimization, shred-level streaming via LaserStream, and wallet intelligence.
As a process B 66/100 · Nearly there — weak spots: result and completion
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 instructions or scripts send data out: environment variables, keys, file contents, chat history. You may never notice, because the agent performs the upload as "part of the task".
If the upload is not needed for the task, remove it: catalogs flag such skills and delist them. If it is needed, name the destination explicitly, say what leaves the machine, and give the user a switch.
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 · 34
✓ No critical or high findings
Medium and low: 34
-
medium Exfiltration
net-credential-usereferences/helius-priority-fees.md:30Credential used in a network call (verify the destination is the intended service)const response = await fetch(`https://mainnet.helius-rpc.com/?api-key=… { -
medium Exfiltration
net-credential-usereferences/helius-priority-fees.md:53Credential used in a network call (verify the destination is the intended service)const response = await fetch(`https://mainnet.helius-rpc.com/?api-key=… { -
medium Exfiltration
net-credential-usereferences/helius-wallet-api.md:130Credential used in a network call (verify the destination is the intended service)const identity = await fetch(`${BASE}/v1/wallet/${address}/identity?api-key=${KEY}`).then(r => r.ok ? r.json() : null); -
medium Exfiltration
net-credential-usereferences/helius-wallet-api.md:131Credential used in a network call (verify the destination is the intended service)const funding = await fetch(`${BASE}/v1/wallet/${address}/funded-by?api-key=${KEY}`).then(r => r.ok ? r.json() : null); -
medium Exfiltration
net-credential-usereferences/helius-wallet-api.md:132Credential used in a network call (verify the destination is the intended service)const { data: history } = await fetch(`${BASE}/v1/wallet/${address}/history?api-key=${KEY}&limit=20`).then(r => r.json()); -
medium Exfiltration
net-credential-usereferences/integration-patterns.md:237Credential used in a network call (verify the destination is the intended service)const response = await fetch(`https://mainnet.helius-rpc.com/?api-key=… { -
low Secrets in code
secret-high-entropy-tokenreferences/dflow-prediction-markets.md:33High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)* **Settlement mints**: USDC (`EPjF…t1v`) and CASH (`CASH…ASH`). A market settles in whichever mint its outcome tokens belong to
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/dflow-spot-trading.md:29High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)* SOL (native): `So11…112` (wrapped SOL mint)
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/dflow-spot-trading.md:30High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)* USDC: `EPjF…t1v`
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/dflow-spot-trading.md:31High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)* CASH: `CASH…ASH`
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/helius-das.md:169High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"token_program": "Toke…5DA",
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/helius-das.md:170High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"associated_token_address": "H7iL…ki9",
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/helius-laserstream.md:98High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)accountInclude: ["Toke…5DA"],
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/helius-laserstream.md:159High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"owner": ["Toke…5DA"],
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/helius-laserstream.md:244High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"account_include": ["Toke…5DA"],
quoted -
low Exfiltration
exfil-secret-in-urlreferences/helius-priority-fees.md:30Credential passed in a URL query string (normal for some APIs — verify the host is the intended service) (placeholder value)const response = await fetch(`https://mainnet.helius-rpc.com/?api-key=… {placeholder -
low Secrets in code
secret-high-entropy-tokenreferences/helius-priority-fees.md:38High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)accountKeys: ['JUP6…aV4'],
quoted -
low Exfiltration
exfil-secret-in-urlreferences/helius-priority-fees.md:53Credential passed in a URL query string (normal for some APIs — verify the host is the intended service) (placeholder value)const response = await fetch(`https://mainnet.helius-rpc.com/?api-key=… {placeholder -
low Secrets in code
secret-high-entropy-tokenreferences/helius-priority-fees.md:185High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)accountKeys: ['JUP6…aV4'],
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/helius-priority-fees.md:193High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)account_keys: Some(vec!["JUP6…aV4".to_string()]),
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/helius-sender.md:34High-entropy token-like string (may be an id, hash or a credential)4ACf…DEE
-
low Secrets in code
secret-high-entropy-tokenreferences/helius-sender.md:35High-entropy token-like string (may be an id, hash or a credential)D2L6…7NZ
-
low Secrets in code
secret-high-entropy-tokenreferences/helius-sender.md:36High-entropy token-like string (may be an id, hash or a credential)9bnz…Sta
-
low Secrets in code
secret-high-entropy-tokenreferences/helius-sender.md:37High-entropy token-like string (may be an id, hash or a credential)5VY9…kwn
-
low Secrets in code
secret-high-entropy-tokenreferences/helius-sender.md:38High-entropy token-like string (may be an id, hash or a credential)2nyh…YgD
-
low Secrets in code
secret-high-entropy-tokenreferences/helius-websockets.md:125High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)accountInclude: ['JUP6…aV4'],
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/helius-websockets.md:258High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)'Toke…5DA', // Token Program
quoted -
low Secrets in code
secret-high-entropy-tokenreferences/helius-websockets.md:335High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| Jupiter swaps | `accountInclude` | `JUP6…aV4` |
table -
low Secrets in code
secret-high-entropy-tokenreferences/helius-websockets.md:336High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| Magic Eden NFT sales | `accountInclude` | `M2mx…F7K` |
table -
low Secrets in code
secret-high-entropy-tokenreferences/helius-websockets.md:337High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| Pump AMM data | `accountInclude` | `pAMM…XEA` |
table -
low Exfiltration
exfil-secret-in-urlreferences/integration-patterns.md:237Credential passed in a URL query string (normal for some APIs — verify the host is the intended service) (placeholder value)const response = await fetch(`https://mainnet.helius-rpc.com/?api-key=… {placeholder -
low Secrets in code
secret-high-entropy-tokenreferences/integration-patterns.md:268High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded){ mint: 'So11…112', symbol: 'SOL' },quoted -
low Secrets in code
secret-high-entropy-tokenreferences/integration-patterns.md:269High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded){ mint: 'EPjF…t1v', symbol: 'USDC' },quoted -
low Secrets in code
secret-high-entropy-tokenreferences/integration-patterns.md:376High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)owner: ['Toke…5DA'],
quoted
Files scanned: 15. 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 66/100
- 0Result and completion. Does not say what the result is
- 50When it triggers. No condition that starts the skill
- 60Tools and files. Uses tools (bash, web) that frontmatter does not declare
- 60Failures and branches. 2 branches
- 70Inputs and preconditions. Inputs and preconditions are listed
- 100Steps. 116 steps
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 3903 tokens
- 100Running it twice. Mutating operations check current state
- 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
- +2Single-language instructions
- +3Description length 314: enough signal without eating the budget
- +4Structure: 34 headings
- +3Step-by-step instructions: 116 items
- +4Has examples (3 code blocks)
- +4Reference files are cited in the instructions (12 of 12)
- +1License stated
Quality base 70; lint remarks subtract, signals add up to 100. Result: 77.