Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

已关闭 适合新手
#4,083 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
88/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
领域
documentation

调研方向

打开 workshop/side-quest-17-07-repo-poisoning.md,检查 issue 中列出的出现位置,并将其与所引用 workshop 页面和 gh-aw 网络文档中的 network.allowed 示例进行比较。当所有 prose 引用和 YAML 键都一致使用 network.allowed/allowed,且不再存在 allowed-domains 时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

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
主要语言
JavaScript
星标
56
派生
40
平均合并
2 天 7 小时
30 天内合并 PR
16

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

githubnext/gh-aw-workshop 的其他 Issue

查看 githubnext/gh-aw-workshop 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。