MCP server · Audited from source
clawstash MCP server
by fo0/clawstashMIT licenceAudited 11 Oct 2026 · source 134e4d7bc342
Is it safe? With care — CAUTION, grade B (83/100). It exposes 16 tools: 15 read, 1 write and 0 destructive. The audit recorded 25 findings (0 critical, 0 high, 3 medium, 15 low). Maintainer's description: AI-optimized stash storage — dynamic RAG for agents. Store, search, and retrieve docs, code, and data on demand via MCP or REST API.
Cite
Cite this page
ModelsAtlas. “clawstash MCP server (fo0/clawstash)”. Retrieved 11 Oct 2026. https://modelsatlas.com/mcp/fo0/clawstash
Trust audit
Audit 0.4.1 · full source read 11 Oct 2026
25 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
- FilesystemDeclared3 observations
- NetworkDeclared8 observations
- ShellNone observedNothing seen in the source
- 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
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 3 findings |
L1 Static source | Secrets, path traversal, supply chain | WARN 10 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 12 findings |
L3 Inventory | Declared tools match the source | PASS |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
fo0User accountAccount type recorded when we read the repository. - PackagePublished on npm
clawstashat version 1.0.0 - LicenceMITFrom the repository, as read at the audited commit.
- Last pushTodayActivity of the repository when we read it.
- Source commit read134e4d7bc342The audit covers exactly this commit, read on 11 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory16 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 (25)
Sorted by severity
MEDIUMNetwork egressnet.beacon_words · src/components/settings/BackupConnectCard.tsx:38
'oauth_application[callback_url]': 'http://localhost',
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMNetwork egressnet.raw_ip · Dockerfile:65
CMD node -e 'fetch("http://127.0.0.1:"+(process.env.PORT||3000)+"/api/health").then((r)=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))'- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.generic · src/server/backup/__tests__/github-client.test.ts:95
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/__tests__/next-config.test.ts:2
import nextConfig from '../../next.config';
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/app/[...slug]/page.tsx:3
import App from '../../App';
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/app/[...slug]/page.tsx:4
import ErrorBoundary from '../../components/ErrorBoundary';
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/components/__tests__/Dashboard.clearfilters.test.tsx:5
import type { StashListItem } from '../../types';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/components/__tests__/Dashboard.refresh.test.tsx:5
import type { StashListItem } from '../../types';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWObfuscation / stealthobf.decode_call · src/utils/mermaid-hydrate.ts:55
const bin = atob(s);
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@modelcontextprotocol/sdk, adm-zip, archiver, better-sqlite3, diff, marked, mermaid, next
- Why
- 34 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWPrompt injectionprompt.transfer_instruction · BACKLOG.md:174
| 48 | 2026-03-19 | 2026-05-23 | Code Smells | src/server/auth.ts + src/app/api/\_helpers.ts | Already unified — `requireAdmi
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · CHANGELOG.md:12
- **BREAKING — MCP tools are now scope-gated.** `POST /mcp` checked the `mcp` scope and nothing else, and the tools themselves checked nothing at all, so a token holding **only** `mcp` could call `cre
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · agent_docs/key-patterns.md:303
- **Module layout:** `github-client.ts` (device flow + REST + Git Data), `backup-service.ts` (sync engine: hash diff, commit planning, LWW retry on 422), `backup-scheduler.ts` (globalThis-singleton: i
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · docs/backup.md:85
- **The token never leaves the server.** API responses only carry a `tokenSet` flag and the connected account login; error messages and the sync log are redacted (explicit token value plus anything ma
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · docs/openclaw-onboarding-prompt.md:58
SESSION=$(curl -s -X POST http://<HOST_OR_IP>:<PORT>/api/admin/auth \
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
INFOPrompt injectionprompt.authority_framing · CHANGELOG.md:14
**Migration.** Affected: any agent whose token carries `mcp` but not `write` (or not `read`) — its tool calls now fail with the scope error instead of succeeding. Fix: create a new token with the scop
- Why
- No further detail recorded for this rule.
- Fix
- —
INFOPrompt injectionprompt.authority_framing · docs/authentication.md:42
| `admin` | Full access including token management (implies all) |
- Why
- No further detail recorded for this rule.
- Fix
- —
INFOPrompt injectionprompt.authority_framing · docs/mcp.md:66
operator's own privileges, so it runs with full access, as before.
- Why
- No further detail recorded for this rule.
- Fix
- —
INFOPrompt injectionprompt.credential_read · CHANGELOG.md:14
**Migration.** Affected: any agent whose token carries `mcp` but not `write` (or not `read`) — its tool calls now fail with the scope error instead of succeeding. Fix: create a new token with the scop
- Why
- asks the agent to read credentials
- Fix
- —
INFOPrompt injectionprompt.credential_read · CONTRIBUTING.md:17
This starts the Next.js development server on port 3000 with both the frontend and API routes. Without a `.env` the app falls back to port 3000, `./data/clawstash.db` and open admin access; see [`.env
- Why
- asks the agent to read credentials
- Fix
- —
INFOPrompt injectionprompt.credential_read · docs/authentication.md:5
- **Open mode** (default) — no `ADMIN_PASSWORD` set, all features accessible without login
- Why
- asks the agent to read credentials
- Fix
- —
INFOPrompt injectionprompt.credential_read · docs/mcp.md:43
The stdio process does **not** read `.env`: Next.js loads that file for `npm run dev` /
- Why
- asks the agent to read credentials
- Fix
- —
Tools it exposes
16 declared in source · 0 destructive
| Tool | Risk | What it does |
|---|---|---|
Backup | write | GitHub backup configuration and sync |
Alpha | read | first |
First | read | No description in the source |
Hello | read | desc |
Notes | read | No description in the source |
Second | read | No description in the source |
Stash | read | No description in the source |
Stashes | read | Stash CRUD operations |
System | read | System endpoints |
Tokens | read | API token management |
changed | read | new-desc |
list_stashes | read | List stashes |
n | read | d |
name-v1 | read | desc-v1 |
original | read | orig-desc |
unrelated | read | random |
Install
Package version 1.0.0 · audited commit 134e4d7
Read the findings first. The most severe is Network egress (medium) at src/components/settings/BackupConnectCard.tsx.
One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 1.0.0. The audit covers commit 134e4d7 only.
claude mcp add clawstash --env ADMIN_PASSWORD=${ADMIN_PASSWORD} -- npx -y [email protected]{
"mcpServers": {
"clawstash": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"ADMIN_PASSWORD": "${ADMIN_PASSWORD}"
}
}
}
}The command pins the package version recorded in the source (1.0.0); the audit covers commit 134e4d7bc342. Transport: stdio · streamable-http. Reads this environment variable: ADMIN_PASSWORD. Give it the narrowest token it needs.
Audit history
- !CAUTION B 83 / 100
First audit ·
134e4d7bc342
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/fo0/clawstash/)
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 clawstash MCP server
What is the clawstash MCP server?
What tools does clawstash expose?
Is clawstash safe to connect to an agent?
What credentials does clawstash need?
How does clawstash run?
How current is this page?
Sources
- fo0/clawstash on GitHub — the source we read, its licence, stars and activityObserved · 11 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit 134e4d7bc342Observed · 11 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.
- What is the clawstash MCP server?
- What tools does clawstash expose?
- Is clawstash safe to connect to an agent?