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

MCP server · Audited from source

Hugging Face MCP server

by evalstate/hf-mcp-serverMIT licenceAudited 7 Oct 2026 · source 28fb65863538

npm @llmindset/hf-mcp 0.4.28stdiostreamable-http★ 302
✕BLOCKGrade D · 64/100 · 7 Oct 2026 · 28fb658

Is it safe? No — BLOCK, grade D (64/100). It exposes 21 tools: 19 read, 2 write and 0 destructive. The audit recorded 25 findings (0 critical, 1 high, 5 medium, 18 low). Maintainer's description: Hugging Face MCP Server

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Hugging Face MCP server (evalstate/hf-mcp-server)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/evalstate/hugging-face-1

Why this is BLOCK. The audit found 0 critical and 1 high findings; the most severe is Code injection at packages/mcp/src/sandbox-tool.ts:271. 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.

2 MCP servers are called Hugging Face. You are viewing evalstate/hf-mcp-server. Compare all 2 →

Trust audit

Audit 0.4.1 · full source read 7 Oct 2026

Trust score64/100✕BLOCK D
0 critical1 high5 medium18 low1 info

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

  • FilesystemDeclared10 observations
  • NetworkDeclared10 observations
  • ShellDeclared1 observation
  • DependenciesNot pinnedSome ranges float
  • SecretsFoundSee the findings

Findings (25)

Sorted by severity

HIGHCode injectioncode.eval_exec · packages/mcp/src/sandbox-tool.ts:271
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(conn: SandboxConnection, args: SandboxExecRequest, options?: SandboxExecOptions): Promise<SandboxExecResult>;
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
MEDIUMInformation disclosuredisclose.log_secret · scripts/diagnose-oauth.mjs:632
F-12 Information disclosureCWE-209 · CWE-532Layer L1
console.log(`  client secret returned: ${clientInfo.client_secret ? 'yes (redacted)' : 'no'}`);
Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · monitor/telemetry/test_tool_error_report.py:244
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 · packages/app/test/server/utils/hf-whoami-client.test.ts:60
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 · packages/app/test/server/utils/hf-whoami-client.test.ts:177
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.private_key · monitor/tests/test-distribution.sh:154
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
—
LOWInventory / provenanceinv.hidden_file · .env.test.example
F-13 Inventory / provenanceCWE-1104Layer L0
.env.test.example
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .hintrc
F-13 Inventory / provenanceCWE-1104Layer L0
.hintrc
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .prettierignore
F-13 Inventory / provenanceCWE-1104Layer L0
.prettierignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWFilesystem / pathfs.traversal · packages/app/src/server/definition-digests/policy.ts:2
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { BOUQUETS } from '../../shared/bouquet-presets.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · packages/app/src/server/definition-digests/policy.ts:4
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import type { DefinitionDigestsStatus, DefinitionDigestsStats } from '../../shared/definition-digests-status.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · packages/app/src/server/definition-digests/stats.ts:1
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import type { DefinitionDigestsStats } from '../../shared/definition-digests-status.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · packages/app/src/server/server-build-info.ts:4
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const { version } = require('../../package.json') as { version: string };
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · packages/app/src/server/skills/skill-catalog-cache.ts:1
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import type { SkillCatalogStatus } from '../../shared/skill-catalog-status.js';
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.metadata_ip · scripts/diagnose-oauth-network.test.mjs:45
F-04 Network egressCWE-200 · CWE-319Layer L1
'169.254.169.254',
Why
cloud metadata endpoint: the classic SSRF credential grab
Fix
—
LOWNetwork egressnet.raw_ip · docs/oauth-diagnostics.md:63
F-04 Network egressCWE-200 · CWE-319Layer L1
pnpm oauth:diagnose -- --server 'http://127.0.0.1:3000/mcp?login'
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · docs/oauth-diagnostics.md:82
F-04 Network egressCWE-200 · CWE-319Layer L1
1. Starts the OAuth callback at `http://127.0.0.1:8090/oauth/callback`.
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · docs/oauth-diagnostics.md:86
F-04 Network egressCWE-200 · CWE-319Layer L1
5. Includes `http://127.0.0.1:8090/oauth/callback` in the document's `redirect_uris`.
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · docs/oauth-diagnostics.md:95
F-04 Network egressCWE-200 · CWE-319Layer L1
--redirect-uri 'http://127.0.0.1:8090/oauth/callback'
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · monitor/tests/test-dashboard.py:139
F-04 Network egressCWE-200 · CWE-319Layer L1
with urlopen(f'http://127.0.0.1:{server.server_port}/healthz') as response:
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@types/node, concurrently, knip, prettier, typescript
Why
5 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · packages/app/package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@huggingface/hub, @radix-ui/react-checkbox, @radix-ui/react-dropdown-menu, @radix-ui/react-separator, @radix-ui/react-slot, @radix-ui/react-tabs, @tailwindcss/vite, @tanstack/react-table
Why
43 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · packages/mcp/package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@huggingface/hub, mime-types, picomatch, shell-quote, @eslint/js, @types/node, eslint, rimraf
Why
10 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWPrompt injectionprompt.transfer_instruction · packages/app/src/server/definition-digests/README.md:108
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
curl -X POST 'https://host/api/definition-digests/salt?value=v2' -H 'X-Metrics-Password: ...'
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.credential_read · docs/space-monitor-architecture.md:45
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
The optional `MONITOR_HF_TOKEN` is passed only to the Doctor as its read-only `HF_TOKEN`; the parent credential is
Why
asks the agent to read credentials
Fix
—

