跳到正文
cccskills
免费在 GitHub 公开中文介绍

deal-with-security-advisory

用于处理Paperclip的非公开漏洞报告,涵盖调查、私有分支中的修复验证、CVE申请、安全公告发布,以及紧急版本发布后的确认。

原文查看原文说明

Handle confidential GitHub Security Advisory response for Paperclip. Use when coordinating advisory triage, private-fork fixes, CVE/publication steps, and immediate security releases.

集成工具GitHub

实测评分 未实测

查看安装方法

适用场景

  • 调查非公开漏洞报告
  • 在私有派生仓库中验证修复
  • 协调安全公告与紧急版本发布
  • 确认CVE分配与版本发布

中文介绍

功能

处理Paperclip收到的漏洞报告,涵盖内容核查、修复、安全公告发布和紧急版本发布。通过GitHub Security Advisory确认攻击路径和严重程度,在临时私有派生仓库中修复。验证包括修复前复现、修复后确认,以及检查类似攻击路径。还负责申请漏洞标识编号CVE、核对报告者署名、登记修复版本信息,并在公开后检查结果。

适用场景

适合Paperclip维护者在公开前保护报告内容并推进修复。协调安全公告与修复版本的发布,让用户在漏洞公开后能够更新。

使用示例

  • “检查这份GHSA,在私有派生仓库中修复并进行本地验证。”
  • “检查CVE申请和报告者署名,准备安全更新版本。”

注意事项

这是面向Paperclip的流程,需要GitHub CLI的gh及相应认证和权限。公开前的信息须保持非公开。临时私有派生仓库不运行CI,因此测试须在本地执行。与报告者的沟通由人工在安全公告讨论串中发布。

本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。

文档检查

AI 根据 SKILL.md 的内容检查了需要注意的操作和使用前提。评分只依据实际运行的结果(实测对比)。

安全性发送数据、删除文件、执行命令等是否有说明
C需确认虽明确保密要求,但公告公开和版本发布无需人工批准。
安装难易度所需工具和 API 密钥是否少且有说明
B部分不足要求具备gh和认证信息,但未说明安装及所需权限的配置步骤。

不计入评分。 由 AI(OpenAI Codex)于 2026年10月20日 评估。仅供参考,安装前请同时查看原文。

如果您认为评估有误,请申请复核

请写明哪一项有误以及原因。无需登录。我们会对照 SKILL.md 重新评估,并在此处更新结果。

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

包含的文件(1)

  • SKILL.md7.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Security Vulnerability Response Instructions

⚠️ CRITICAL: This is a security vulnerability. Everything about this process is confidential until the advisory is published. Do not mention the vulnerability details in any public commit message, PR title, branch name, or comment. Do not push anything to a public branch. Do not discuss specifics in any public channel. Assume anything on the public repo is visible to attackers who will exploit the window between disclosure and user upgrades.


Context

A security vulnerability has been reported via GitHub Security Advisory:

  • Advisory: {{ghsaId}} (e.g. GHSA-x8hx-rhr2-9rf7)
  • Reporter: {{reporterHandle}}
  • Severity: {{severity}}
  • Notes: {{notes}}

Step 0: Fetch the Advisory Details

Pull the full advisory so you understand the vulnerability before doing anything else:

gh api repos/paperclipai/paperclip/security-advisories/{{ghsaId}}

Read the description, severity, cvss, and vulnerabilities fields. Understand the attack vector before writing code.

Step 1: Acknowledge the Report

⚠️ This step requires a human. The advisory thread does not have a comment API. Ask the human operator to post a comment on the private advisory thread acknowledging the report. Provide them this template:

Thanks for the report, @{{reporterHandle}}. We've confirmed the issue and are working on a fix. We're targeting a patch release within {{timeframe}}. We'll keep you updated here.

Give your human this template, but still continue

Below we use gh tools - you do have access and credentials outside of your sandbox, so use them.

