插件市场安装 TapTap Maker 时因权限展示不一致被 PRECONDITION_FAILED 阻止
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 401
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
**提交人**: 用户1629
**客户端版本**: 0.1.28
---
## 现象
在插件市场打开 TapTap Maker v2.1.10,点击“安装”后,界面提示“操作期间账号、插件或版本已发生变化,请确认最新状态后重试”。退出 Cindy、重启电脑并重新进入插件详情页后仍稳定复现,插件未安装或启用。
宿主日志显示,界面提示掩盖了更具体的安全校验错误:
```text
[PRECONDITION_FAILED] 下载包申请的权限多于安装确认框展示的内容,已阻止安装(请向插件来源反馈)
```
日志列出的未展示权限为:
- `tool:maker_status`
- `tool:maker_init`
- `tool:maker_build`
- `tool:maker_list_tools`
- `tool:maker_call_tool`
同一时段尝试安装其他市场插件时,也出现“market package declares unreviewed permissions”及相同的 `PRECONDITION_FAILED`,可能是插件市场权限元数据与安装确认框之间的兼容问题。
## 复现步骤
1. 打开 Cindy 侧边栏的插件市场。
2. 进入 TapTap Maker v2.1.10 详情页。
3. 点击“安装”。
4. 观察顶部通用错误提示。
5. 完整退出并重新启动 Cindy,再次安装,问题仍复现。
## 期望行为
安装确认框完整展示下载包申请的工具权限;用户确认后,宿主通过权限校验并原子安装插件。
## 实际行为
安装确认框展示的权限少于下载包实际申请的权限,宿主按安全策略阻止安装,但界面只显示账号、插件或版本发生变化的通用提示,用户无法得知真实原因,也无法通过刷新或重启恢复。
---
**版本区域**: CN
**OS**: win32 x64 (10.0.22631)
**界面语言**: zh-CN
Contributor guide
Research direction
Start by tracing the plugin-market installation flow from the install confirmation through the PRECONDITION_FAILED permission check, using the reported TapTap Maker permissions and host logs as the reproduction case. Compare the permissions declared by the downloaded package with those shown in the confirmation dialog and the resulting user-facing error; done means valid permissions are displayed and confirmed installations proceed atomically, while mismatches expose the specific security reason.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- desktop, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100