MCP, MCP server
io.github.EthanQC/feishu-user-plugin
All-in-one Feishu MCP server + CLI tool for Claude Code — send messages as yourself, read chats (auto-expanded merge_forward), manage docs / bitable / wiki (full CRUD) / drive / OKR (with progress writes) / calendar (read+write) / Tasks v2 / multi-profile auto-switch / real-time
Compatibility: Not stated.
Grade D
Two or more Medium findings, or a High finding. Only try it in a sandbox.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit 171e92fdfb35, unchanged since the check below.
INSTALL_REMOTE_SCRIPT SECRETS_PATH_CREDENTIAL
Why this grade
- INSTALL_REMOTE_SCRIPT High
Fetches a script from the network and runs it (a pipe to a shell, or an install hook with a URL).
prompts/openclaw-setup.md, line 6
curl -fsSL https://openclaw.ai/install.sh | bash - SECRETS_PATH_CREDENTIAL Medium
Mentions a credential store path (~/.ssh, id_rsa, .npmrc, .aws/credentials, credentials.json, .netrc).
scripts/generate-release-artifacts.js, line 162
// Hint: if any bullet mentions "migrate" or "credentials.json", add a tip.
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
If you think this grade is wrong, email [email protected] with the entry link and your evidence. We aim to acknowledge within two working days and decide within seven. If we confirm an error, we aim to correct it within 24 hours of confirming it. These are aims, not guarantees.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Concern
can delete files.
PERMISSION_DELETE_FILES
scripts/build-mcpb.js, line 58
if (fs.existsSync(OUT)) fs.unlinkSync(OUT);
scripts/build-mcpb.js, line 99
fs.rmSync(STAGE, { recursive: true, force: true });
scripts/test-uat-race.js, line 20
fs.unlinkSync(path.join(os.homedir(), '.feishu-user-plugin', 'uat-refresh.lock'));
Show more
scripts/test-uat-race.js, line 25
fs.unlinkSync(path.join(os.homedir(), '.claude', 'feishu-uat-refresh.lock'));
src/test-config-write-safety.js, line 33
try { fs.rmSync(p, { force: true }); } catch (_) {}
src/test-config-write-safety.js, line 36
finally { try { fs.rmSync(p, { force: true }); } catch (_) {} }
src/test-config-write-safety.js, line 82
try { fs.rmSync(p, { force: true }); } catch (_) {}
src/test-config-write-safety.js, line 87
} finally { try { fs.rmSync(p, { force: true }); } catch (_) {} }
Install and update
Serious
install fetches a script from the network.
INSTALL_REMOTE_SCRIPT
prompts/openclaw-setup.md, line 6
curl -fsSL https://openclaw.ai/install.sh | bash
package.json, line 19
prepare
Network
Concern
can reach open.feishu.cn. The description does not name that host. can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST
scripts/verify-app-name.js, line 31
const tokenRes = await fetch('https://open.feishu.cn/open-apis/auth/v3/app_access_token/internal', {
scripts/verify-app-name.js, line 42
const infoRes = await fetch(`https://open.feishu.cn/open-apis/application/v6/applications/${appId}?lang=zh_cn`, {
src/utils.js, line 43
return fetch(url, { ...rest, signal: rest.signal || controller.signal }).finally(() => clearTimeout(timer));
Show more
src/tools/im-read.js, line 115
page_size: { type: 'number', description: 'Messages to fetch (default 20, max 50)' },
src/tools/im-read.js, line 154
page_size: { type: 'number', description: 'Messages to fetch (default 20, max 50)' },
docs/superpowers/plans/2026-05-07-v1.3.9-cookie-protobuf-phase2.md, line 750
# Step C: monkey-patch fetch (same as B.1) intercepts the forwarded send → save to card-1.b64
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_CREDENTIAL
scripts/explore-card-protobuf.js, line 10
const env = claudeCfg.mcpServers?.['feishu-user-plugin']?.env || {};
scripts/explore-card-protobuf.js, line 13
process.env.LARK_APP_SECRET = env.LARK_APP_SECRET;
scripts/generate-release-artifacts.js, line 162
// Hint: if any bullet mentions "migrate" or "credentials.json", add a tip.
Show more
scripts/explore-image-minimize.js, line 11
const env = claudeCfg.mcpServers?.['feishu-user-plugin']?.env || {};
scripts/explore-image-minimize.js, line 14
process.env.LARK_APP_SECRET = env.LARK_APP_SECRET;
scripts/explore-image-minimize.js, line 118
const oc = new LarkOfficialClient(process.env.LARK_APP_ID, process.env.LARK_APP_SECRET);
scripts/generate-release-artifacts.js, line 165
--confirm 把凭证收敛到 ~/.feishu-user-plugin/credentials.json,然后 npx feishu-user-plugin setup --point
scripts/probe-feishu-docx.js, line 69
// credentials.getActiveProfileEnv() reads ~/.feishu-user-plugin/credentials.json
scripts/probe-feishu-docx.js, line 91
if (process.env.LARK_USER_ACCESS_TOKEN) c.loadUAT();
scripts/test-wiki-attach-fallback.js, line 44
const folderToken = process.env.FEISHU_TEST_FOLDER_TOKEN;
src/cli.js, line 64
~/.feishu-user-plugin/credentials.json (single source of truth).
src/cli.js, line 77
--force Overwrite existing default profile in credentials.json
src/cli.js, line 81
--activate When used with --profile, also flip credentials.json::active
src/server.js, line 614
if (hasCanonical && (process.env.LARK_COOKIE || process.env.LARK_APP_ID || process.env.LARK_USER_ACCESS_TOKEN)) {
src/test-all.js, line 42
officialClient = new LarkOfficialClient(process.env.LARK_APP_ID, process.env.LARK_APP_SECRET);
src/test-comprehensive.js, line 124
const appSecret = process.env.LARK_APP_SECRET;
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Concern
contains an encoded blob in a file that should be readable.
OBFUSCATION_ENCODED_BLOB
docs/superpowers/plans/2026-05-04-v1.3.7-phase-a-refactor.md, line 43
│ ├── im.js # listChats/readMessages/getMessage/downloadMessageResource/replyMessage/forwardMessage/sendMessageAsBot/deleteMessage/updateMessage/addReaction/delet
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 171e92fdfb35. can delete files. install fetches a script from the network. can reach open.feishu.cn. The description does not name that host. can reach a host that is not written as a fixed address. reads a credential or environment file. contains an encoded blob in a file that should be readable.
Date and source
Date checked:
github.com
Commit graded: 171e92fdfb35e0371dfb81546e9c1e63e7fc1cda
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.