fix(web): API key settings follow-ups (error handling, CSRF origin check, empty scopes label)
维护者通常 1 天内回复
评估
这个 Issue 还没有评估数据。
描述
Follow-up from the independent review of #77 (scoped publishing keys in Settings). All low severity; none block.
apps/web/app/routes/api.user-api-keys.tsDELETE with a malformed JSON body returns 500 instead of 400 (POST got the guard).apps/web/app/routes/settings.tsxthe create dialog closes before the server responds; on 400/403 the user loses the name and selected publishers.apps/web/app/components/settings/api-keys-table.tsxa key whose stored scopes parse to[]shows an empty Access cell instead of "No access".api.user-api-keys.tsscopes: nullreturns 400 while docs only describe omitting the field (fails safe; document or accept null as omitted).- The route has no Origin/CSRF check and relies on the session cookie's default
SameSite=Lax; a sibling subdomain could send cookie-bearing requests. Pre-existing; consider an Origin check on mutating auth routes. settings.tsxafter Done the plaintext key stays in the in-memory action result until the next navigation (not re-shown).- Separate: the
api.skill-favoriteclient chunk contains thekey_hashcolumn name (no data); check that no server-only module is imported client-side there.
- 主要语言
- TypeScript
- 星标
- 189
- 派生
- 40
- 平均合并
- 7 小时 31 分钟
- 30 天内合并 PR
- 43
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nextlevelbuilder/skillx 的其他 Issue
-
ai-handle
难度 2/5 1-3 小时 新手友好度 83/100
nextlevelbuilder/skillx#105 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
nextlevelbuilder/skillx#28 ·
维护者通常 1 天内回复
-
refactor
难度 2/5 1-3 小时 新手友好度 82/100
nextlevelbuilder/skillx#27 ·
维护者通常 1 天内回复
-
ai-handle
难度 3/5 1-2 天 新手友好度 72/100
nextlevelbuilder/skillx#113 ·
维护者通常 1 天内回复
-
feat(quality-packs): QGP foundation packs, private overrides và three-way rebase giữ nguyên opt-out未关闭enhancement
难度 5/5 一周以上 新手友好度 18/100
nextlevelbuilder/skillx#108 ·
维护者通常 1 天内回复
查看 nextlevelbuilder/skillx 的全部 Issue
相似的 Issue
-
[BUG] rag: sentence content can cross the reported sentence boundaries可能已有人在做 @LJK-ikun 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
bug needs-triage
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
README: the Resource URI Schemas example's file://documents/* pattern only matches that literal URI未关闭
难度 1/5 1 小时以内 新手友好度 88/100
platformatic/mcp#361 ·
维护者通常 1 天内回复
-
frontend
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
Push: sem service worker ou sem VAPID, o interruptor de Notificações fica ligado sem avisar nada未关闭
难度 2/5 1-3 小时 新手友好度 76/100
melgarafael/DeskcommCRM#3164 ·
维护者通常 1 天内回复