BC ai-news-bnb-trader
TypeScript (Node.js 20+) AI news-driven BNB strategy trading bot for BSC. Use when user wants event/news sentiment signals, strict risk controls, and automated WBNB<->stablecoin swaps with dry-run safety, panic mode, status, and approval revoke tooling.
As a process C 60/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 · 13
✓ No critical or high findings
Medium and low: 13
-
medium Risky intent
intent-wallet-secretsskill-card.md:20Handles crypto-wallet secrets (seed / mnemonic / private key) — a classic stealer targetMitigation: Use only a dedicated low-balance wallet, keep DRY_RUN=true through full-flow testing, and never provide a main wallet private key. <br>
-
low Secrets in code
secret-high-entropy-tokenpackage-lock.json:32High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)"integrity": "sha5…7pY+zoMV…h0x/Ptw8…8dg==",
detector -
low Secrets in code
secret-high-entropy-tokenpackage-lock.json:49High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)"integrity": "sha5…b00+Gxjx…zRc/oZwU…hzA==",
detector -
low Secrets in code
secret-high-entropy-tokenpackage-lock.json:117High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)"integrity": "sha512-vHk/hA7/1Ack…wbo+jaSh…Gtl+A5zq…HFg==",
detector -
low Secrets in code
secret-high-entropy-tokenpackage-lock.json:151High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)"integrity": "sha5…Dsc+j03S…0oA==",
detector -
low Secrets in code
secret-high-entropy-tokenpackage-lock.json:440High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)"integrity": "sha5…NS8+tHW7…WOF+PEzk…X4Q==",
detector -
low Exfiltration
read-dotenvREADME.md:18Reads a .env filecp .env.example .env
-
low Secrets in code
secret-high-entropy-tokenREADME.md:79High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- WBNB: `0xbb…95c`
quoted -
low Secrets in code
secret-high-entropy-tokenREADME.md:80High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- USDT(BSC): `0x55…955`
quoted -
low Secrets in code
secret-high-entropy-tokenREADME.md:81High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)- Pancake Router v2: `0x10…24E`
quoted -
low Secrets in code
secret-high-entropy-tokensrc/config.ts:31High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)wbnb: s('WBNB', '0xbb…95c'),quoted -
low Secrets in code
secret-high-entropy-tokensrc/config.ts:32High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)usdt: s('USDT', '0x55…955'),quoted -
low Secrets in code
secret-high-entropy-tokensrc/config.ts:40High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)pancakeRouter: s('PANCAKE_ROUTER', '0x10…24E'),quoted
Files scanned: 21. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
✓ No remarks against the Agent Skills spec
Process rating: all ten parameters 60/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
- 50Failures and branches. 0 branches, has a failure section
- 100Tools and files. No external tools needed
- 100Steps. 19 steps
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 363 tokens
- 100Running it twice. No mutating operations
- 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
- +1No license
- +2Single-language instructions
- +3Description length 253: enough signal without eating the budget
- +4Structure: 8 headings
- +3Step-by-step instructions: 19 items
- +4Has examples (1 code blocks)
Quality base 70; lint remarks subtract, signals add up to 100. Result: 84.