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

MCP server · Audited from source

Feishu MCP server

by cso1z/feishu-mcpMIT licenceAudited 28 Sep 2026 · source b654d121ad29

npm feishu-mcp 0.3.3ssestdiostreamable-http★ 741
✕BLOCKGrade D · 69/100 · 28 Sep 2026 · b654d12

Is it safe? No — BLOCK, grade D (69/100). It exposes 24 tools: 14 read, 8 write and 2 destructive. The audit recorded 17 findings (0 critical, 1 high, 7 medium, 9 low). Maintainer's description: Feishu / Lark 飞书文档与任务管理工具,支持 MCP 服务器和 CLI + Skill 两种使用方式,可无缝集成 Cursor、Claude Code、Cline 等 AI 编码工具

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Feishu MCP server (cso1z/feishu-mcp)”. Retrieved 28 Sep 2026. https://modelsatlas.com/mcp/cso1z/feishu

Why this is BLOCK. The audit found 0 critical and 1 high findings; the most severe is Code injection at src/cli/commands/auth.ts:28. 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.

Trust audit

Audit 0.4.1 · full source read 28 Sep 2026

Trust score69/100✕BLOCK D
0 critical1 high7 medium9 low0 info

17 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

  • FilesystemDeclared6 observations
  • NetworkDeclared5 observations
  • ShellDeclared1 observation
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

Findings (17)

Sorted by severity

