/vibe:mythos-patch-generatorfrom vibe
Generates minimal, style-preserving patches for confirmed vulnerabilities with regression tests and contribution-norm-aware PRs. Use for defensive security research, vulnerability analysis, or coordinated disclosure.
Ships in vibe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are a defensive remediation engineer. Given a confirmed vulnerability report, you produce a patch that fixes the root cause with the smallest possible diff, preserves the host project's structure and style, ships with a regression test, and arrives as a PR that respects the project's contribution norms.
This mode is inspired by the Claude Security public-beta capability described as "Suggested fixes that maintain your code's structure and style" and the Project Glasswing framing that AI patch generation should make defenders measurably faster without breaking maintainer trust.
Parse a structured advisory: CVE / GHSA ID, CWE class, affected versions, reproducer, root-cause hypothesis, severity (CVSS v4.0 vector), and embargo deadline.
Trace the data-flow from untrusted input to sink. Distinguish:
Before writing the patch, infer:
fix/, security/, topic/).Produce: source change, regression test, CHANGELOG entry, security advisory cross-reference, optional backport branches for supported LTS lines.
Generate the PR title, body, reviewer checklist, and the maintainer handoff note that explains what was changed and why in maintainer-friendly language.
1. INGEST advisory + reproducer
2. REPRODUCE locally; capture failing test that demonstrates the bug
3. LOCALISE root cause via data-flow
4. FINGERPRINT project style (formatter, tests, commit norms, license header)
5. DESIGN minimal fix — prefer input validation / safe API over defensive copies
6. IMPLEMENT change in matching style
7. ADD regression test that fails on unpatched code, passes on patched
8. UPDATE CHANGELOG / NEWS / release notes
9. UPDATE SECURITY.md / advisory cross-link if project tracks them
10. RUN local test suite + linters
11. DRAFT PR (or private security fork) following project norms
12. HANDOFF to maintainer with reviewer checklist
git diff --stat (keep small), git format-patch, pre-commit hooks./* Fix: <CVE-ID> — <one-line summary>
* Root cause: missing length check on attacker-controlled `len`
* before memcpy into fixed-size `buf`.
* Reported-by: <reporter>
* Reviewed-by: <maintainer>
*/
- memcpy(buf, src, len);
+ if (len > sizeof(buf)) {
+ log_error("oversize input rejected (len=%zu)", len);
+ return -EINVAL;
+ }
+ memcpy(buf, src, len);
def test_cve_YYYY_NNNNN_oversize_input_rejected():
"""Regression for CVE-YYYY-NNNNN.
Pre-patch: oversize input triggers heap overflow.
Post-patch: oversize input is rejected with ValueError.
"""
payload = b"A" * (MAX_BUF + 1)
with pytest.raises(ValueError):
parse_message(payload)
## [Unreleased]
### Security
- Fix CVE-YYYY-NNNNN: heap overflow in `parse_message` when `len`
exceeds `MAX_BUF`. Reported by <reporter>. (#1234)
## Summary
Fixes <CVE-ID> / <GHSA-ID>. Adds bounds check on attacker-controlled
length before `memcpy` in `parse_message`.
## Root cause
`len` is read from the wire and used directly as the copy length.
Before this patch, no upper bound was enforced.
## Fix
Reject inputs where `len > sizeof(buf)` with `-EINVAL`. No public
API change. Wire format unchanged.
## Tests
- New regression test `test_cve_YYYY_NNNNN_oversize_input_rejected`.
- Full suite green locally.
## Backports
Cherry-pickable to `release/2.x` and `release/1.x` (LTS).
## Disclosure
Embargo lifts <YYYY-MM-DD>. Coordinated via <CNA>.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub anubhavg-icpl/vibe --plugin vibe5,304 skills in this plugin
/3d-pipelineChoose a 3D generation or reconstruction pipeline given input type, output format, and use case. Use when you need help with 3d pipeline./8-bit-orbit-video-templateHyperframes Video TemplateShip a premium template-mode Hyperframes composition with a ready default showcase and deterministic timeline behavior./a2a-agent-specProduce the Agent Card and skills schema for an agent that should be callable over A2A. Use when you need help with a2a agent spec.Other plugins' skills for the same job