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

MCP server · Audited from source

StashBase MCP server

by liliu-z/stashbaseApache-2.0 licenceAudited 6 Oct 2026 · source 00063de50f75

npm @stashbase/rendererstdiostreamable-http★ 918
!CAUTIONGrade D · 67/100 · 6 Oct 2026 · 00063de
918GitHub stars

Is it safe? With care — CAUTION, grade D (67/100). It exposes 12 tools: 6 read, 4 write and 2 destructive. The audit recorded 29 findings (0 critical, 0 high, 9 medium, 15 low). Maintainer's description: An open-source, local-first writing workspace where you can write with Claude Code and Codex, drawing on your own sources and past work.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “StashBase MCP server (liliu-z/stashbase)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/liliu-z/stashbase

Trust audit

Audit 0.4.1 · full source read 6 Oct 2026

Trust score67/100!CAUTION D
0 critical0 high9 medium15 low5 info

29 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

  • FilesystemDeclared5 observations
  • NetworkDeclared4 observations
  • ShellDeclared1 observation
  • DependenciesNot pinnedSome ranges float
  • SecretsFoundSee the findings

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityWARN 3 findings
L1 Static sourceSecrets, path traversal, supply chainWARN 20 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 1 finding
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner liliu-zUser accountAccount type recorded when we read the repository.
  • PackagePublished on npm@stashbase/renderer, no version recorded
  • LicenceApache-2.0From the repository, as read at the audited commit.
  • Last pushTodayActivity of the repository when we read it.
  • Source commit read00063de50f75The audit covers exactly this commit, read on 6 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory12 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (29)

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

