A fixed empty `user_ids` may broaden an “own records” query
Source references: 4The Skill always sets `user_ids` to an empty array and forbids asking the user, while claiming to query only the user's own records. The supplied material does not define how the API interprets an empty array.
If Lark treats an empty array as unrestricted or all authorized users, an account with broader organizational access could retrieve other employees' attendance data.
The stated purpose is to query the user's own attendance, but the Skill forces `user_ids` to an empty array and forbids asking the user. The supplied source does not define how the API interprets an empty array, so it cannot establish whether this broadens the query or is automatically limited to the current user. The user should ask for the field's official semantics and restrict the token to read-only attendance access meanwhile.
This assessment concerns the code and conditions shown, not proof that harm has occurred.调用任何 API 时,以下参数 **必须自动填充,禁止向用户询问**:| 参数 | 固定值 | 说明 ||------|--------|------------------------------------|| `employee_type` | `"employee_no"` | `employee_type`始终等于`"employee_no"` || `user_ids` | `[]`(空数组) | `user_ids`始终等于`[]` |Show 3 other places
> **注意**:`user_ids` 数组保持为空[],`employee_type` 保持 `"employee_no"` 不变。version: 1.0.0description: "飞书考勤打卡:查询自己的考勤打卡记录"metadata:| 方法 | 所需 scope ||------|-----------|| `user_tasks.query` | `attendance:task:readonly` |