MCP server · Audited from source
MinerU Tianshu MCP server
by magicyuan876/mineru-tianshuApache-2.0 licenceAudited 27 Sep 2026 · source a797f136fde7
Is it safe? With care — CAUTION, grade C (79/100). It exposes 4 tools: 4 read, 0 write and 0 destructive. The audit recorded 22 findings (0 critical, 0 high, 7 medium, 15 low). Maintainer's description: 天枢 - 企业级 AI 一站式数据预处理平台 | PDF/Office转Markdown | 支持MCP协议AI助手集成 | Vue3+FastAPI全栈方案 | 文档解析 | 多模态信息提取
Cite
Cite this page
ModelsAtlas. “MinerU Tianshu MCP server (magicyuan876/mineru-tianshu)”. Retrieved 27 Sep 2026. https://modelsatlas.com/mcp/magicyuan876/mineru-tianshu
Trust audit
Audit 0.4.1 · full source read 27 Sep 2026
22 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
- FilesystemDeclared7 observations
- NetworkDeclared15 observations
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
“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 | WARN 6 findings |
L1 Static source | Secrets, path traversal, supply chain | WARN 12 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 4 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
magicyuan876User accountAccount type recorded when we read the repository. - PackagePublished on npm
frontend, no version recorded - LicenceApache-2.0From the repository, as read at the audited commit.
- Last push3 days agoActivity of the repository when we read it.
- Source commit reada797f136fde7The audit covers exactly this commit, read on 27 Sep 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory4 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 (22)
Sorted by severity
MEDIUMInventory / provenanceinv.binary · dify_plugin/tianshu/tianshu.difypkg
tianshu.difypkg
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
MEDIUMInformation disclosuredisclose.log_secret · dify_plugin/tianshu/provider/tianshu.py:44
logger.info(f"🔑 API Key 长度: {len(api_key) if api_key else 0} 字符")- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMNetwork egressnet.raw_ip · .env.cpu.example:148
# - 本地开发: http://127.0.0.1:9000(默认)
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMNetwork egressnet.raw_ip · .env.cpu.example:152
RUSTFS_PUBLIC_URL=http://127.0.0.1:9000
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMNetwork egressnet.raw_ip · .env.example:209
# - 局域网: RUSTFS_PUBLIC_URL=http://192.168.1.100/s3
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMNetwork egressnet.raw_ip · .env.example:211
# - 无 nginx 的本地开发: RUSTFS_PUBLIC_URL=http://127.0.0.1:9000
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMNetwork egressnet.raw_ip · backend/mcp_server.py:791
"http://127.0.0.1:*",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWCode injectioncode.dynamic_import · backend/tests/unit/mineru_pipeline/test_content_list.py:21
__import__(name)
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · backend/tests/unit/test_file_utils.py:10
("../../report.pdf", "report.pdf"),- Why
- No further detail recorded for this rule.
- Fix
- —
LOWObfuscation / stealthobf.decode_call · backend/mcp_server.py:328
file_content = base64.b64decode(args["file_base64"])
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · backend/requirements.txt
scipy, pandas, opencv-python-headless, shapely, pyclipper, psutil, py-cpuinfo, biopython
- Why
- 60 requirement(s) not pinned with ==
- Fix
- pin exact versions
LOWSupply chainsupply.unpinned · dify_plugin/tianshu/requirements.txt
dify_plugin, httpx, yarl
- Why
- 3 requirement(s) not pinned with ==
- Fix
- pin exact versions
LOWSupply chainsupply.unpinned · frontend/package.json
@scalar/api-reference, @tailwindcss/typography, @vitejs/plugin-vue, axios, dayjs, highlight.js, katex, lucide-vue-next
- Why
- 20 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWPrompt injectionprompt.credential_read · AGENTS.md:187
- JWT(Access + Refresh Token)或 API Key,由 `auth/dependencies.py::get_current_user` 解析(先试 Bearer Token,再试 API Key)。
- Why
- asks the agent to read credentials
- Fix
- —
LOWPrompt injectionprompt.credential_read · CLAUDE.md:152
JWT (access + refresh) or API key, resolved by `auth/dependencies.py::get_current_user`, which tries the
- Why
- asks the agent to read credentials
- Fix
- —
LOWPrompt injectionprompt.credential_read · README_EN.md:255
- ✅ **User Auth**: JWT authentication, role-based access, API key management
- Why
- asks the agent to read credentials
- Fix
- —
LOWPrompt injectionprompt.transfer_instruction · AGENTS.md:182
- **Webhook**:任务进入终态(completed/failed)时,`litserve_worker.py` 调用 `webhook.dispatcher.enqueue_task_event` 写入 `webhook_deliveries` 表(子任务不触发,父任务在合并完成后触发一次);`task_scheduler` 每约 30 秒扫描到期投递并投递(指数退避,上限由 `webh
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
Tools it exposes
4 declared in source · 0 destructive
| Tool | Risk | What it does |
|---|---|---|
get_queue_stats | read | No description in the source |
get_task_status | read | No description in the source |
list_tasks | read | No description in the source |
parse_document | read | No description in the source |
Install
audited commit a797f13
Read the findings first. The most severe is Inventory / provenance (medium) at dify_plugin/tianshu/tianshu.difypkg.
One-click links open your editor with the config below filled in, exactly as the snippets show it. The audit covers commit a797f13 only.
claude mcp add frontend --env JWT_SECRET_KEY=${JWT_SECRET_KEY} --env MCP_API_KEYS=${MCP_API_KEYS} --env REDIS_PASSWORD=${REDIS_PASSWORD} --env REDIS_PROCESSING_KEY=${REDIS_PROCESSING_KEY} -- npx -y [email protected]{
"mcpServers": {
"frontend": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"JWT_SECRET_KEY": "${JWT_SECRET_KEY}",
"MCP_API_KEYS": "${MCP_API_KEYS}",
"REDIS_PASSWORD": "${REDIS_PASSWORD}",
"REDIS_PROCESSING_KEY": "${REDIS_PROCESSING_KEY}"
}
}
}
}The command does not pin a version; the audit covers commit a797f136fde7. Transport: streamable-http. Reads these environment variables: JWT_SECRET_KEY, MCP_API_KEYS, REDIS_PASSWORD, REDIS_PROCESSING_KEY, REDIS_QUEUE_KEY, RUSTFS_ACCESS_KEY, RUSTFS_SECRET_KEY, SSO_CLIENT_SECRET and 2 more. Give it the narrowest token it needs.
Audit history
- !CAUTION C 79 / 100
First audit ·
a797f136fde7
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/magicyuan876/mineru-tianshu/)
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 MinerU Tianshu MCP server
What is the MinerU Tianshu MCP server?
What tools does MinerU Tianshu expose?
Is MinerU Tianshu safe to connect to an agent?
What credentials does MinerU Tianshu need?
How does MinerU Tianshu run?
How current is this page?
Sources
- magicyuan876/mineru-tianshu on GitHub — the source we read, its licence, stars and activityObserved · 27 Sep 2026
- ModelsAtlas trust audit — CAUTION verdict for commit a797f136fde7Observed · 27 Sep 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 MinerU Tianshu MCP server?
- What tools does MinerU Tianshu expose?
- Is MinerU Tianshu safe to connect to an agent?