MCP server · Audited from source
Feishu MCP server
by cso1z/feishu-mcpMIT licenceAudited 28 Sep 2026 · source b654d121ad29
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 编码工具
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
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
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
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
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
Logger.debug(`Token 缓存迁移完成,共 ${migratedCount} 个文件`);- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMInformation disclosuredisclose.log_secret · src/utils/config.ts:529
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
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
tokenEndpoint: `http://127.0.0.1:${serverConfig.port}/getToken`, // 默认动态端口- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
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
LOWFilesystem / pathfs.traversal · src/cli/commands/auth.ts:5
import { Config } from '../../utils/config.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/cli/commands/auth.ts:6
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
import { Logger } from '../../utils/logger.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/cli/commands/auth.ts:8
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
import { ModuleRegistry } from '../../modules/index.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWObfuscation / stealthobf.decode_call · doc/feishu-handler.ts:123
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
@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
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
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.
| Tool | What it does | Risk |
|---|---|---|
delete_feishu_document_blocks | Deletes a consecutive range of blocks from a Feishu document identified by startIndex (inclusive) and endIndex (exclusive). | destructive |
delete_feishu_task | Deletes 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_blocks | Creates 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_text | Updates text content and styling of multiple document blocks. | write |
create_feishu_document | No description in the source | write |
create_feishu_folder | Creates 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_table | Creates 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_task | No description in the source | write |
update_feishu_task | Updates an existing Feishu task. Provide task_guid and the fields to change. Supports summary, description, due, completed_at (use | write |
upload_and_bind_image_to_block | No description in the source | write |
fill_whiteboard_with_plantuml | Fills whiteboard blocks with PlantUML or Mermaid diagram code. Accepts any number of whiteboards. Returns per-item success/failure details. | read |
get_feishu_document_blocks | Retrieves the block hierarchy of a Feishu document, including block IDs, types, and content. | read |
get_feishu_document_info | No description in the source | read |
get_feishu_folder_files | No description in the source | read |
get_feishu_image_resource | Downloads 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_info | Retrieves the root folder in Feishu Drive, wiki spaces list, and | read |
get_feishu_users | No description in the source | read |
get_feishu_whiteboard_content | Retrieves 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_tasks | Lists tasks assigned to the current user ( | read |
search_feishu_documents | No description in the source | read |
飞书任务 | 飞书任务查询、创建、更新、删除功能 | read |
飞书成员 | 通过用户名关键词搜索用户,返回头像、部门、open_id 等,用于任务指派(1 个工具) | read |
飞书文档 | 飞书文档、块操作、文件夹和知识库管理 | read |
飞书日历 | 飞书日历和日程管理 | read |
Safer alternatives
aiagenta2z/onekey-gateway
OneKey Agent Gateway access to Commercial APIs, Skills, MCPs Build once and Ship 10× faster. For devs & builders, A unified API registry to serve and distribute across all agent formats—CLI, REST, MCP, and Skills—eliminating multiple builds. Access 30+ categories like search, image, finance, and 3D
fluttersdk/ai
Teach your AI assistant Wind UI, Magic Framework and more, across every major coding tool. Skills, a Claude Code marketplace and a hosted MCP server.
pipehero/pipehero-mcp
Debug webhooks from your AI agent: inspect and replay captured webhooks on localhost.
Audit history
- ✕BLOCK D 69 / 100
First audit ·
b654d121ad29
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 Feishu MCP server
What is the Feishu MCP server?
What tools does Feishu expose?
Is Feishu safe to connect to an agent?
What credentials does Feishu need?
How does Feishu run?
How current is this page?
I already installed Feishu. What should I do?
Can the verdict change?
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.
- What is the Feishu MCP server?
- What tools does Feishu expose?
- Is Feishu safe to connect to an agent?