Security triage

From qianleigood/crawclaw · View interactive version

Security triage is an AI agent skill from the GitHub repository qianleigood/crawclaw. Triage GitHub security advisories for CrawClaw with high-confidence close/keep decisions, exact tag and commit verification, trust-model checks, optional hardening notes, and a final reply ready to post and copy to clipboard.

How to use this skill

Skill file

Security Triage

Use when reviewing CrawClaw security advisories, drafts, or GHSA reports.

Goal: high-confidence maintainers' triage without over-closing real issues or shipping unnecessary regressions.

Close Bar

Close only if one of these is true:

Do not close only because main is fixed. If latest shipped tag or npm release is affected, keep it open until released or published with the right status.

Required Reads

Before answering:

  1. Read SECURITY.md.
  2. Read the GHSA body with gh api /repos/crawclaw/crawclaw/security-advisories/<GHSA>.
  3. Inspect the exact implicated code paths.
  4. Verify shipped state:
  1. Search for canonical overlap:

Review Method

For each advisory, decide:

Check in this order:

  1. Trust model
  1. Shipped behavior
  1. Exploit path
  1. Functional tradeoff

Response Format

When preparing a maintainer-ready close reply:

  1. Print the GHSA URL first.
  2. Then draft a detailed response the maintainer can post.
  3. Include:

Keep tone firm, specific, non-defensive.

Clipboard Step

After drafting the final post body, copy it:

pbcopy <<'EOF'
<final response>
EOF

Tell the user that the clipboard now contains the proposed response.

Useful Commands

gh api /repos/crawclaw/crawclaw/security-advisories/<GHSA>
gh api /repos/crawclaw/crawclaw/security-advisories --paginate
git tag --sort=-creatordate | head -n 20
npm view crawclaw version --userconfig "$(mktemp)"
git tag --contains <commit>
git show <tag>:<path>
gh search issues --repo crawclaw/crawclaw --match title,body,comments -- "<terms>"
gh search prs --repo crawclaw/crawclaw --match title,body,comments -- "<terms>"

Decision Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.