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

publish-gate: scan a normalized copy of the page for escaped secrets and paths

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

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
62/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript
Lĩnh vực
security, tooling

Hướng nghiên cứu

Start in lib/publish-gate.mjs, which currently scans raw upload bytes only. Mirror the pages Worker normalization from melodic-software/provisioning#705 so HTML-escaped, tag-split, and JSON-escaped credential, path, and hostname shapes are scanned the same way. Add regression tests for those three sample forms, then regenerate the shared copies. Done when the client gate refuses those shapes before upload instead of after a 409/422.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

needs-human needs-triage

The pages Worker (melodic-software/provisioning#705) now also scans a normalized copy of each upload, so HTML-escaped, tag-split and JSON-escaped credential, path and hostname shapes are caught. lib/publish-gate.mjs scans only the raw bytes, so its early check misses those forms. The Worker remains the enforcing layer; this aligns the client gate so it routes or refuses before upload instead of after a 409/422. Add the same normalization and regression tests (escaped entity, tag-split, JSON-escaped samples), then regenerate the shared copies.

Ngôn ngữ chính
Shell
Star
22
Fork
2
Merge trung bình
5 giờ 4 phút
Pull request đã merge (30 ngày)
825

Chuẩn bị môi trường

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 melodic-software/claude-code-plugins

Tất cả issue của melodic-software/claude-code-plugins

Issue tương tự

Thêm issue về Shell/Bash

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.