Step 2: Create the Temporary Private Fork

This is where all fix development happens. Never push to the public repo.

gh api --method POST \
  repos/paperclipai/paperclip/security-advisories/{{ghsaId}}/forks

This returns a repository object for the private fork. Save the full_name and clone_url.

Clone it and set up your workspace:

# Clone the private fork somewhere outside ~/paperclip
git clone <clone_url_from_response> ~/security-patch-{{ghsaId}}
cd ~/security-patch-{{ghsaId}}
git checkout -b security-fix

Do not edit ~/paperclip — the dev server is running off the ~/paperclip master branch and we don't want to touch it. All work happens in the private fork clone.

TIPS:

  • Do not commit pnpm-lock.yaml — the repo has actions to manage this
  • Do not use descriptive branch names that leak the vulnerability (e.g., no fix-dns-rebinding-rce). Use something generic like security-fix
  • All work stays in the private fork until publication
  • CI/GitHub Actions will NOT run on the temporary private fork — this is a GitHub limitation by design. You must run tests locally

Step 3: Develop and Validate the Fix

Write the patch. Same content standards as any PR:

  • It must functionally work — run tests locally since CI won't run on the private fork
  • Consider the whole codebase, not just the narrow vulnerability path. A patch that fixes one vector but opens another is worse than no patch
  • Ensure backwards compatibility for the database, or be explicit about what breaks
  • Make sure any UI components still look correct if the fix touches them
  • The fix should be minimal and focused — don't bundle unrelated changes into a security patch. Reviewers (and the reporter) should be able to read the diff and understand exactly what changed and why

Specific to security fixes:

  • Verify the fix actually closes the attack vector described in the advisory. Reproduce the vulnerability first (using the reporter's description), then confirm the patch prevents it
  • Consider adjacent attack vectors — if DNS rebinding is the issue, are there other endpoints or modes with the same class of problem?
  • Do not introduce new dependencies unless absolutely necessary — new deps in a security patch raise eyebrows

Push your fix to the private fork:

git add -A
git commit -m "Fix security vulnerability"
git push origin security-fix

Step 4: Coordinate with the Reporter

⚠️ This step requires a human. Ask the human operator to post on the advisory thread letting the reporter know the fix is ready and giving them a chance to review. Provide them this template:

@{{reporterHandle}} — fix is ready in the private fork if you'd like to review before we publish. Planning to release within {{timeframe}}.

Proceed

Step 5: Request a CVE

This makes vulnerability scanners (npm audit, Snyk, Dependabot) warn users to upgrade. Without it, nobody gets automated notification.

gh api --method POST \
  repos/paperclipai/paperclip/security-advisories/{{ghsaId}}/cve

GitHub is a CVE Numbering Authority and will assign one automatically. The CVE may take a few hours to propagate after the advisory is published.

Step 6: Publish Everything Simultaneously

This all happens at once — do not stagger these steps. The goal is zero window between the vulnerability becoming public knowledge and the fix being available.

6a. Verify reporter credit before publishing

gh api repos/paperclipai/paperclip/security-advisories/{{ghsaId}} --jq '.credits'

If the reporter is not credited, add them:

gh api --method PATCH \
  repos/paperclipai/paperclip/security-advisories/{{ghsaId}} \
  --input - << 'EOF'
{
  "credits": [
    {
      "login": "{{reporterHandle}}",
      "type": "reporter"
    }
  ]
}
EOF

6b. Update the advisory with the patched version and publish

gh api --method PATCH \
  repos/paperclipai/paperclip/security-advisories/{{ghsaId}} \
  --input - << 'EOF'
{
  "state": "published",
  "vulnerabilities": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "paperclip"
      },
      "vulnerable_version_range": "< {{patchedVersion}}",
      "patched_versions": "{{patchedVersion}}"
    }
  ]
}
EOF

Publishing the advisory simultaneously:

  • Makes the GHSA public
  • Merges the temporary private fork into your repo
  • Triggers the CVE assignment (if requested in step 5)

