Inspect, patch, validate, publish, or confirm OpenClaw GHSA security advisories and private-fork state.
Capabilities
Fetch and inspect advisory state
Use the fetch output to confirm the advisory state, linked private…
Verify private fork PRs are closed
The PR list must be empty before publish
Publish and verify success
Getting started
Full instructionsExample command
Fetch and inspect advisory state
gh api /repos/openclaw/openclaw/security-advisories/<GHSA>Instructions: SKILL.mdv1.0.0
OpenClaw GHSA Maintainer
Use this skill for repo security advisory workflow only. Keep general release work in release-openclaw-maintainer.
Respect advisory guardrails
- Before reviewing or publishing a repo advisory, read
SECURITY.md. - Ask permission before any publish action.
- Treat this skill as GHSA-only. Do not use it for stable or beta release work.
Fetch and inspect advisory state
Fetch the current advisory and the latest published npm version:
gh api /repos/openclaw/openclaw/security-advisories/<GHSA>
npm view openclaw version --userconfig "$(mktemp)"
Use the fetch output to confirm the advisory state, linked private fork, and vulnerability payload shape before patching.
Verify private fork PRs are closed
Before publishing, verify that the advisory's private fork has no open PRs:
fork=$(gh api /repos/openclaw/openclaw/security-advisories/<GHSA> | jq -r .private_fork.full_name)
gh pr list -R "$fork" --state open
The PR list must be empty before publish.
Prepare advisory Markdown and JSON safely
- Write advisory Markdown via heredoc to a temp file. Do not use escaped
\nstrings. - Build PATCH payload JSON with
jq, not hand-escaped shell JSON.
Example pattern:
cat > /tmp/ghsa.desc.md <<'EOF'
<markdown description>
EOF
jq -n --rawfile desc /tmp/ghsa.desc.md \
'{summary,severity,description:$desc,vulnerabilities:[...]}' \
> /tmp/ghsa.patch.json
Apply PATCH calls in the correct sequence
- Do not set
severityandcvss_vector_stringin the same PATCH call. - Use separate calls when the advisory requires both fields.
- Publish by PATCHing the advisory and setting
"state":"published". There is no separate/publishendpoint.
Example shape:
gh api -X PATCH /repos/openclaw/openclaw/security-advisories/<GHSA> \
--input /tmp/ghsa.patch.json
Publish and verify success
After publish, re-fetch the advisory and confirm:
state=publishedpublished_atis set- the description does not contain literal escaped
\\n
Verification pattern:
gh api /repos/openclaw/openclaw/security-advisories/<GHSA>
jq -r .description < /tmp/ghsa.refetch.json | rg '\\\\n'
Common GHSA footguns
- Publishing fails with HTTP 422 if required fields are missing or the private fork still has open PRs.
- A payload that looks correct in shell can still be wrong if Markdown was assembled with escaped newline strings.
- Advisory PATCH sequencing matters; separate field updates when GHSA API constraints require it.
- Public hardening/no-publish comments and draft text should avoid raw commit hashes, PR titles/numbers, and fix-mechanism summaries. Prefer patched-version fields or release-only wording; keep SHAs, PRs, and implementation notes in internal evidence.
Explore more skills
Browse all- Meme MakerSearch meme templates, suggest formats, and generate local or hosted image memes.
- Apple NotesCreate, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.
- himalayaHimalaya CLI for IMAP/SMTP mail: list, read, search, compose, reply, forward, copy, move, delete.
- Diagram MakerCreate SVG/HTML or Excalidraw diagrams for concepts, architecture, flows, and whiteboards.
- Apple RemindersList, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.
- obsidianWork with Obsidian vaults using the official obsidian CLI: read/search/create/edit notes, tasks, links, properties,…
Security
Reviews (0)
More from OpenClaw
View source →Frequently asked questions about openclaw-ghsa-maintainer
What does the openclaw-ghsa-maintainer skill do?
Inspect, patch, validate, publish, or confirm OpenClaw GHSA security advisories and private-fork state. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the openclaw-ghsa-maintainer skill?
Run `npx @skills-hub-ai/cli install openclaw-ghsa-maintainer` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/openclaw-ghsa-maintainer/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does openclaw-ghsa-maintainer work with?
openclaw-ghsa-maintainer runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the openclaw-ghsa-maintainer skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use openclaw-ghsa-maintainer after installing it?
In Claude Code, type `/openclaw-ghsa-maintainer` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the openclaw-ghsa-maintainer skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.
Badge for your README
Show that this skill is on Skills Hub. The badge links back to this page and shows the live install count.
[](https://skills-hub.ai/skills/openclaw-ghsa-maintainer)<a href="https://skills-hub.ai/skills/openclaw-ghsa-maintainer"><img src="https://skills-hub.ai/api/badges/skill/openclaw-ghsa-maintainer" alt="Install on Skills Hub"></a>More options in the badge docs.