fix(web): API key settings follow-ups (error handling, CSRF origin check, empty scopes label)
Maintainer thường phản hồi trong vòng 1 ngày
@mrgoonie đang làm issue này rồi.
Từ ngày 14/10/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 189
- Fork
- 40
- Merge trung bình
- 7 giờ 38 phút
- Pull request đã merge (30 ngày)
- 30
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của nextlevelbuilder/skillx
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
nextlevelbuilder/skillx#49 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
nextlevelbuilder/skillx#28 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
refactor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
nextlevelbuilder/skillx#27 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Personal-kit API gaps for AgentKit kit publish/syncCó thể đã có người làm @mrgoonie đã nhận 2 ngày trước. Đang mở
nextlevelbuilder/skillx#88 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 12/100
nextlevelbuilder/skillx#81 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của nextlevelbuilder/skillx
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Chocobozzz/PeerTube#7832 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Pay to use?Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 66/100
darkreader/darkreader#16108 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Add: Dak Nong TV SDĐang mởcheck:passed streams:add
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug engine
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
frostney/GocciaScript#1746 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
agilepathway/label-checker#739 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày