Is Design Extract safe?
- Node.js shell/command execution
- Node.js network egress
- Server bound to all network interfaces
What to do: Nothing here argues against installing it. Grant the capabilities it lists only if you expect the tool to need them.
Design Extract is an npm package analyzed by SkillTotal's deterministic static scanner. The scan found no malicious indicators, though 1 risky construct is reported for review. It can: mcp tools detected, network egress and shell execution — capabilities are what the code can do, not a verdict on intent. Risk score 10/100 (low).
designlang 13.3.2
Automated static-analysis result. It can contain false positives and false negatives, and is not a claim about the intent of Design Extract'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 (4)
The component can run operating-system commands or spawn processes.
import { spawn, spawnSync } from 'child_process';const child = spawn(cmd, args, {spawnSync('pkill', ['-KILL', '-f', cwd]);import { execFile } from "child_process";import { execFile } from "child_process";import { spawnSync } from 'child_process';const r = spawnSync('ffmpeg', ['-version'], { stdio: 'ignore' });const r = spawnSync('ffmpeg', ['-y', '-i', webmPath, '-c:v', 'libx264', '-pix_fmt', 'yuv420p', '-movflags', '+faststart', mp4Path], { stdio: 'ignore' });const { spawn } = require('child_process');const child = spawn('npx', ['-y', 'designlang', url, ...args], {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.
A server is bound to all network interfaces (0.0.0.0), not just your own machine.
const [left, right] = normalized.split('::', 2);Why it matters: Without authentication, other hosts on the network can reach it.
Fix: Bind to 127.0.0.1 for local-only use, or require authentication and restrict access if remote exposure is intended.
The component makes outbound network requests.
const res = await fetch('https://api.github.com', { signal: AbortSignal.timeout(3000) });const res = await fetch('https://api.anthropic.com/v1/messages', {const res = await fetch(`${config.baseUrl}/chat/completions`, {const res = await fetch(url, { mode: 'cors' });const res = await fetch(`https://api.github.com/repos/${REPO}`, {const week = await fetch(`https://api.npmjs.org/downloads/point/last-week/${NPM}`, { next: { revalidate: 1800 } });const month = await fetch(`https://api.npmjs.org/downloads/point/last-month/${NPM}`, { next: { revalidate: 1800 } });const res = await fetch('/api/extract', {res = await fetch('/api/extract', {? await fetch('/api/pdf', {: await fetch(pdfUrl);
res = await fetch('/api/extract?theatre=1', {const res = await fetch('https://api.github.com/repos/Manavarya09/design-extract', {const res = await fetch('/api/motion', {const res = await fetch('/api/studio', {const res = await fetch(blob.url, { cache: 'no-store' });const res = await fetch(blob.url, { cache: 'no-store' });const res = await fetch(blob.url, { cache: 'no-store' });const res = await fetch(blob.url, { cache: 'no-store' });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.
An MCP tool surface (manifest or tool definitions) was found.
"tools": {const server = new Server(
server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: [...liveTools.list(), ...tools.list()] }));server.setRequestHandler(CallToolRequestSchema, async (req) => {const transport = new StdioServerTransport();
Why it matters: Just context — review which tools it offers and their permissions.
Fix: Review the declared MCP tools and their permissions.
How attackers abuse these capabilities
Interactive labs on the attack class behind the rules above. They show the technique, not anything found in Design Extract.
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 →