Skills/npm/xcore

xcore@0.10.3

CAUTION· install only

Publisher 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.

Registry npm (MCP server)Publisher xgamesfun · publishing for 23 daysInstalls 1,283Last detonated 17 min ago

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 scenarios
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.0sprocessbundled script run in the sandbox with no arguments
0.2sfilesystemread ~/work/package.json · ~/work/node_modules/@xgamesfun/kit/package.json · ~/package.json · ~/node_modules/@xgamesfun/kit/package.json outside project
0.2sprocessexited 1: (Use `node --trace-warnings ...` to show where the warning was created)
0.2sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.3sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.4sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.5sprocessbundled script run in the sandbox with no arguments
0.7sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.8sprocessbundled script run in the sandbox with no arguments · not named in the instructions
1.0sprocessbundled script run in the sandbox with no arguments · not named in the instructions
1.1sprocess8 of 75 bundled scripts run with no arguments (the rest were not run: per-bundle cap)
1.1sprocessscript backend runs setup only
1.1sprocessscript backend runs setup only
1.1sprocessno install scripts to re-run

Static findings

HIGH
Access to sensitive file pathslib/check.mjs:8 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// 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.
AST05
HIGH
Text pushed off-screen by whitespacedocs/SERVER.md:209 · Text pushed off-screen by whitespace| `{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.
AST01
HIGH
Access to sensitive file pathscommands/adopt.mjs:15 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files(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.
AST05
HIGH
Access to sensitive file pathslib/credentials.mjs:27 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files? { ...env, GAMESFUN_SECRET_STORE: 'file' }Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathscommands/dev.mjs:16 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files/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.
AST05
HIGH
Access to sensitive file pathslib/credentials.mjs:89 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesstore === '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.
AST05
HIGH
Access to sensitive file pathscommands/loot.mjs:46 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesThe 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.
AST05
HIGH
Access to sensitive file pathslib/coin.mjs:400 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files`${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.
AST05
HIGH
Access to sensitive file pathslib/add.mjs:460 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files* 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.
AST05
MEDIUM
File type combined with upload actionlib/add.mjs:692 · File type combined with upload action — agent may exfiltrate local data files… ...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.
AST07
HIGH
Access to sensitive file pathslib/publish/adopt.mjs:1289 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// 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.
AST05
HIGH
Access to sensitive file pathslib/publish/tree.mjs:166 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system fileswhy: '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.
AST05
HIGH
Access to sensitive file pathslib/publish/page.mjs:216 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesenv: { ...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.
AST05
HIGH
Access to sensitive file pathslib/publish/index.mjs:6 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// 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.
AST05
HIGH
Access to sensitive file pathslib/publish/scan.mjs:9 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// 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.
AST05
HIGH
Access to sensitive file pathslib/solana-rpc.mjs:67 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files/** 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.
AST05
HIGH
Access to sensitive file pathslib/dev/index.mjs:84 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"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.
AST05
HIGH
Access to sensitive file pathslib/solana-rpc.mjs:81 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files* 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.
AST05
HIGH
Access to sensitive file pathslib/review.mjs:2280 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesif (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.
AST05
MEDIUM
npx invocation of non-well-known packagelib/command.mjs:2 · npx invocation of non-well-known package — may execute untrusted code// 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.
AST06
MEDIUM
npx invocation of non-well-known packagecommands/loot.mjs:192 · npx invocation of non-well-known package — may execute untrusted code* 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.
AST06
HIGH
Access to sensitive file pathslib/solana-rpc.mjs:119 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesreturn `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.
AST05
HIGH
Access to sensitive file pathslib/solana-rpc.mjs:3 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// 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.
AST05
HIGH
Access to sensitive file pathslib/publish/scan.mjs:26 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files[/(^|\/)\.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.
AST05
MEDIUM
npx invocation of non-well-known packagecommands/loot.mjs:194 · npx invocation of non-well-known package — may execute untrusted code* 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.
AST06
MEDIUM
npx invocation of non-well-known packagelib/browser.mjs:122 · npx invocation of non-well-known package — may execute untrusted code…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.
AST06
HIGH
Access to sensitive file pathslib/publish/tree.mjs:12 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// 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.
AST05
MEDIUM
npx invocation of non-well-known packagecommands/loot.mjs:198 · npx invocation of non-well-known package — may execute untrusted codeconst 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.
AST06
MEDIUM
npx invocation of non-well-known packagecommands/loot.mjs:171 · npx invocation of non-well-known package — may execute untrusted code// 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.
AST06
HIGH
Access to sensitive file pathslib/publish/index.mjs:333 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files* 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.
AST05
HIGH
Access to sensitive file pathslib/review.mjs:2286 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesreturn { ...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.
AST05
MEDIUM
npx invocation of non-well-known packagelib/browser.mjs:109 · npx invocation of non-well-known package — may execute untrusted code"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.
AST06
MEDIUM
File type combined with upload actionlib/add.mjs:756 · File type combined with upload action — agent may exfiltrate local data files… ] : []), `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.
AST07
MEDIUM
File type combined with upload actionlib/add.mjs:664 · File type combined with upload action — agent may exfiltrate local data files…|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.
AST07
HIGH
Access to sensitive file pathslib/publish/adopt.mjs:9 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files// 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.
AST05
MEDIUM
npx invocation of non-well-known packagebin/xcore.mjs:194 · npx invocation of non-well-known package — may execute untrusted code// 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.
AST06
HIGH
Access to sensitive file pathslib/solana-rpc.mjs:89 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files{ 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.
AST05
HIGH
Access to sensitive file pathslib/publish/tree.mjs:163 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesif (/^\.env(\..*)?$/i.test(e.name)) {Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathslib/dev/index.mjs:189 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesconst 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.
AST05
MEDIUM
npx invocation of non-well-known packagelib/command.mjs:34 · npx invocation of non-well-known package — may execute untrusted code// 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.
AST06
MEDIUM
File type combined with upload actionlib/publish/scan.mjs:147 · File type combined with upload action — agent may exfiltrate local data files// 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.
AST07
LOW
Refusal suppressionREADME.md:796 · Refusal suppression — attempting to prevent safety responses · informational: not an instruction filereview (it never refuses for it).Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
MEDIUM
npx invocation of non-well-known packagelib/command.mjs:30 · npx invocation of non-well-known package — may execute untrusted codeif (/\/_npx\//.test(p)) return 'npx -y @xgamesfun/xcore';Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
File type combined with upload actionlib/publish/adopt.mjs:1439 · File type combined with upload action — agent may exfiltrate local data files…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.
AST07
MEDIUM
npx invocation of non-well-known packagelib/command.mjs:33 · npx invocation of non-well-known package — may execute untrusted codeif (/\/node_modules\//.test(p)) return 'npx xcore';Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
File type combined with upload actionlib/dev/platform.mjs:786 · File type combined with upload action — agent may exfiltrate local data filesreturn 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.
AST07
LOW
Coercive compliance languageREADME.md:1167 · Coercive compliance language · informational: not an instruction filerun 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.
AST01
MEDIUM
npx invocation of non-well-known packagelib/command.mjs:3 · npx invocation of non-well-known package — may execute untrusted code// 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.
AST06

Cost to the agent

Instructions loaded
≈71 tok
1 file · 81 in bundle

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%
  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. npx invocation of non-well-known package≈ +2 on the totalPin versions and sources; vendor anything fetched at install time.
Publish a new version to npm, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim xgamesfunPropose a patch to the maintainer