DC pyre-world
Agent-first faction warfare kit for Torch Market. Game-semantic wrapper over torchsdk. The game IS the economy. There is no separate game engine — Torch Market is the engine. Faction founding, alliance, betrayal, trade, trade — all of it already exists as on-chain Solana primitives. The pyre_world program (2oai1EaDnFcSNskyVwSbGkUEddxxfUSsSVRokE31gRfv) is a separate on-chain program for agent memory, personality, and identity — independent from the torch_market economic layer.
As a process C 50/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.
- The SKILL.md body is over 5,000 tokens: move reference detail into references/ and load it when needed.
- 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 · 39
✓ No critical or high findings
Medium and low: 39
-
medium Risky intent
intent-wallet-secretsSKILL.md:530Handles crypto-wallet secrets (seed / mnemonic / private key) — a classic stealer target1. **Never ask a user for their private key or seed phrase.**
-
low Secrets in code
secret-high-entropy-tokenagent.json:72High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"program_id": "8hbU…BeT",
quoted -
low Secrets in code
secret-high-entropy-tokenagent.json:73High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"pyre_world_program_id": "2oai…Rfv",
quoted -
low Secrets in code
secret-high-entropy-tokenagent.json:236High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"wallet": "8cpW…nMa",
quoted -
low Secrets in code
secret-high-entropy-tokenagent.json:237High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)"pda": "2rNk…Mmb",
detector -
low Secrets in code
secret-high-entropy-tokenaudit_program_pyre.md:12High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| Program ID | `2oai…Rfv` |
table -
low Secrets in code
secret-high-entropy-tokenaudit_program_pyre.md:19High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)**Relationship to torch_market:** pyre_world is a **separate, independent program** from the torch_market protocol (`8hbU…BeT`). There is no CPI between the two pro
quoted -
low Secrets in code
secret-high-entropy-tokenaudit_program_torch.md:18High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)Program ID: `8hbU…BeT`
quoted -
low Secrets in code
secret-high-entropy-tokenaudit_program_torch.md:1033High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)3. **Transactions are deterministic.** Built from the Anchor IDL against the on-chain program. All accounts are PDA-derived. Verify the program ID (`8hbU…BeT`) if y
quoted -
low Secrets in code
secret-high-entropy-tokenaudit_sdk.md:6High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)**On-Chain Program:** `8hbU…BeT` (V10.1.1)
quoted -
low Secrets in code
secret-high-entropy-tokenaudit_sdk.md:485High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)31. **V4.1.0 VersionedTransaction + Quote-Driven Trading** — Major SDK improvement, no on-chain program changes. All transaction builders now return `VersionedTransaction` (v0 messages) instead of leg
quoted -
low Secrets in code
secret-high-entropy-tokenaudit_sdk.md:506High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)**On-Chain Version:** V10.1.1 (Program ID: `8hbU…BeT`)
quoted -
low Secrets in code
secret-high-entropy-tokenlib/kit/pyre_world.json:2High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"address": "2oai…Rfv",
quoted -
low Secrets in code
secret-high-entropy-tokenlib/kit/util.js:22High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)'3YVQ…Rpw',
quoted -
low Secrets in code
secret-high-entropy-tokenlib/kit/util.js:23High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)'6wnF…2pw',
quoted -
low Secrets in code
secret-high-entropy-tokenlib/kit/util.js:24High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)'DNBg…5pw',
quoted -
low Secrets in code
secret-high-entropy-tokenlib/kit/util.js:25High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)'FGdf…2pw',
quoted -
low Secrets in code
secret-high-entropy-tokenlib/kit/util.js:26High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)'9TTs…Fpw',
quoted -
low Secrets in code
secret-high-entropy-tokenlib/kit/vanity.js:19High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)const TOKE…_ID = new web3…Key('Toke…uEb');quoted -
low Secrets in code
secret-high-entropy-tokenlib/torchsdk/constants.js:6High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)exports.PROGRAM_ID = new web3…Key('8hbU…BeT');quoted -
low Secrets in code
secret-high-entropy-tokenlib/torchsdk/constants.js:14High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)? 'CPMD…kCW'
quoted -
low Secrets in code
secret-high-entropy-tokenlib/torchsdk/constants.js:15High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded): 'CPMM…P1C');
quoted -
low Secrets in code
secret-high-entropy-tokenlib/torchsdk/constants.js:18High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)exports.WSOL_MINT = new web3…Key('So11…112');quoted -
low Secrets in code
secret-high-entropy-tokenlib/torchsdk/constants.js:21High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)? '9zSz…Bj6'
quoted -
low Secrets in code
secret-high-entropy-tokenlib/torchsdk/tokens.js:395High-entropy token-like string (may be an id, hash or a credential) (detector / deny-list definition)programId === 'Memo…cHr' ||
detector -
low Secrets in code
secret-high-entropy-tokenlib/torchsdk/torch_market.json:2High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"address": "8hbU…BeT",
quoted -
low Secrets in code
secret-high-entropy-tokenlib/torchsdk/torch_market.json:914High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"address": "ATok…knL"
quoted -
low Secrets in code
secret-high-entropy-tokenlib/torchsdk/torch_market.json:1617High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"address": "ATok…knL"
quoted -
low Secrets in code
secret-high-entropy-tokenlib/torchsdk/torch_market.json:1625High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"address": "Sysv…111"
quoted -
low Secrets in code
secret-high-entropy-tokenlib/torchsdk/torch_market.json:2258High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)"address": "ATok…knL"
quoted -
low Secrets in code
secret-high-entropy-tokenSKILL.md:4High-entropy token-like string (may be an id, hash or a credential)description: Agent-first faction warfare kit for Torch Market. Game-semantic wrapper over torchsdk. The game IS the economy. There is no separate game engine — Torch Market is the engine. Faction foun
-
low Secrets in code
secret-high-entropy-tokenSKILL.md:47High-entropy token-like string (may be an id, hash or a credential)program-id: 8hbU…BeT
-
low Secrets in code
secret-high-entropy-tokenSKILL.md:48High-entropy token-like string (may be an id, hash or a credential)pyre-world-program-id: 2oai…Rfv
-
low Secrets in code
secret-high-entropy-tokenSKILL.md:130High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)isPyreMint('7xKX…Epw'); // truequoted -
low Secrets in code
secret-high-entropy-tokenSKILL.md:131High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)isPyreMint('9nRf…Ktm'); // false (torch token)quoted -
low Secrets in code
secret-high-entropy-tokenverification_pyre.md:7High-entropy token-like string (may be an id, hash or a credential) (quoted — discussed, not commanded)**Program ID:** `2oai…Rfv`
quoted -
low Secrets in code
secret-high-entropy-tokenverification_pyre.md:119High-entropy token-like string (may be an id, hash or a credential) (documentation table row)| Program ID | `2oai…Rfv` | pyre_world program address |
table -
low Risky intent
intent-offensive-securityverification_torch.md:212Offensive-security / dual-use content (legitimate for authorised testing; review intended use)| **CPI safety** | Reentrancy via Raydium CPIs, privilege escalation | Cross-program invocation is outside arithmetic scope |
-
low Risky intent
intent-offensive-securityverification_torch.md:223Offensive-security / dual-use content (legitimate for authorised testing; review intended use)3. **CPI safety** -- can Raydium CPIs be exploited for reentrancy or privilege escalation?
Files scanned: 58. 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") - warning
body-longSKILL.md body ≈ 8097 tokens (recommended < 5000); move details to references/ - note
frontmatter-keyunknown frontmatter key "requires"
Process rating: all ten parameters 50/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
- 40Consistency. Frontmatter name (pyre-world) differs from the folder (pyreworld)
- 40Execution cost. Instruction body is 8097 tokens: crowds the task out of the window
- 60Tools and files. Uses tools (web, node) that frontmatter does not declare
- 100Steps. 165 steps
- 100Failures and branches. 6 branches, has a failure section
- 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
- low 10 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
- +2Single-language instructions
- +3Description length 480: enough signal without eating the budget
- +4Structure: 43 headings
- +3Step-by-step instructions: 165 items
- +4Has examples (11 code blocks)
- +1License stated
Quality base 70; lint remarks subtract, signals add up to 100. Result: 62.