You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature request: zero-trust forwarding for Lark/Feishu bot private chats
Note: This may not be the right place to submit this kind of feedback. If there is a better repository, forum, or support channel, please let me know.
Use case
We use one approved Lark/Feishu bot inside the team. Each team member pairs their own backend from inside this bot. The backend runs an AI agent on the member's local machine or cloud environment.
The shared access layer holds the bot identity and credentials, talks to the official Lark/Feishu platform, and routes messages between each team member and their paired backend.
We need this because we do not want every team member to separately create, approve, and maintain their own Lark/Feishu bot.
Security concern
The shared access layer currently sees plaintext private-chat messages. It could technically modify or forge messages.
In our case, those messages may trigger AI agent commands, such as reading project files, editing code, running tests, executing scripts, or calling internal tools. Some AI agents may also run in a high-permission mode similar to yolo. If the proxy is compromised, an attacker could impersonate a team member and send dangerous commands to that member's AI agent.
Request
We want to keep the shared access layer for Lark/Feishu communication and routing, but prevent it from reading, forging, or tampering with the private-chat control channel.
Ideally, the paired backend can verify that messages really came from Lark/Feishu and were not changed by the proxy, for example through end-to-end signing/encryption. Replies from the backend should also be protected, so the proxy cannot forge or modify them.
flowchart LR
Member[Team member] --> Bot[Lark/Feishu bot]
Bot --> Proxy[Shared access layer<br/>bot credentials + routing]
Proxy --> Backend[Member backend<br/>AI agent]
Backend --> Proxy
Proxy --> Bot
Bot --> Member
Backend --> Env[Codebase / shell / internal tools]
Risk[Proxy compromise = forged member commands<br/>to the AI agent]
Risk -.-> Proxy
Feature request: zero-trust forwarding for Lark/Feishu bot private chats
Use case
We use one approved Lark/Feishu bot inside the team. Each team member pairs their own backend from inside this bot. The backend runs an AI agent on the member's local machine or cloud environment.
The shared access layer holds the bot identity and credentials, talks to the official Lark/Feishu platform, and routes messages between each team member and their paired backend.
We need this because we do not want every team member to separately create, approve, and maintain their own Lark/Feishu bot.
Security concern
The shared access layer currently sees plaintext private-chat messages. It could technically modify or forge messages.
In our case, those messages may trigger AI agent commands, such as reading project files, editing code, running tests, executing scripts, or calling internal tools. Some AI agents may also run in a high-permission mode similar to
yolo. If the proxy is compromised, an attacker could impersonate a team member and send dangerous commands to that member's AI agent.Request
We want to keep the shared access layer for Lark/Feishu communication and routing, but prevent it from reading, forging, or tampering with the private-chat control channel.
Ideally, the paired backend can verify that messages really came from Lark/Feishu and were not changed by the proxy, for example through end-to-end signing/encryption. Replies from the backend should also be protected, so the proxy cannot forge or modify them.
flowchart LR Member[Team member] --> Bot[Lark/Feishu bot] Bot --> Proxy[Shared access layer<br/>bot credentials + routing] Proxy --> Backend[Member backend<br/>AI agent] Backend --> Proxy Proxy --> Bot Bot --> Member Backend --> Env[Codebase / shell / internal tools] Risk[Proxy compromise = forged member commands<br/>to the AI agent] Risk -.-> Proxy