MEDIUMInventory / provenanceinv.binary · build/icon.icns
F-13 Inventory / provenanceCWE-1104Layer L0
icon.icns
Why
a compiled or binary member cannot be reviewed from source
Fix
ship source, or explain the binary in the README
MEDIUMObfuscation / stealthobf.base64_blob · scripts/smoke-packaged-server.mjs:417
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
'UEsDBBQAAAAIAKaK8VzXeYTq8QAAALgBAAATAAAAW0NvbnRlbnRfVHlwZXNdLnhtbH2QzU7DMBCE730Ky9cqccoBIZSkB36OwKE8wMreJFb9J69b2rdn00KREOVozXwz62nXB+/EHjPZGDq5qhspMOhobBg7+b55ru6koALBgIsBO3lEkut+0W6OCUkwHKiTUynpXin
Why
No further detail recorded for this rule.
Fix
—
MEDIUMObfuscation / stealthobf.zero_width · server/html.ts:278
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
.replace(/[  ]/g, ' ')
Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · renderer/src/features/settings/ui/mcp/mcp-access-panel.stories.tsx:32
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · renderer/src/features/settings/ui/mcp/mcp-access-panel.stories.tsx:42
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · scripts/packaging/extractor-component.test.mjs:80
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · scripts/smoke-packaged-server.mjs:539
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.github · electron/bug-report-redaction.test.cjs:355
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
delete_file, write_file
Why
2 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 · .oxlintrc.json
F-13 Inventory / provenanceCWE-1104Layer L0
.oxlintrc.json
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · renderer/.jscpd.json
F-13 Inventory / provenanceCWE-1104Layer L0
.jscpd.json
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWFilesystem / pathfs.traversal · electron/bug-report/review-ipc.test.cjs:9
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
} = require('../../dist/electron/bug-report/review-ipc.cjs');
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · electron/bug-report/review-ipc.ts:15
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
} from '../../shared/protocols/electron/bug-report-review.ts';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · electron/bug-report/review-preload.test.cjs:8
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
} = require('../../dist/electron/bug-report/review-preload.cjs');
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · electron/bug-report/review-preload.ts:20
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
} from '../../shared/protocols/electron/bug-report-review.ts';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · electron/external-navigation/handler.test.cjs:9
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
} = require('../../dist/electron/external-navigation/handler.cjs');
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · docs/mcp-configuration.md:65
F-04 Network egressCWE-200 · CWE-319Layer L1
Same-machine access uses `http://127.0.0.1:8090/mcp` and stays on loopback.
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · electron/app-protocol.test.cjs:62
F-04 Network egressCWE-200 · CWE-319Layer L1
serverOrigin: 'http://127.0.0.1:8090',
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · electron/app-protocol.test.cjs:73
F-04 Network egressCWE-200 · CWE-319Layer L1
assert.equal(csp, productionContentSecurityPolicy('http://127.0.0.1:8090'));
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · electron/app-protocol.test.cjs:80
F-04 Network egressCWE-200 · CWE-319Layer L1
'frame-src http://127.0.0.1:8090/asset/ http://127.0.0.1:8090/asset-derived/',
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · electron/app-protocol.test.cjs:84
F-04 Network egressCWE-200 · CWE-319Layer L1
"img-src 'self' data: blob: http://127.0.0.1:8090/api/gallery/image",
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@anthropic-ai/claude-agent-sdk, @modelcontextprotocol/sdk, @noble/hashes, better-sqlite3, electron-updater, express, mammoth, multer
Why
27 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · python/requirements.txt
F-08 Supply chainCWE-829 · CWE-1357Layer L1
openai, numpy, blake3
Why
3 requirement(s) not pinned with ==
Fix
pin exact versions
LOWSupply chainsupply.unpinned · renderer/package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@base-ui/react, @codemirror/commands, @codemirror/lang-json, @codemirror/language, @codemirror/language-data, @codemirror/merge, @codemirror/state, @codemirror/view
Why
24 dependency range(s) float
Fix
pin exact versions or ship a lockfile
INFOPrompt injectionprompt.credential_read · code-review/architecture.md:43
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
| [Account and settings](../design-docs/capabilities/account-settings.md) | Node owns persistent settings, account state, and external credentials; renderer owns scoped interaction. See [credentials a
Why
asks the agent to read credentials
Fix
—

Tools it exposes

12 declared in source · 2 destructive

6 read4 write2 destructive

2 tools 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.

ToolRiskWhat it does
delete_filedestructiveDelete a visible file by absolute path. Also removes note bundles or
write_filedestructiveCreate or overwrite a Markdown, HTML, JSON, or UTF-8 plain-text file. Creates parent folders as
create_projectwriteCreate a NEW project folder and register it in StashBase so it
edit_filewritePatch a Markdown, HTML, JSON, or UTF-8 plain-text file by exact string replacement. By default
move_filewriteRename or move a file within the same folder. Keeps note attachment bundles together,
suggest_editswritePropose a revision to a Markdown file without writing it. Send the whole revised document,
list_directoryreadList visible files and folders within one registered project. Pass an absolute folder/subfolder path to
list_projectsreadReturn StashBase project locations as
read_filereadRead a file from StashBase by absolute path
reindexreadReconcile search data with the files currently on disk, then report
release-notesreadPrepare release notes
search_projectreadSearch one registered project, including current prepared text for PDFs, DOCX, and images.

Install

audited commit 00063de

Read the findings first. The most severe is Inventory / provenance (medium) at build/icon.icns.

One-click links open your editor with the config below filled in, exactly as the snippets show it. The audit covers commit 00063de only.

claude mcp add renderer --env GH_TOKEN=${GH_TOKEN} --env GITHUB_TOKEN=${GITHUB_TOKEN} --env HOMEBREW_GITHUB_API_TOKEN=${HOMEBREW_GITHUB_API_TOKEN} --env STASHBASE_OAUTH_RETURN_TOKEN=${STASHBASE_OAUTH_RETURN_TOKEN} -- npx -y @stashbase/[email protected]

The command does not pin a version; the audit covers commit 00063de50f75. Transport: stdio · streamable-http. Reads these environment variables: GH_TOKEN, GITHUB_TOKEN, HOMEBREW_GITHUB_API_TOKEN, STASHBASE_OAUTH_RETURN_TOKEN, STASHBASE_SHUTDOWN_TOKEN. Give it the narrowest token it needs.

Audit history

  1. !CAUTION D 67 / 100

    First audit · 00063de50f75

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION DMODELSATLASCAUTION · D
[![ModelsAtlas: CAUTION D](https://modelsatlas.com/mcp/liliu-z/stashbase/badge.svg)](https://modelsatlas.com/mcp/liliu-z/stashbase/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about StashBase MCP server

What is the StashBase MCP server?
An open-source, local-first writing workspace where you can write with Claude Code and Codex, drawing on your own sources and past work.
What tools does StashBase expose?
12 in total: 6 read-only, 4 that write, and 2 that can delete or overwrite (delete_file, write_file). Every one is listed on this page with its risk.
Is StashBase safe to connect to an agent?
With care. The audit graded it D (67/100) and found 25 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 2 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does StashBase need?
It reads GH_TOKEN, GITHUB_TOKEN, HOMEBREW_GITHUB_API_TOKEN, STASHBASE_OAUTH_RETURN_TOKEN and STASHBASE_SHUTDOWN_TOKEN 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 StashBase run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as @stashbase/renderer at 0.0.0.
How current is this page?
The grade is for one exact copy of the source (00063de50f75), read on 2026-10-06. The repository is watched and re-audited when it changes.

Sources

  • liliu-z/stashbase on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
  • ModelsAtlas trust audit — CAUTION verdict for commit 00063de50f75Observed · 6 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.