/colin-shipping:github-security-advisoriesfrom colin-shipping
End-to-end GitHub Security Advisory handling: validate vulnerability reports, draft GHSA/CVE/CVSS fields, implement and commit fixes to private forks.
Ships in colin-shipping. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill for end-to-end GitHub Security Advisory (GHSA) handling: validate a vulnerability report, identify and implement a safe fix, commit it, prepare advisory form content, ask for the GHSA private fork/advisory identifier, and push the fix branch to the private fork.
origin unless the user explicitly asks.GHSA-hfqq-c3qm-38x8, not generic names like ghsa.TodoWrite to track each workflow stage.When the user provides a vulnerability report:
Valid, Likely valid, Needs more evidence, or Invalid.For XSS specifically:
Before editing when the fix is non-trivial:
For JavaScript-context values:
<?php echo Mage::helper('core')->jsonEncode($value) ?>
instead of:
"<?php echo $value ?>"
Use a branch name that references the report or advisory without leaking more than necessary. Examples:
git switch -c hackerone-3673977-product-name-stored-xss
or:
git switch -c GHSA-hfqq-c3qm-38x8
Before creating the branch:
git status --short
git branch --show-current
Do not overwrite unrelated local work.
After edits, inspect the diff carefully:
git diff --check
git diff
Run available focused tests or syntax checks. If local tooling is unavailable, state that clearly.
Commit only advisory-related files.
Suggested commit message format:
Fix stored XSS in MSRP JavaScript templates
or:
Fix <vulnerability class> in <component>
Commands:
git status --short
git add <files>
git diff --cached --check
git diff --cached
git commit -m "Fix <issue> in <component>"
git status --short
git log -1 --oneline
Provide copy/paste-ready content for the GitHub Security Advisory form.
Include:
Be explicit about uncertainty:
[PATCHED_VERSION] placeholders.After committing and preparing advisory fields, ask the user for the GHSA private fork details if not already provided.
Ask for one of:
https://github.com/OWNER/REPO/security/advisories/GHSA-hfqq-c3qm-38x8[email protected]:OWNER/REPO-ghsa-hfqq-c3qm-38x8.gitGHSA-hfqq-c3qm-38x8Do not guess the private fork URL unless the repo owner/name pattern is obvious and the user confirms.
Derive the remote name from the advisory ID:
GHSA-hfqq-c3qm-38x8
If the user provides an advisory URL:
https://github.com/OpenMage/magento-lts/security/advisories/GHSA-hfqq-c3qm-38x8
then remote name is:
GHSA-hfqq-c3qm-38x8
If the user provides a private fork URL like:
[email protected]:OpenMage/magento-lts-ghsa-hfqq-c3qm-38x8.git
infer remote name:
GHSA-hfqq-c3qm-38x8
Check existing remotes:
git remote -v
If a generic GHSA remote already exists, rename it to the advisory ID when appropriate:
git remote rename ghsa GHSA-hfqq-c3qm-38x8
If the correctly named remote does not exist, add it:
git remote add GHSA-hfqq-c3qm-38x8 [email protected]:OWNER/REPO-ghsa-hfqq-c3qm-38x8.git
If the remote exists but points elsewhere, stop and ask before changing it.
Push the current fix branch to the GHSA remote:
git branch --show-current
git push -u GHSA-hfqq-c3qm-38x8 HEAD
or explicitly:
git push -u GHSA-hfqq-c3qm-38x8 <branch-name>
Report:
Summarize succinctly:
Use this template when preparing advisory content.
## Title
<short vulnerability title>
## Ecosystem
Composer | npm | pip | Maven | Go | other
## Package name
<package name>
## Affected versions
<range or placeholder>
## Patched versions
<PATCHED_VERSION or placeholder>
## Weaknesses
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-116: Improper Encoding or Escaping of Output
## Severity / CVSS
Recommended: <Low|Medium|High|Critical>
CVSS v3.1: <vector>
Score: <score>
Rationale:
- AV: ...
- AC: ...
- PR: ...
- UI: ...
- S: ...
- C/I/A: ...
## Summary
<brief overview>
## Description
<technical root cause and vulnerable data flow>
## Impact
<what attacker can do and who is affected>
## Preconditions
- <condition 1>
- <condition 2>
## Affected components
- `<file or component>`
## Remediation
Upgrade to <PATCHED_VERSION> or apply <commit/patch>.
## Workarounds
- <temporary mitigation>
## Credits
<reporter / platform / report id>
## References
- <repo>
- <commit>
- <GHSA URL after publication>
Correct:
GHSA-hfqq-c3qm-38x8 [email protected]:OpenMage/magento-lts-ghsa-hfqq-c3qm-38x8.git
Incorrect:
ghsa [email protected]:OpenMage/magento-lts-ghsa-hfqq-c3qm-38x8.git
escapeHtml() is not a universal fix; output encoding must match the sink context.GHSA-...; private fork repo names often use lowercase ghsa-....What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ghsa, vulnerability-management, security-advisory, cve, cvss
npx claudepluginhub colinmollenhour/dotfiles --plugin colin-shipping34 skills in this plugin
/cclsp-fix-diagnosticsScan a codebase with the CCLSP MCP and fix reported diagnostics. Language- and project-agnostic. Use for "fix all the LSP errors", "check the workspace for errors", "fix diagnostics in <path>", or auditing a branch/PR/commit range for new errors. Default scope is the whole codebase, chunked. User can narrow to files, folders, commits, ranges, branches, PRs, or MRs./clickup-task-authoringAuthor a ClickUp task from a conversation, plan, review, incident, or spec as CUFM via cup task-sync. Covers the source-fidelity ledger, the house voice for task copy (plain verbs, declarative mood, paragraphs over lists, 5% length budget), rich description structure (banners, toggles, mermaid, tldraw, tables), open-decision blocks (question, AI Recommendation, two alternatives), title conventions, workspace Value Stream / Requested By / Bug-type rules, and the post-write audit. Use when creating or updating ClickUp task content (file a bug, write a ticket, turn this into a task). Load the clickup skill from `cup skill` for CUFM syntax and task-sync flags. Workspace IDs come from `cup` or a project ClickUp skill. Formerly clickup-tasks./cli-designDesign, implement, or review CLI UX: args, flags, help, output, errors, config, interactivity, and distribution.