6c. Cut a release immediately after merge

cd ~/paperclip
git pull origin master

gh release create v{{patchedVersion}} \
  --repo paperclipai/paperclip \
  --title "v{{patchedVersion}} — Security Release" \
  --notes "## Security Release

This release fixes a critical security vulnerability.

### What was fixed
{{briefDescription}} (e.g., Remote code execution via DNS rebinding in \`local_trusted\` mode)

### Advisory
https://github.com/paperclipai/paperclip/security/advisories/{{ghsaId}}

### Credit
Thanks to @{{reporterHandle}} for responsibly disclosing this vulnerability.

### Action required
All users running versions prior to {{patchedVersion}} should upgrade immediately."

Step 7: Post-Publication Verification

# Verify the advisory is published and CVE is assigned
gh api repos/paperclipai/paperclip/security-advisories/{{ghsaId}} \
  --jq '{state: .state, cve_id: .cve_id, published_at: .published_at}'

# Verify the release exists
gh release view v{{patchedVersion}} --repo paperclipai/paperclip

If the CVE hasn't been assigned yet, that's normal — it can take a few hours.

⚠️ Human step: Ask the human operator to post a final comment on the advisory thread confirming publication and thanking the reporter.

Tell the human operator what you did by posting a comment to this task, including:

  • The published advisory URL: https://github.com/paperclipai/paperclip/security/advisories/{{ghsaId}}
  • The release URL
  • Whether the CVE has been assigned yet
  • All URLs to any pull requests or branches

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

add-product-e2e-eval

免费有简介

为Paperclip新增或扩展贯穿真实浏览器、服务器、数据库和runner的端到端评估,整理测试数据、判定条件与证据,并在现有报告中查看操作结果。

  • 新增完整用户操作流程的评估
  • 更新测试数据与判定条件
  • 在评估报告中加入截图和产物
paperclipai/paperclip10.7万2026年10月23日 更新

add-runner-eval

免费有简介

为Paperclip Runner添加或扩展行为评估,定义判定条件、执行目标和报告验证数据,利用正常及异常证据验证结果,并保留执行记录与费用。

  • 添加Runner行为评估
  • 用有效与无效证据检验判定
  • 更新执行列表和持续评估
paperclipai/paperclip10.7万2026年10月23日 更新

agent-browser

免费有简介

通过实际浏览器操作网页和应用,检查界面显示与运行情况。结合截图、简单表单填写、错误及网络请求记录,帮助复现问题并确认操作结果。

  • 检查界面修改后的显示效果
  • 读取由JavaScript渲染的内容
  • 复现界面问题并记录错误
paperclipai/paperclip10.7万2026年10月23日 更新

agentmail

免费有简介

通过 Paperclip 分配的 AgentMail 收件箱,查看任务关联邮件、发送新邮件或回复,并核查投递结果;重试时保留相同标识,避免重复发送。

  • 查看所负责任务关联的邮件
  • 从分配的收件箱发送新邮件
  • 回复会话中的指定邮件
paperclipai/paperclip10.7万2026年10月23日 更新

check-pr

免费有简介

检查GitHub、GitLab和Perforce变更中的评审意见、自动检查失败及说明缺漏,整理待办事项,并按请求协助修改和解决已处理的讨论。

  • 提交变更前进行检查
  • 确认失败的检查和待修改项
  • 整理人工及机器人评审意见
paperclipai/paperclip10.7万2026年10月23日 更新

company-creator

免费有简介

根据构想或现有代码仓库,梳理AI智能体的职责、汇报关系与工作交接,生成符合规范的公司或团队文件包,供组织协作和导入Paperclip使用。

  • 从构想建立智能体公司
  • 将代码仓库整理为团队
  • 设计职责分工与工作交接
paperclipai/paperclip10.7万2026年10月23日 更新

查看 paperclipai 的全部技能

报告此技能的问题