MCP server · Audited from source
Hugging Face MCP server
by evalstate/hf-mcp-serverMIT licenceAudited 7 Oct 2026 · source 28fb65863538
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
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 →
- shreyaskarnik/huggingface-mcp-server★ 72✓SAFE
- evalstate/hf-mcp-server★ 302✕BLOCK
Trust audit
Audit 0.4.1 · full source read 7 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
- 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
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
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
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
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
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
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · packages/app/src/server/definition-digests/policy.ts:2
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
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
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
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
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
'169.254.169.254',
- Why
- cloud metadata endpoint: the classic SSRF credential grab
- Fix
- —
LOWNetwork egressnet.raw_ip · docs/oauth-diagnostics.md:63
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
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
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
--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
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
@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
@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
@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
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
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
| Tool | What it does | Risk |
|---|---|---|
create_repo | No description in the source | write |
hf_jobs | Remote 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 |
BadName | bad | read |
OmniParser_v2_process | No description in the source | read |
a | No description in the source | read |
alpha | first skill | read |
app_tool | Tool with an app | read |
child | child | read |
dynamic_space | Find (semantic/task search), inspect (view parameter schema) and dynamically invoke Hugging Face Spaces. | read |
extra | No description in the source | read |
first | First app tool | read |
hf_whoami | No description in the source | read |
hub_repo_details | Get details for one or more Hugging Face repos (model, dataset, or space). | read |
hub_repo_search | Search Hugging Face repositories with a shared query interface. | read |
private-skill | PRIVATE_DESCRIPTION | read |
progress_test | No description in the source | read |
refunds | Process refunds | read |
second | Second app tool | read |
test_tool | Test tool | read |
tool1 | Tool 1 | read |
tool2 | Tool 2 | read |
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
- ✕BLOCK D 64 / 100
First audit ·
28fb65863538
README badge
Badges show the current verdict, BLOCK included
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?
What tools does Hugging Face expose?
Is Hugging Face safe to connect to an agent?
What credentials does Hugging Face need?
How does Hugging Face run?
How current is this page?
Which Hugging Face MCP server is the right one?
I already installed Hugging Face. What should I do?
Can the verdict change?
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.
- What is the Hugging Face MCP server?
- What tools does Hugging Face expose?
- Is Hugging Face safe to connect to an agent?