Credential Access
- Category
- Privilege Escalation
- Confidence
- 95% confidence
- Finding
The skill explicitly instructs the user to send an
Access Secretin the conversation, which exposes a credential to the model/runtime and any associated logs, transcripts, or downstream integrations. Even if the secret is not echoed back, collecting it through chat is a dangerous credential-handling pattern and can lead to account compromise if retained or leaked.- Content
md 2. `update_check.status=unavailable`:只表示本次无法确认远端版本,不得声称已是最新版;本地 CLI 可用时继续用户任务。 3. `compatible=false`:当前 CLI 低于 Skill 最低要求,先请求用户授权升级,升级完成前不调用业务命令。 4. CLI 或 Skill 存在可选更新:先完成当前任务,再简短提醒用户;只有用户同意后才更新。 5. 用户已经明确要求“安装并初始化”,或提供了明确要求完成初始化的开放平台安装 prompt:视为同时授权安装 CLI、在线验证 Access Secret,并最小读取一条本人内容作为验收;后两项会调用开放平台接口,可能消耗接口额度,无需逐项重复询问。若用户只授权安装,不执行第 9 步。 6. 获得授权后,运行对应平台的 `scripts/setup.sh` 或 `scripts/setup.ps1`,保存 stdout JSON 中的绝对 `binary_path`,再运行一次 status。 7. `auth.configured=false`:引导用户打开 <https://developer.zhihu.com/profile>,登录并手动生成 Access Secret,然后等待用户在对话中发送。 8. 收到 Access Secret 后,不在回复中复述完整内容。启动以下命令,并通过进程标准输入传入 Secret:
