Is Leonxlnx/taste-skill safe?
What Leonxlnx/taste-skill does
Taste Skill is an agent skill that has coding agents design websites and app screens from an art direction. It uses real photographs and checks its work in a browser. This repository holds one skill, design-taste-frontend, installed with npx skills add or as a Claude Code or Codex plugin. Its Node.js scripts need Node 22 or later and a local Chrome, Edge or Chromium, which they use to check the page at three widths and take screenshots; the README says its scripts install nothing and need no API keys. It goes online to find openly licensed pictures from collections such as Wikimedia Commons and Openverse. Before installing, plan for the README's estimate of 30 to 45 minutes and a few hundred thousand tokens per build.
- Node.js shell/command execution
- Node.js dynamic code execution
- Node.js filesystem read
What to do: Nothing here argues against installing it. Grant the capabilities it lists only if you expect the tool to need them.
Leonxlnx/taste-skill is a GitHub repository analyzed by SkillTotal's deterministic static scanner. The scan found no malicious indicators. It can: dynamic code execution, filesystem read, filesystem write, network egress and shell execution — capabilities are what the code can do, not a verdict on intent. Risk score 0/100 (low).
taste-skill
Get notified when this component changes
Change alerts aren't live yet. Leave your email and we'll let you know when they launch. We use it only for this and delete it on request.
Automated static-analysis result. It can contain false positives and false negatives, and is not a claim about the intent of Leonxlnx/taste-skill's authors. Report a false positive.
Behavioral traits
How this component maps to the CSA agentic threat model. Descriptive — it never affects the risk score.
Findings (5)
The code turns strings into live code at runtime (eval / new Function / exec).
const go = (y) => tab.eval(`window.__cc && window.__cc.scrollTo ? window.__cc.scrollTo(${y}) : (scrollTo({ top: ${y}, left: 0, behavior: 'instant' }), Math.round(scrollY))`);const clips = (await ctx.safe('visual-empty', () => tab.eval(call(clipsProbe, { idx: s.list.map((c) => c.i) })))) || [];S.rate = (await ctx.safe('effect-kind particle rate', () => ctx.tab.eval(call(particleProbe), 15000))) || 0;S.linked = ctx.quick ? [] : (await ctx.safe('effect-kind drift walk', () => ctx.tab.eval(call(driftProbe, { settle: 400 }), 180000))) || [];const y0 = await ctx.safe('visual probe', () => tab.eval('Math.round(scrollY)'));const P = await ctx.safe('visual probe', () => tab.eval(call(visualProbe, { first: ctx.first }), 60000));const bad = (await ctx.safe('visual-empty', () => tab.eval(call(bgProbe, P.bgUrls.map((x) => ({ src: x.src, sel: x.sel, doc: x.doc }))), 60000))) || [];const K = await ctx.safe('effect-kind', () => tab.eval(call(kindProbe), 30000));await tab.eval(call(cleanupProbe)).catch(() => {});await tab.eval(`window.__cc && window.__cc.scrollTo ? window.__cc.scrollTo(${y0}) : (scrollTo({ top: ${y0}, left: 0, behavior: 'instant' }), 1)`).catch(() => {});const list = (await ctx.safe('address', () => ctx.tab.eval(`(${probe.toString()})(${scan.toString()})`, 60000))) || [];await ctx.safe('rhythm scroll', () => tab.eval(scrollExpr(y)));const sy = await ctx.safe('rhythm scroll', () => tab.eval('Math.round(window.scrollY)'));await tab.eval("(() => { const s = document.createElement('style'); s.textContent = 'html,body{scroll-behavior:auto !important;scroll-snap-type:none !important}'; (document.head || document.documentElement).appendChild(s); return 1; })()");const sh = await tab.eval('document.scrollingElement.scrollHeight');await tab.eval(scrollExpr(y));
await tab.eval(scrollExpr(await tab.eval('document.scrollingElement.scrollHeight')));await tab.eval("(() => { const pending = [...document.images].filter((i) => !i.complete); return Promise.race([Promise.all(pending.map((i) => new Promise((r) => { i.addEventListener('load', r, { once: true }); i.addEventListener('error', r, …await tab.eval(scrollExpr(0));
if (!ctx.quick) await tab.eval("new Promise((res) => { const t0 = performance.now(); const tick = () => { const n = document.getAnimations().filter((a) => a.playState === 'running' && a.effect && a.effect.getComputedTiming().iterations !== …const fonts = await tab.eval("document.fonts ? Promise.race([document.fonts.ready.then(() => document.fonts.status), new Promise((r) => setTimeout(() => r(document.fonts.status), 5000))]) : 'loaded'", 15000).catch(() => 'unknown');await tab.eval(scrollExpr(0));
const base = await tab.eval(readExpr(ctx, null, ['SR-2']), 90000);
const info = await tab.eval(`(${expandAll.toString()})()`, 60000);const r2 = await tab.eval(readExpr(ctx, null, ['SR-2']), 90000);
Why it matters: If those strings aren't fixed and trusted, they become a way to run arbitrary code.
Fix: Avoid evaluating dynamically constructed code; if unavoidable, ensure the input is a trusted constant and never derived from external data.
The component can run operating-system commands or spawn processes.
import { spawn, execFileSync } from 'node:child_process';const child = spawn(findChrome(), ['--headless=new', `--user-data-dir=${prof}`, '--remote-debugging-port=0', '--no-first-run', '--no-default-browser-check',import { spawn, execFileSync } from 'node:child_process';const child = spawn(chrome, ['--headless=new', `--user-data-dir=${profile}`, '--remote-debugging-port=0', '--no-first-run', '--no-default-browser-check',import { spawn, execFileSync } from 'node:child_process';const child = spawn(findChrome(), ['--headless=new', `--user-data-dir=${profile}`, '--remote-debugging-port=0', '--no-first-run', '--no-default-browser-check',import { spawn, execFileSync } from 'node:child_process';const child = spawn(findChrome(), ['--headless=new', `--user-data-dir=${profile}`, '--remote-debugging-port=0', '--no-first-run', '--no-default-browser-check',import { spawn, spawnSync } from 'node:child_process';const proc = spawn(exe, [
if (process.platform === 'win32') spawnSync('taskkill', ['/pid', String(pid), '/T', '/F'], { stdio: 'ignore' });if (process.platform === 'win32') spawnSync('taskkill', ['/pid', String(pid), '/T', '/F'], { stdio: 'ignore' });import { spawn, execFileSync } from 'node:child_process';const child = spawn(findChrome(), args, { stdio: 'ignore', windowsHide: true });import { spawn, spawnSync } from 'node:child_process';const r = spawnSync(process.execPath, [path.join(here, 'copy-lint.mjs'), file, '--json', ...(kind ? ['--kind', kind] : [])], { encoding: 'utf8', timeout: 30000, windowsHide: true, maxBuffer: 1 << 24 });if (process.platform === 'win32') spawnSync('taskkill', ['/pid', String(c.pid), '/T', '/F'], { stdio: 'ignore', windowsHide: true });const WATCHDOG = `let ok=false;const fin=()=>{if(ok)process.exit(0);const[pid,...dirs]=process.argv.slice(1);const cp=require('child_process'),fs=require('fs');try{if(process.platform==='win32')cp.spawnSync('taskkill',['/pid',pid,'/T','/F'],{stdio:'ignore',windowsHide:true});else process.kill(-Number(pid),'SIGKILL');}catch{}const c = spawn(process.execPath, [script, ...argv], { cwd, stdio: ['ignore', 'pipe', 'pipe'], windowsHide: true, detached: process.platform !== 'win32' });try { wd = spawn(process.execPath, ['-e', WATCHDOG, String(c.pid), ...dirs], { stdio: ['pipe', 'ignore', 'ignore'], detached: true, windowsHide: true }); wd.on('error', () => {}); wd.stdin.on('error', () => {}); wd.unref(); } catch { wd = n …import { spawn, execFileSync } from 'node:child_process';const child = spawn(findChrome(), ['--headless=new', `--user-data-dir=${profile}`, '--remote-debugging-port=0', '--no-first-run', '--no-default-browser-check',import { spawn, execFileSync } from 'node:child_process';const child = spawn(findChrome(), ['--headless=new', `--user-data-dir=${profile}`, '--remote-debugging-port=0', '--no-first-run', '--no-default-browser-check', '--disable-extensions',Why it matters: Powerful and often legitimate — confirm the commands aren't built from untrusted input.
Fix: Confirm the command and its arguments are fully controlled and not derived from untrusted input; prefer execFile with an argument array.
The component reads files from disk.
const meta = JSON.parse(fs.readFileSync(path.join(HERE, 'index.json'), 'utf8')).grounds;
const allIds = JSON.parse(fs.readFileSync(path.join(SKILL, 'library', 'palettes.json'), 'utf8')).map(p => p.id);
fs.createReadStream(file).pipe(res);
for (let i = 0; i < 150 && !port; i++) { await sleep(100); try { port = parseInt(fs.readFileSync(portFile, 'utf8'), 10) || null; } catch { /* not yet */ } }export function readIndex() { return JSON.parse(fs.readFileSync(path.join(HERE, 'index.json'), 'utf8')); }if (histFile && fs.existsSync(histFile)) { try { hist = JSON.parse(fs.readFileSync(histFile, 'utf8')); } catch { hist = {}; } }if (inFile) return JSON.parse(fs.readFileSync(inFile, 'utf8'));
const src = fs.readFileSync(path.join(here, 'layout-check.js'), 'utf8');
const ups = Math.max(0, ...[...fs.readFileSync(file, 'utf8').matchAll(/(?:(?:src|href)\s*=\s*|\bfrom\s*|\bimport\s*\(?\s*|url\(\s*)["']?((?:\.\.\/)+)/g)].map(m => m[1].length / 3));
res.end(fs.readFileSync(f));
const { heroes } = JSON.parse(fs.readFileSync(path.join(here, 'heroes.json'), 'utf8'));for (let i = 0; i < 150 && !port; i++) { await sleep(100); try { port = parseInt(fs.readFileSync(portFile, 'utf8'), 10) || null; } catch { /* not yet */ } }const { heroes } = JSON.parse(fs.readFileSync(path.join(here, 'heroes.json'), 'utf8'));if (histFile) try { hist = { heroes: [], ...JSON.parse(fs.readFileSync(histFile, 'utf8')) }; } catch { /* a new history */ }const src = fs.readFileSync(f, 'utf8');
const txt = fs.readFileSync(f, 'utf8');
const txt = fs.readFileSync(f, 'utf8');
const spec = JSON.parse(fs.readFileSync(s, 'utf8')), base = pathToFileURL(path.resolve(s)).href;
fs.createReadStream(p).pipe(res);
for (let i = 0; i < 150 && !dp; i++) { await sleep(100); try { dp = parseInt(fs.readFileSync(portFile, 'utf8'), 10) || null; } catch { /* not yet */ } }const spec = JSON.parse(fs.readFileSync(s, 'utf8'));
let prev = null; try { prev = JSON.parse(fs.readFileSync(mf, 'utf8')); } catch { /* none */ }try { meta = JSON.parse(fs.readFileSync(mp, 'utf8')); } catch (e) { problems.push(`${id}: meta.json: ${e.message}`); continue; }function readIndex() { try { return JSON.parse(fs.readFileSync(INDEX, 'utf8')); } catch { return buildIndex({ quiet: true, write: false }); } }fs.createReadStream(file).pipe(res);
Why it matters: Usually legitimate, but worth confirming it can't be steered into reading sensitive files.
Fix: Confirm which files are read and that paths cannot be influenced by untrusted input to reach sensitive locations.
The component writes or deletes files on disk.
const portFile = path.join(prof, 'DevToolsActivePort'); try { fs.rmSync(portFile); } catch { /* none */ }if (opt('save') && opt('save') !== true) { fs.mkdirSync(opt('save'), { recursive: true }); fs.writeFileSync(path.join(String(opt('save')), `${pid}-${lit}.png`), Buffer.from(data, 'base64')); }const jf = opt('json'); if (jf && jf !== true) fs.writeFileSync(jf, JSON.stringify(results, null, 1));fs.writeFileSync(histFile, JSON.stringify(hist, null, 1) + '\n');
if (save) fs.writeFileSync(save, JSON.stringify(j));
fs.writeFileSync(out, JSON.stringify(data));
try { fs.rmSync(portFile); } catch { /* none */ }const snap = async file => { const { data } = await S('Page.captureScreenshot', { format: 'png' }); fs.writeFileSync(file, Buffer.from(data, 'base64')); };fs.writeFileSync(histFile, JSON.stringify(hist, null, 1));
try { fs.rmSync(portFile); } catch { /* none */ }fs.writeFileSync(file, Buffer.from(data.split(',')[1], 'base64'));fs.writeFileSync(mf, JSON.stringify(merged, null, 1) + '\n');
if (write) { fs.mkdirSync(path.dirname(target), { recursive: true }); fs.writeFileSync(target, JSON.stringify(index, null, 1) + '\n'); }try { fs.rmSync(portFile); } catch { /* none */ }fs.writeFileSync(file, Buffer.from(data, 'base64'));
if (rows.length) fs.writeFileSync(path.join(path.resolve(out), `${s.id}-sheet.png`), sheet(rows));fs.writeFileSync(path.join(path.resolve(out), 'index.html'), `<!doctype html><meta charset="utf-8"><title>Big scenes</title><style>body{font:14px system-ui;margin:24px;background:#222;color:#ddd}.row{display:flex;gap:12px;margin:8px 0 24px; …fs.writeFileSync(path.resolve(save), Buffer.from(data.split(',')[1], 'base64'));fs.writeFileSync(path.join(UI, 'index.json'), JSON.stringify(index, null, 1) + '\n');
fs.writeFileSync(INDEX, JSON.stringify(index, null, 1) + '\n');
fs.writeFileSync(a.history, JSON.stringify(hist, null, 1) + '\n');
fs.writeFileSync(path.join(FX, name), html);
for (const n of ['index.html', 'files.json', ...PUBLISH_PARTS]) fs.rmSync(path.join(out, n), { recursive: true, force: true });fs.writeFileSync(f, data);
fs.writeFileSync(path.join(out, 'files.json'), JSON.stringify({ page: 'index.html', count: files.length, bytes, files }, null, 1) + '\n');Why it matters: Usually legitimate, but worth confirming the paths can't be controlled by untrusted input.
Fix: Confirm which files are written/deleted and that paths cannot be influenced by untrusted input.
The component makes outbound network requests.
import http from 'node:http';
const ver = await (await fetch(`http://127.0.0.1:${port}/json/version`)).json();const r = await fetch(endpoint, {try { const r = await fetch(new URL(src, document.baseURI)); return r.ok ? await r.json() : null; } catch (e) { console.warn('fx-map: no map data', e); return null; }const r = await fetch(url);
if (!presetsP || url) presetsP = fetch(url || new URL('presets.json', HERE)).then(r => r.json()).then(j => j.presets || j);import http from 'node:http';
const doc = new DOMParser().parseFromString(await (await fetch(location.href)).text(), 'text/html');
const ver = await (await fetch(`http://127.0.0.1:${port}/json/version`)).json();try { meta = await (await fetch(new URL('./meta.json', base))).json(); } catch (_) { /* the page still works */ }const lib = await fetch(new URL('./photos.json', import.meta.url)).then(r => r.json());const res = await fetch(href);
const m = await fetch(new URL(`./${spec.poster || spec.id}.stills.json`, href).href, { cache: 'no-cache' }).catch(() => null);import http from 'node:http';
const ver = await (await fetch(`http://127.0.0.1:${dp}/json/version`)).json();import http from 'node:http';
const ver = await (await fetch(`http://127.0.0.1:${dport}/json/version`)).json();const res = await fetch(endpoint, { method: 'POST', body: new FormData(form), headers: { Accept: 'application/json' } });if (!cache.has(url)) cache.set(url, fetch(url).then(r => { if (!r.ok) throw new Error(`ui: ${r.status} ${url}`); return r.text(); }));import { createServer } from 'node:http';const r = await fetch(u, { signal: AbortSignal.timeout(Math.min(10000, left)) });const r = await fetch(u, { method: 'GET', redirect: 'follow' });else { const r = await fetch(u); if (r.ok) text = (await r.text()).slice(0, 3e6); }import http from 'node:http';
const ver = await (await fetch(`http://127.0.0.1:${port}/json/version`)).json();Why it matters: Usually legitimate, but confirm the destinations are expected and no sensitive data leaves.
Fix: Confirm the destination hosts are expected and that no sensitive data is sent off-host.
How attackers abuse these capabilities
Interactive labs on the attack class behind the rules above. They show the technique, not anything found in Leonxlnx/taste-skill.
Maintain Leonxlnx/taste-skill?
The free Claude Code plugin scans each npm, PyPI or MCP package with this report's open-source engine before the install command runs. It runs on your machine and needs no account.
Check your own component
Run the same evidence-backed scan on any MCP server, agent skill, or package.
Scan your own componentHow we determine this: deterministic static analysis (regex + AST), evidence-anchored, no code execution. Methodology →