Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Org-owned · Audited from source

Story UI MCP server

by southleft/story-uiMIT licenceAudited 12 Oct 2026 · source c8c62f93525e

npm @tpitre/story-ui 5.21.2ssestdiostreamable-http★ 234
✕BLOCKGrade F · 54/100 · 12 Oct 2026 · c8c62f9

Is it safe? No — BLOCK, grade F (54/100). It exposes 21 tools: 18 read, 2 write and 1 destructive. The audit recorded 33 findings (0 critical, 5 high, 5 medium, 19 low). Maintainer's description: AI-powered Storybook story generator — works with any framework, any design system, any LLM provider

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Story UI MCP server (southleft/story-ui)”. Retrieved 12 Oct 2026. https://modelsatlas.com/mcp/southleft/story-ui

Why this is BLOCK. The audit found 0 critical and 5 high findings; the most severe is Code injection at mcp-server/routes/canvasGenerate.ts:452. Each finding is listed below with its file and line.

Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.

Trust audit

Audit 0.4.1 · full source read 12 Oct 2026

Trust score54/100✕BLOCK F
0 critical5 high5 medium19 low4 info

33 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared2 observations
  • NetworkDeclared8 observations
  • ShellDeclared10 observations
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

Findings (33)

Sorted by severity · the 25 most severe of 33 are listed

HIGHCode injectioncode.eval_exec · mcp-server/routes/canvasGenerate.ts:452
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
{ pattern: /\beval\s*\(/g,             label: 'eval()',               replacement: '/* [sanitized: eval] */void(' },
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · mcp-server/routes/canvasGenerate.ts:453
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
{ pattern: /\bnew\s+Function\s*\(/g,   label: 'new Function()',       replacement: '/* [sanitized: new Function] */void(' },
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · story-generator/dynamicPackageDiscovery.ts:173
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
const dynamicImport = new Function('specifier', 'return import(specifier)');
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · templates/StoryUIV2/elementTargeting.ts:476
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
const componentFrom = eval(`(${componentFromMarkupSrc})`);
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
HIGHCode injectioncode.eval_exec · templates/StoryUIV2/elementTargeting.ts:479
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
const orderCandidates = eval(`(${orderCandidatesSrc})`);
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
MEDIUMInventory / provenanceinv.binary · story-generator/fileAttachments.ts
F-13 Inventory / provenanceCWE-1104Layer L0
fileAttachments.ts
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
MEDIUMNetwork egressnet.raw_ip · bench/smoke.mjs:973
F-04 Network egressCWE-200 · CWE-319Layer L1
health = await fetch(`http://127.0.0.1:${spec.split(':')[1]}/health`, { signal: AbortSignal.timeout(4000) }).then(r => r.ok).catch(() => false);
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · bench/smoke.mjs:974
F-04 Network egressCWE-200 · CWE-319Layer L1
index = await fetch(`http://127.0.0.1:${spec.split(':')[2]}/index.json`, { signal: AbortSignal.timeout(8000) }).then(r => r.ok).catch(() => false);
Why
No further detail recorded for this rule.
Fix
—
MEDIUMObfuscation / stealthobf.zero_width · story-generator/storyValidator.ts:64
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
.replace(/[\s]/g, '');
Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
delete-story
Why
1 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.hidden_file · .env.sample
F-13 Inventory / provenanceCWE-1104Layer L0
.env.sample
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .releaserc
F-13 Inventory / provenanceCWE-1104Layer L0
.releaserc
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInsecure cryptocrypto.weak_hash · mcp-server/routes/generationCore.ts:374
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
?? crypto.createHash('sha1').update(result.fileName).digest('hex').slice(0, 8);
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · mcp-server/routes/generationCore.ts:1832
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
`fallback-${crypto.createHash('sha1').update(`${prompt}${startedAt}`).digest('hex').slice(0, 8)}`,
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · mcp-server/routes/generationCore.ts:1890
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
hash = hashMatch ? hashMatch[1] : crypto.createHash('sha1').update(prompt).digest('hex').slice(0, 8);
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · mcp-server/routes/generationCore.ts:1893
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
hash = hashMatch ? hashMatch[1] : crypto.createHash('sha1').update(prompt).digest('hex').slice(0, 8);
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · mcp-server/routes/generationCore.ts:1899
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
hash = crypto.createHash('sha1').update(prompt + timestamp).digest('hex').slice(0, 8);
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.system_paths · __tests__/story-file-name.test.ts:27
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
'/etc/passwd',
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · __tests__/canvas-scope-and-versions.test.ts:45
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
Button: { specifier: '../../components/Button/Button', defaultExport: false },
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · __tests__/canvas-scope-and-versions.test.ts:46
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
Card: { specifier: '../../components/Card/Card', defaultExport: false },
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · __tests__/canvas-scope-and-versions.test.ts:47
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
CardHeader: { specifier: '../../components/Card/Card', defaultExport: false },
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · __tests__/canvas-scope-and-versions.test.ts:51
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"import { Button } from '../../components/Button/Button';",
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · __tests__/canvas-scope-and-versions.test.ts:52
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"import { Card, CardHeader } from '../../components/Card/Card';",
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · __tests__/integration/active-generations.test.ts:66
F-04 Network egressCWE-200 · CWE-319Layer L1
process.env.STORYBOOK_URL = 'http://127.0.0.1:1';
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · __tests__/integration/generation-pipeline.test.ts:103
F-04 Network egressCWE-200 · CWE-319Layer L1
process.env.STORYBOOK_URL = 'http://127.0.0.1:1';
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

21 declared in source · 1 destructive

18 read2 write1 destructive

1 tool can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolWhat it doesRisk
delete-storyDelete a generated storydestructive
pictosA glyph setwrite
update-storyUpdate an existing Storybook story with modifications. If no storyId is provided, Iwrite
AlertNo description in the sourceread
ButtonInteractive buttonread
CardContainer for grouped contentread
CheckboxCheckbox inputread
InputText input fieldread
SimpleGridLays children out in columnsread
StackStacks children verticallyread
TextBody textread
TileTile component from Housekitread
TitleA headingread
generate-storyGenerate a Storybook story from a natural language promptread
get-component-propsGet detailed prop information for a specific componentread
get-storyGet the content of a specific generated storyread
left-padString left padread
list-componentsList all available components that can be used in storiesread
list-storiesList all generated storiesread
test-connectionTest if MCP connection is workingread
themeGlobal themeread

Audit history

  1. ✕BLOCK F 54 / 100

    First audit · c8c62f93525e

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK FMODELSATLASBLOCK · F

A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.

Questions about Story UI MCP server

What is the Story UI MCP server?
AI-powered Storybook story generator — works with any framework, any design system, any LLM provider
What tools does Story UI expose?
21 in total: 18 read-only, 2 that write, and 1 that can delete or overwrite (delete-story). Every one is listed on this page with its risk.
Is Story UI safe to connect to an agent?
No — not without reading the findings first. The audit graded it F (54/100) and found 5 critical or high issues in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Story UI need?
It reads ANTHROPIC_API_KEY, CLAUDE_API_KEY, GEMINI_API_KEY, GOOGLE_API_KEY, OPENAI_API_KEY and TYPESAFE_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Story UI run?
It speaks sse, stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as @tpitre/story-ui at 5.21.2.
How current is this page?
The grade is for one exact copy of the source (c8c62f93525e), read on 2026-10-12. The repository is watched and re-audited when it changes.
I already installed Story UI. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

Sources

  • southleft/story-ui on GitHub — the source we read, its licence, stars and activityObserved · 12 Oct 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit c8c62f93525eObserved · 12 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.