HIGHCode injectioncode.eval_exec · src/cli/commands/auth.ts:28
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
exec(cmd, (err) => {
Why
evaluates text as code
Fix
remove; use a parser or a dispatch table
MEDIUMInformation disclosuredisclose.log_secret · src/modules/document/services/FeishuFoldService.ts:64
F-12 Information disclosureCWE-209 · CWE-532Layer L1
Logger.debug(`文件夹创建成功, token: ${response.token}, url: ${response.url}`);
Why
No further detail recorded for this rule.
Fix
—
MEDIUMInformation disclosuredisclose.log_secret · src/server.ts:131
F-12 Information disclosureCWE-209 · CWE-532Layer L1
Logger.warn(`[Bearer Auth] Token 验证失败: ${req.method} ${req.url}, 请求token长度=${token.length}, 配置token长度=${bearerToken.length}`);
Why
No further detail recorded for this rule.
Fix
—
MEDIUMInformation disclosuredisclose.log_secret · src/utils/auth/legacyCacheMigration.ts:56
F-12 Information disclosureCWE-209 · CWE-532Layer L1
Logger.debug(`Token 缓存迁移完成,共 ${migratedCount} 个文件`);
Why
No further detail recorded for this rule.
Fix
—
MEDIUMInformation disclosuredisclose.log_secret · src/utils/config.ts:529
F-12 Information disclosureCWE-209 · CWE-532Layer L1
Logger.info(`- Bearer Token 认证: ${this.server.bearerToken ? '已启用' : '未启用'} (来源: ${this.configSources['server.bearerToken']})`);
Why
No further detail recorded for this rule.
Fix
—
MEDIUMInformation disclosuredisclose.log_secret · src/utils/config.ts:536
F-12 Information disclosureCWE-209 · CWE-532Layer L1
Logger.info(`- App Secret: ${Logger.maskSecret(this.feishu.appSecret)} (来源: ${this.configSources['feishu.appSecret']})`);
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.raw_ip · src/utils/config.ts:251
F-04 Network egressCWE-200 · CWE-319Layer L1
tokenEndpoint: `http://127.0.0.1:${serverConfig.port}/getToken`, // 默认动态端口
Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
delete_feishu_document_blocks, delete_feishu_task
Why
2 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.hidden_file · .gitmodules
F-13 Inventory / provenanceCWE-1104Layer L0
.gitmodules
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWFilesystem / pathfs.traversal · src/cli/commands/auth.ts:5
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { Config } from '../../utils/config.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/cli/commands/auth.ts:6
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { AuthUtils, TokenCacheManager } from '../../utils/auth/index.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/cli/commands/auth.ts:7
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { Logger } from '../../utils/logger.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/cli/commands/auth.ts:8
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { getRequiredScopes } from '../../services/constants/feishuScopes.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/cli/commands/auth.ts:9
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { ModuleRegistry } from '../../modules/index.js';
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.decode_call · doc/feishu-handler.ts:123
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
const oauthReqInfo = JSON.parse(atob(c.req.query("state") as string)) as AuthRequest;
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@modelcontextprotocol/sdk, @types/yargs, axios, cross-env, dotenv, express, form-data, remeda
Why
23 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWPrompt injectionprompt.transfer_instruction · README.md:317
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
curl -X POST -H "Authorization: Bearer your-secret-token-here" -H "Content-Type: application/json" http://localhost:3333/mcp?userKey=123456
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

24 declared in source · 2 destructive

14 read8 write2 destructive

2 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolWhat it doesRisk
delete_feishu_document_blocksDeletes a consecutive range of blocks from a Feishu document identified by startIndex (inclusive) and endIndex (exclusive).destructive
delete_feishu_taskDeletes one or more Feishu tasks by task_guid. Pass an array of task GUIDs (min 1, max 50). Requires edit permission on each task. Returns deleted guids and per-item errors. Deleted tasks cannot be retrieved.destructive
batch_create_feishu_blocksCreates one or more blocks at a specified position within a Feishu document. Supports text, code, heading, list, image, mermaid, and whiteboard block types. Accepts any number of blocks.write
batch_update_feishu_block_textUpdates text content and styling of multiple document blocks.write
create_feishu_documentNo description in the sourcewrite
create_feishu_folderCreates a new folder in a specified parent folder. Use this to organize documents and files within your Feishu Drive structure. Returns the token and URL of the newly created folder.write
create_feishu_tableCreates a table block with specified rows and columns in a Feishu document. Each cell can contain text, list, code, or other block types.write
create_feishu_taskNo description in the sourcewrite
update_feishu_taskUpdates an existing Feishu task. Provide task_guid and the fields to change. Supports summary, description, due, completed_at (usewrite
upload_and_bind_image_to_blockNo description in the sourcewrite
fill_whiteboard_with_plantumlFills whiteboard blocks with PlantUML or Mermaid diagram code. Accepts any number of whiteboards. Returns per-item success/failure details.read
get_feishu_document_blocksRetrieves the block hierarchy of a Feishu document, including block IDs, types, and content.read
get_feishu_document_infoNo description in the sourceread
get_feishu_folder_filesNo description in the sourceread
get_feishu_image_resourceDownloads an image resource from Feishu by its media ID and returns binary image data. To get the mediaId, extract block.image.token from an image block (block_type=27) returned by get_feishu_document_blocks.read
get_feishu_root_folder_infoRetrieves the root folder in Feishu Drive, wiki spaces list, andread
get_feishu_usersNo description in the sourceread
get_feishu_whiteboard_contentRetrieves the content and structure of a Feishu whiteboard. Use this to analyze whiteboard content, extract information, or understand the structure of collaborative diagrams. The whiteboard ID can be obtained from the board.token field when getting document blocks with block_type: 43.read
list_feishu_tasksLists tasks assigned to the current user (read
search_feishu_documentsNo description in the sourceread
飞书任务飞书任务查询、创建、更新、删除功能read
飞书成员通过用户名关键词搜索用户,返回头像、部门、open_id 等,用于任务指派(1 个工具)read
飞书文档飞书文档、块操作、文件夹和知识库管理read
飞书日历飞书日历和日程管理read

Safer alternatives

Audit history

  1. ✕BLOCK D 69 / 100

    First audit · b654d121ad29

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 Feishu MCP server

What is the Feishu MCP server?
Feishu / Lark 飞书文档与任务管理工具,支持 MCP 服务器和 CLI + Skill 两种使用方式,可无缝集成 Cursor、Claude Code、Cline 等 AI 编码工具
What tools does Feishu expose?
24 in total: 14 read-only, 8 that write, and 2 that can delete or overwrite (delete_feishu_document_blocks, delete_feishu_task). Every one is listed on this page with its risk.
Is Feishu safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (69/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. Separately from the audit: 2 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Feishu need?
It reads FEISHU_APP_SECRET, FEISHU_AUTH_BASE_URL, FEISHU_AUTH_TYPE, FEISHU_ENCRYPTION_KEY, FEISHU_REQUIRE_USER_KEY, FEISHU_TOKEN_ENDPOINT, FEISHU_USER_KEY and MCP_BEARER_TOKEN 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 Feishu run?
It speaks sse, stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as feishu-mcp at 0.3.3.
How current is this page?
The grade is for one exact copy of the source (b654d121ad29), read on 2026-09-28. The repository is watched and re-audited when it changes.
I already installed Feishu. 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

  • cso1z/feishu-mcp on GitHub — the source we read, its licence, stars and activityObserved · 28 Sep 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit b654d121ad29Observed · 28 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.