[中] 飞书验证Token硬编码在源码中 #97
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
问题描述
backend/app/core/config.py 第96行,FEISHU_VERIFICATION_TOKEN 硬编码在源码中。该 Token 用于验证飞书回调请求的真实性。
涉及文件
修复建议
改为从环境变量读取,不留默认值。
严重程度
中 - 安全配置问题