AI agents use feishu_base_record_upsert to create or update resources in Lark Cli — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Lark Cli environment.
The tool modifies data in Feishu's base/table system by either creating new records or updating existing ones. While reversible (not Destructive), it changes persistent data and represents a Write operation. Severity is high because the AI operates 'as the user's own identity' with no apparent approval mechanism, creating risk of unintended data modifications across the user's Feishu workspace.
From the tool's definition Tool name 'feishu_base_record_upsert' and description stating it creates or updates records (conditional on record_id presence): '创建或更新一条记录(给 record_id 则更新,否则创建)'. This is reversible modification of data in a multi-dimensional table.
Attacks that exploit this kind of access
在多维表格数据表中创建或更新一条记录(给 record_id 则更新,否则创建). It is categorised as a Write tool in the Lark Cli MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Register the Lark Cli MCP server in PolicyLayer and add a rule for feishu_base_record_upsert: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Lark Cli. Nothing to install.
feishu_base_record_upsert is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the feishu_base_record_upsert rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for feishu_base_record_upsert. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
feishu_base_record_upsert is provided by the Lark Cli MCP server (yoreland/lark-cli-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →