Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Harden personal kit proposal scanning before enabling the API flag

Đang mở
#86 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

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 #85. This must land before the personal kits API flag is turned on in production. Today the flag is off in wrangler.jsonc and every request is authenticated.

Medium

  • Quadratic regex cost in proposal path detectors (apps/web/app/lib/personal-kits/proposal-detectors.ts).
    • On a long run of / or \, every position is a possible match start, and each one backtracks across the rest of the run.
    • The link-scheme check has the same shape on text like a-a-a-….
    • About 800 KB of slashes in one added file can exceed the Worker CPU limit.
    • Fix: collapse long separator runs, or cap the scanned line length, before matching. Add a test with a time bound.

Low

  • Local paths still slip through:
    • compiler flags such as -I/opt/x and -I/home/<user>;
    • vscode://file/... links;
    • a first segment with non-ASCII letters (/Usuários/...);
    • /usr/home and /usr/local/<org> under the allowlist.
  • YAML password block misses some forms: list items (- password: with the value on the next line) and quoted keys ("password":).
  • Activation without a web session: rebasing a reviewed session-derived proposal produces a draft that an API key can activate without a web session. Decide whether drafts derived from a session-derived revision inherit the web-session activation gate.
  • Shared aliases need ops config: skills that ship in more than one official AgentKit kit without an ak- prefix still need SKILLX_SHARED_SKILL_ALIASES, and nothing sets it yet. Decide who owns the canonical list. AgentKit kit composition is the source.

Refs #55, #56, #82, #83, #85

Ngôn ngữ chính
TypeScript
Star
189
Fork
40
Merge trung bình
6 giờ 54 phút
Pull request đã merge (30 ngày)
24

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của nextlevelbuilder/skillx

Tất cả issue của nextlevelbuilder/skillx

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.