The authorization link is exposed in command arguments, the reply, and a generated PNG file
Source references: 3The Skill requires passing the verification URL as an argument to `lark-cli auth qrcode`, creating a relative-path PNG, and displaying both the original link and QR code to the user.
The authorization link appears in agent output and a workspace file, and may also be visible to local process-argument recording. If those locations are shared while the authorization flow remains valid, another person could obtain the same link.
The source does require placing the verification URL in a QR command argument, writing a PNG, and sending both the link and QR image into the conversation. If process arguments, chat logs, or the output file are readable by other local users, logging systems, or a shared workspace, temporary authentication information could leak. The source does not establish access controls or require PNG cleanup. Users can ask about link lifetime and cleanup, and restrict output to a private directory and private conversation.
3. **授权 / 配置类 URL 必须配二维码**:当命令输出 `verification_url`、`verification_uri_complete`、`console_url` 等 URL 字段时,必须用 `lark-cli auth qrcode` 生成并在回复中展示,URL 在前二维码在后;优先生成 PNG(`--output`),仅当用户明确要求时才使用 ASCII(`--ascii`)。URL 原样转发——不编解码、不加标点、不重拼 query,二维码和链接请一起展示给用户。Show 2 other places
5. **文件路径只接受相对路径**:`--file`、`--output`、`--output-dir`、`@file` 等路径参数只接受 cwd 下的相对路径,传绝对路径会报 `unsafe file path`。数据输入(`@file`、大 JSON)优先用 stdin 传入,避免路径和转义问题。1. 执行 `lark-cli auth login --scope "xxx" --no-wait --json`(必须加 `--no-wait --json`)2. 从 JSON 输出中提取 `verification_url` 和 `device_code`3. 生成二维码:`lark-cli auth qrcode <verification_url> --output "xxx"`4. 将 URL 和二维码展示给用户(先 URL,后二维码)5. **结束本轮对话前,必须明确告知用户**:"请完成授权后,回来告诉我已授权完成,我会帮你完成后续步骤"