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

[guidelines] side-quest-17-07-repo-poisoning.md: incorrect network.allowed-domains field name

Đã đóng Phù hợp với người mới
#4,083 0 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ó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
88/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Lĩnh vực
documentation

Hướng nghiên cứu

Mở workshop/side-quest-17-07-repo-poisoning.md và xem lại các trường hợp được liệt kê trong issue, đối chiếu chúng với các ví dụ network.allowed trong các trang workshop được tham chiếu và tài liệu mạng gh-aw. Hoàn thành khi mọi tham chiếu trong phần văn xuôi và mọi khóa YAML đều sử dụng network.allowed/allowed nhất quán, không còn trường hợp nào của allowed-domains.

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

Mô tả

bug documentation guidelines

File reviewed

workshop/side-quest-17-07-repo-poisoning.md

Violations

Factual accuracy — wrong frontmatter field name

Offending text:

Apply the three gh-aw defences: contents: read, safe-outputs: create-pull-request, and network.allowed-domains.

The page also uses network.allowed-domains (and a network: / allowed-domains: YAML example) at lines 13, 111, 115-116, 166, 186, and 198.

Every other workshop page and workflow file in this repository (for example side-quest-10-02-jailbreak-brief.md, side-quest-16-03-token-exfiltration.md, side-quest-16-05-long-lived-credentials.md, side-quest-17-02-security-architecture.md, side-quest-24-01-runner-infrastructure.md, side-quest-25-01-audit-reference.md, and all .github/workflows/*.md files) uses network.allowed. The upstream github/gh-aw docs (docs/src/content/docs/reference/network.md) also confirm the field is network: / allowed:, not allowed-domains:.

Suggested fix:
Replace every network.allowed-domains reference and the allowed-domains: YAML key in this file with network.allowed / allowed:, matching the usage in every other workshop page (e.g., side-quest-25-01-audit-reference.md). This requires editing several spots (prose mentions, a YAML code block, a table row, and a checklist item), so it needs a careful full-file pass rather than a single mechanical substitution.

Checklist size limit exceeded (related complex violation also tracked for this file's sibling; noting here since it touches the same hardening section)

No separate action needed here — see the companion issue for side-quest-21-01-sub-agent-syntax.md checkbox count.

[!WARNING]

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • registry.npmjs.org

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "registry.npmjs.org"

See Network Configuration for more information.

Generated by 📋 Guidelines Enforcer · copilot · auto · 143.1 AIC · ⌖ 6.13 AIC · ⊞ 9.6K · ◷

  • expires on Oct 9, 2026, 4:04 AM UTC
Ngôn ngữ chính
JavaScript
Star
55
Fork
36
Merge trung bình
2 ngày 8 giờ
Pull request đã merge (30 ngày)
17

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

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

  • Không có Dockerfile hay tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

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 githubnext/gh-aw-workshop

Tất cả issue của githubnext/gh-aw-workshop

Issue tương tự

Thêm issue về JavaScript

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.