xcore@0.10.3
CAUTION· install onlyPublisher claims: "xgames.fun from the command line: bring a web game you already made, check it as xgames.fun hosts it, give it a backend and a Solana economy, and publish it at a link anyone can play." Observed in sandbox: no network, touches nothing outside the project, writes no memory.
Coverage
Bundled scripts ran with no arguments; no agent task scenario for this bundle.- Tested
- 8 of 75 bundled scripts run with no arguments (the rest were not run: per-bundle cap), with decoy credentials in the environment · every file read, file written and host contacted by what ran
- Not tested
- use of the skill by an agent
Is [email protected] safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; bundled scripts ran with no arguments; no agent task scenario for this bundle) on 2026-11-22 and scored it 67/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Access to sensitive file paths; Text pushed off-screen by whitespace; Access to sensitive file paths. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 1 s · 2 scenariosStatic findings
// 2 it fits the hosting: what publish would refuse (index.html at the root, .env files, links, secrets,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.| `{ok, sub, wallet, x, lvl, exp, banned}`: who the player is, from the sign-in token the page sends (no display name: show `x.handle` when they signed in with Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.(server-side rendering, a Node server as the frontend), secrets, .env files, links, files over the limits, paths fromFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.? { ...env, GAMESFUN_SECRET_STORE: 'file' }Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose./loot/v1/rpc the economy's Solana devnet RPC (XSOLANA_RPC_URL in .env, else xgames.fun's relay)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.store === 'file' ? getSecret(secretName(key), { env: { ...env, GAMESFUN_SECRET_STORE: 'file' }, platform }) : null;Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.The file is ${ECONOMY_FILE} (loot.json in a game made before it was named so). Its RPC is XSOLANA_RPC_URL (in .env),Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.`${clean(set.problem, 200)}. Fix XSOLANA_RPC_URL (in .env or the environment), or remove it.`,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* XSOLANA_RPC_URL (.dev.vars, else .env), its origin only (the key is in its path or query). → the step to say, or null.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.… ...route, ...(docs ? [ `The page's documents (gf.db: ${call[signin.engine] ?? 'await gf.db.add("levels", {...})'}, get, put, list, delete) are server/gf-docs.js's, in the same database (table gf_docs), u…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.// publish's own refusals, on exactly what would go up: no index.html, .env files, links, the host's own paths,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.why: 'a .env file: secrets never live in a game folder; move it out of the game',Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.env: { ...env, CI: env.CI ?? '1', NO_COLOR: env.NO_COLOR ?? '1' },Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// 2. the files ./tree.mjs: refuses .env files, links, programs, installers and archives (as xgames.funFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// private keys, cloud and payment keys, .env files and wallet keypairs are refused.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose./** XSOLANA_RPC_URL (or LOOT_RPC_URL) from the environment, else from the workspace's .env (`file`), else null. */Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."the economy is on mainnet, and xgames.fun's relay answers a published game's signed-in players only: set XSOLANA_RPC_URL to a mainnet RPC of your own in the game's .env to run it here";Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* The RPC in use for an economy on `cluster` (devnet unless named): {url, shared, problem, cluster}. `file`: the .env itFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.if (own) return { ...env, XSOLANA_RPC_URL: own };Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// package, so a bare `npx xcore` is only ever said where it finds this one (a project or the kit that has itFix: Pin versions and sources; vendor anything fetched at install time.* xsolana's text as xcore's: its pinned npx forms and its `xsolana <command>` become `xcore loot <command>`, and theFix: Pin versions and sources; vendor anything fetched at install time.return `xgames.fun's shared ${cluster} relay (${rpc.url}; set XSOLANA_RPC_URL in .env to use your own)${rpc.problem ? `: ${rpc.problem}` : ''}`;Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// own name for it; LOOT_RPC_URL, its older name, is read too), from the environment or the workspace's .env: unset, itFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.[/(^|\/)\.env(\.[^/]*)?$/i, 'a .env file (secrets live there, never in a game)'],Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.* server's own command (`npx -y --package=@xgamesfun/solana@… xsolana mcp`, what connect registers in an agent) isFix: Pin versions and sources; vendor anything fetched at install time.…nstall Playwright's Chromium (exit ${r.status}). Install Google Chrome, or run: npx playwright-core install chromium${process.platform === 'linux' ? ' (on Linux it may need: npx p…Fix: Pin versions and sources; vendor anything fetched at install time.// Refused (nothing is sent): a .env file anywhere in the folder, symbolic links (a tree holds ordinary files), and theFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const npx = new RegExp(String.raw`npx -y (?:--package=)?@xgamesfun/solana@[\w.-]+(?: xsolana)? (${COMMANDS})\b`, 'g');Fix: Pin versions and sources; vendor anything fetched at install time.// its words name its own commands (`npx -y @xgamesfun/solana@… approve xsolana.json --keypair …`, `xsolana check`):Fix: Pin versions and sources; vendor anything fetched at install time.* progress) (its own files' upkeep before the files are read), rpcFile (its workspace's .env) and economyPage(dir, env)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.return { ...env, XSOLANA_RPC_URL: rpc.url };Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose."No Chrome or Edge found, and Playwright's Chromium is not installed. Install Google Chrome, or run: npx playwright-core install chromium",Fix: Pin versions and sources; vendor anything fetched at install time.… ] : []), `From the game: ${call[signin.engine] ?? 'await gf.db.add("levels", {...})'}, get, put, list, delete (documents in collections, any JSON up to 64 KB). Each player has…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.…|From C#):/.test(x)), `From the game: ${call[signin.engine] ?? 'await gf.db.add("levels", {...})'}, get, put, list, delete (documents in collections, any JSON up to 64 KB). This game has n…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.// fix it would break or be refused once published: publish's own refusals (secrets, .env files, links,Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// run as the command (npx and npm link start it through a symlink); imported by a test, it only exportsFix: Pin versions and sources; vendor anything fetched at install time.{ file = path.join(env.GAMESFUN_WORK || process.cwd(), '.env'), cluster = 'devnet' } = {},Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.if (/^\.env(\..*)?$/i.test(e.name)) {Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.const rpc = solanaRpc(env, { file: path.join(game, '.env'), cluster: economyCluster(game) });Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.// the kit's own copy of this package, inside the kit's checkout: the kit installs it, so npx finds it thereFix: Pin versions and sources; vendor anything fetched at install time.// same length (an economy's xsolana.json records the ones that put it live, and a server that imports it carries them)Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.review (it never refuses for it).Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.if (/\/_npx\//.test(p)) return 'npx -y @xgamesfun/xcore';Fix: Pin versions and sources; vendor anything fetched at install time.…rson's own machine, after their yes: ${CMD} loot keygen ~/.config/xsolana/<game>.json makes one for a new economy, then ${CMD} loot approve --keypair <that file> (in the folder with ${name}) shows everything it would send, and sends it onl…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.if (/\/node_modules\//.test(p)) return 'npx xcore';Fix: Pin versions and sources; vendor anything fetched at install time.return Response.json(await files.put(q.get('path') ?? '', body, opts));Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.run by others under their own terms and policies, which you must follow. Their availability, fees and rules can changeFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.// installed): run through npx, it is `npx -y @xgamesfun/xcore`; installed globally, `xcore`; in its own checkout,Fix: Pin versions and sources; vendor anything fetched at install time.Cost to the agent
Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.
Known vulnerabilities
Not checked against OSV yet; the weekly check has not reached this version.
What would make this Verified
13 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Unclaimed publisher≈ +8 on the totalClaim xgamesfun: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Touches files outside the project≈ +7 on the totalKeep reads and writes inside the working directory, or declare the exact paths in `filesystem:` and explain why in the README.
- Hidden instructions≈ +6 on the totalRemove HTML comments, zero-width characters and white-on-white text that carry instructions. Everything the agent is meant to read should be visible to the person reading the file.
- Access to sensitive file paths≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- File type combined with upload action≈ +2 on the totalRemove the call, or declare the host in frontmatter and explain in the README what is sent and why.
- npx invocation of non-well-known package≈ +2 on the totalPin versions and sources; vendor anything fetched at install time.