Tools it exposes

21 declared in source · 0 destructive

19 read2 write0 destructive
ToolWhat it doesRisk
create_repoNo description in the sourcewrite
hf_jobsRemote compute for Hugging Face workflows. Run Python/UV or Docker jobs to deeply analyze Hub datasets, repos, traces, models, and large files; compute trends/statistics; run batch inference/evaluation; or perform long-running work with installed libraries.write
BadNamebadread
OmniParser_v2_processNo description in the sourceread
aNo description in the sourceread
alphafirst skillread
app_toolTool with an appread
childchildread
dynamic_spaceFind (semantic/task search), inspect (view parameter schema) and dynamically invoke Hugging Face Spaces.read
extraNo description in the sourceread
firstFirst app toolread
hf_whoamiNo description in the sourceread
hub_repo_detailsGet details for one or more Hugging Face repos (model, dataset, or space).read
hub_repo_searchSearch Hugging Face repositories with a shared query interface.read
private-skillPRIVATE_DESCRIPTIONread
progress_testNo description in the sourceread
refundsProcess refundsread
secondSecond app toolread
test_toolTest toolread
tool1Tool 1read
tool2Tool 2read

Safer alternatives

We could not match this server to a job, so we cannot suggest a like-for-like alternative. Read-only servers are the least-privilege place to start.

Audit history

  1. ✕BLOCK D 64 / 100

    First audit · 28fb65863538

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK DMODELSATLASBLOCK · D

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 Hugging Face MCP server

What is the Hugging Face MCP server?
Hugging Face MCP Server
What tools does Hugging Face expose?
21 in total: 19 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Hugging Face safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (64/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on.
What credentials does Hugging Face need?
It reads DEFAULT_HF_TOKEN, HF_TEST_TOKEN, HF_TOKEN, LOGGING_HF_TOKEN, MCP_STRICT_TOKEN, METRICS_PAGE_PASSWORD, MONITOR_HF_TOKEN, OPENAI_API_KEY, PROXY_TOKEN and RESPONSES_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 Hugging Face run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as @llmindset/hf-mcp at 0.4.28.
How current is this page?
The grade is for one exact copy of the source (28fb65863538), read on 2026-10-07. The repository is watched and re-audited when it changes.
Which Hugging Face MCP server is the right one?
shreyaskarnik/huggingface-mcp-server. 2 servers share the name; see the side-by-side comparison.
I already installed Hugging Face. 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

  • evalstate/hf-mcp-server on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit 28fb65863538Observed · 7 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.