T09 · Insecure Skill Coding Practices
- Location
config/lobster-team.md:13- Finding
Hardcoded Feishu recipients and data destinations can cause cross-tenant disclosure
- Content
View full analysis
Vulnerability Details
File Location:
config/lobster-team.md:13-20,config/lobster-team.md:62-89,SKILL.md:64-69,README.md:135-140,docs/task-tracking.md:229-246
Vulnerability Type: Hardcoded external service identifiers and unsafe destination configuration
Risk Level: HighVulnerable Code
config/lobster-team.md:13-20:markdown | 编号 | 角色 | 飞书机器人名称 | OpenID | 专长 | 典型任务 | 状态 | |------|------|--------------|--------|------|---------|------| | 龙虾 1 号 | 资料收集专家 | 第二大脑笔记助手 | `ou_f243f998e0eaf197cb6eebb82a324ece` | 资料收集、信息提取 | 文档分析、重点提炼 | ✅ 已激活 | | 龙虾 2 号 | 内容创作高手 | 通用内容创作虾 | `ou_eb8596a8c080a61425f442c200466144` | 文章写作、内容生成 | 推广文章、长文写作 | ✅ 已激活 | | 龙虾 3 号 | 朋友圈文案王 | 朋友圈创作虾 | `ou_2fe945f6c97c78712904ff06ee17595b` | 短文案、社交内容 | 朋友圈文案、社群分享 | ✅ 已激活 | | 龙虾 4 号 | 视频脚本导演 | 电商 Seedance 导演虾 | `ou_a632a99021af38c5c8db5c1ff148ba11` | 视频提示词 | 电商视频脚本、短视频 | ✅ 已激活 | | 龙虾 5 号 | 图片素材达人 | 图片素材生成虾 | `ou_0556824ddd755711afc35ab8e67f52b9` | 图片搜索、视觉设计 | 找素材、配图、保存 | ✅ 已激活 | | 龙虾 6 号 | 飞书文档管家 | 飞书工作助手 | `ou_c142533e95ce10cec4a4cbf78661e09d` | 飞书文档处理、会议纪要 | 文档整理、汇总、格式化 | ✅ 已激活 |config/lobster-team.md:62-89:markdown ### 指挥群信息 | 项目 | 详情 | |------|------| | 群名称 | 来合火 OpenClaw 指挥中心 | | 群 ID | `oc_8faef5990acd30c853ad72f01fcb8f09` | | 用途 | 任务分配通知、进度追踪、完成汇报 | | 成员 | 所有龙虾机器人 + 主助手 | ### 通知规则 | 时机 | 通知内容 | @对象 | 方式 | |------|---------|------|------| | 任务分配 | 任务拆解详情 | @所有龙虾 | 群通知 | | 单个任务 | 具体任务指令 | @对应龙虾 | 群@ + 私聊 | | 任务完成 | 完成情况汇报 | @所有龙虾 | 群通知 | | 全部完成 | 完整成果交付 | @所有龙虾 | 群通知 | --- ## 飞书多维表格配置 ### 表格信息 | 项目 | 详情 | |------|------| | 表格名称 | OpenClaw 龙虾任务执行记录 | | 表格 Token | `HxULbN8KTaIkCxsTmvYcg4ldnhh` | | 表格链接 | https://fvqga1bpis.feishu.cn/base/HxULbN8KTaIkCxsTmvYcg4ldnhh |SKILL.md:64-69:python feishu_bitable_app_table_record( action="batch_create", app_token="HxULbN8KTaIkCxsTmvYcg4ldnhh", table_id="tblAAxJLFpXO7k1X", records ...[truncated 2288 chars]- Remediation
View remediation
Remediation Suggestions
- Remove all concrete OpenIDs, chat IDs, table IDs, application tokens, tenant URLs, and folder identifiers from the distributed package.
- Replace them with unmistakable placeholders such as
YOUR_FEISHU_CHAT_IDandYOUR_BITABLE_APP_TOKEN. - Add a mandatory initialization process that collects user-owned destinations and refuses execution while placeholders or bundled defaults remain.
- Validate that configured recipients and resources belong to the user's expected Feishu tenant.
- Before the first message or write, display the resolved tenant, chat, document folder, and table destinations and request explicit confirmation.
- Store environment-specific identifiers outside public Skill documentation, using a protected local configuration or secret-management mechanism where appropriate.
- Apply least-privilege Feishu permissions so the integration can access only the user-approved chat, document folder, and table.
- Add tests that fail package publication when live-looking OpenIDs, chat IDs, Bitable tokens, or tenant-specific URLs are detected.
