vuln-report
Skill531 starsChanged 4 months agoMITView on GitHub
Turn one confirmed security finding into a disclosure-ready GitHub advisory with root cause, proof of concept, impact, and source evidence. Use for reporting an established vulnerability, not discovering or validating one.
In this repository53 other files it gives its agents.
- agentic-actions-auditorSkill
- agents-md-improverSkill
- agents-md-reviseSkill
- ai-slopSkill
- code-architectSkill
- code-explorerSkill
- codeqlSkill
- code-qualitySkill
- code-reviewerSkill
- code-reviewSkill
- design-patternsSkill
- differential-reviewSkill
- feature-devSkill
- fp-checkSkill
- frontend-designSkill
- hf-cliSkill
- hf-cloud-aws-context-discoverySkill
- hf-cloud-python-env-setupSkill
- hf-cloud-sagemaker-deployment-plannerSkill
- hf-cloud-sagemaker-iam-preflightSkill
- hf-cloud-sagemaker-production-defaultsSkill
- hf-cloud-serving-image-selectionSkill
- hf-memSkill
- huggingface-bestSkill
- huggingface-community-evalsSkill
- huggingface-datasetsSkill
- huggingface-gradioSkill
- huggingface-llm-trainerSkill
- huggingface-local-modelsSkill
- huggingface-lora-space-builderSkill
- huggingface-paper-publisherSkill
- huggingface-papersSkill
- huggingface-spacesSkill
- huggingface-tool-builderSkill
- huggingface-trackioSkill
- huggingface-vision-trainerSkill
- huggingface-zerogpuSkill
- insecure-defaultsSkill
- mcp-builderSkill
- paper-summarizerSkill
- sarif-parsingSkill
- security-reviewSkill
- security-threat-modelSkill
- semgrep-rule-creatorSkill
- semgrep-rule-variant-creatorSkill
- semgrepSkill
- sharp-edgesSkill
- skill-creatorSkill
- supply-chain-risk-auditorSkill
- train-sentence-transformersSkill
- transformers-jsSkill
- trl-trainingSkill
- variant-analysisSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. About 0 are common, 14 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈14
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
Always embed at least one fenced code snippet from the decisive code path, and explain what each snippet proves.
- Distinctive: line 27
Always convert repository file references and patch references into GitHub markdown links, and prefer embedding those links directly into …
- Distinctive: line 28
Add only the optional sections that materially improve accuracy or triage value.
- Distinctive: line 30
Remove filler, hedging, and unproven claims before finalizing.
- Distinctive: line 34
Always include these sections in this order:
- Very specific: line 42
If the repository already uses Technical Details with Root Cause nested under it, preserve that local pattern.
- Distinctive: line 47
Use the smallest snippet that proves the bug.
- Distinctive: line 49
Add GitHub markdown links for source files, line anchors, controllers, helpers, patch commits, or affected surfaces whenever the repository …
- Distinctive: line 50
When constructing GitHub source links, use the latest commit SHA (from git rev-parse HEAD or the most recent commit visible in context) …
- Very specific: line 51
Prefer embedding inline markdown links into explanatory sentences such as The following code in build_request reads attacker-controlled …
- Distinctive: line 52
Keep non-GitHub standards or spec citations as normal markdown links.
- Very specific: line 58
Do not write prose pointers such as See draft.md, See debate.md, See adversarial-review.md, See metadata.json, See pN-NNN for full trace, …
- Very specific: line 59
Do not cite internal phase IDs (pN-NNN, p10-NNN, AP-NNN) — these are pipeline bookkeeping, not reader-facing references.
- Distinctive: line 62
Before finalizing, scan the draft for the banned phrasings above and rewrite any occurrence to inline the content.
- Distinctive: line 80
Use the shortest reliable reproduction.
- Very specific: line 102
Do not add Affected Components or Remediation sections unless the user explicitly asks for them.
- Distinctive: line 106
Keep one bug per report.
- Very specific: line 110
No pointer prose to sibling narrative files or internal phase IDs (pN-NNN, AP-NNN).
- Distinctive: line 111
Use exact file paths, endpoints, headers, options, or modes when they matter.
- Distinctive: line 113
Prefer measured severity language over inflated claims.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Vulnerability Report
Overview
Draft one disclosure-ready report for one confirmed bug. Keep the report evidence-driven, concrete, and concise. Prefer the section order and phrasing rules in references/report-template.md.
Workflow
- Confirm the report is about one bug only.
- Extract the minimum facts needed to prove the issue:
- vulnerable component or behavior
- attacker-controlled input or missing validation
- preconditions and trust boundary
- exploit result
- practical impact
- strongest reproduction path
- decisive source locations and any relevant fix commit
- Separate demonstrated facts from inference. State assumptions explicitly.
- Draft the report using the required section order from references/report-template.md.
- Always embed at least one fenced code snippet from the decisive code path, and explain what each snippet proves.
- Always convert repository file references and patch references into GitHub markdown links, and prefer embedding those links directly into the surrounding explanation instead of listing them separately.
- Add only the optional sections that materially improve accuracy or triage value.
- Save the final report as
report.mdinside a folder named with the bug's severity identifier (C1,H1,M1, etc.) followed by a lowercase hyphenated slug derived from the final report title. UseCfor Critical,Hfor High,Mfor Medium, sequentially numbered if there are multiple bugs of the same severity. Example:C1-cross-site-websocket-hijacking-re-enabled-by-allow-websocket/report.md. Also, ensure the bug report title and internal references use this ID (e.g., '[C1] Cross-Site WebSocket Hijacking'). Do not write reports for Low severity findings — document them in the summary table only. - Remove filler, hedging, and unproven claims before finalizing.
Required Sections
Always include these sections in this order:
SummaryDetailsRoot CauseProof of Concept (PoC)Impact
If the repository already uses Technical Details with Root Cause nested under it, preserve that local pattern. Otherwise keep Root Cause as its own section.
Evidence Rules
- Include one or more fenced code snippets in the report, usually in
DetailsorRoot Cause. - Use the smallest snippet that proves the bug.
- Introduce each cited code location with a short explanation of why it matters; do not drop raw link lists without commentary.
- Add GitHub markdown links for source files, line anchors, controllers, helpers, patch commits, or affected surfaces whenever the repository is on GitHub and the target URL is known or can be derived.
- When constructing GitHub source links, use the latest commit SHA (from
git rev-parse HEADor the most recent commit visible in context) instead of a branch name such asmainormaster, so links remain stable after future commits. - Prefer embedding inline markdown links into explanatory sentences such as
The following code in [build_request](https://github.com/org/repo/blob/main/src/executor.rs#L10) reads attacker-controlled input without validation. - Keep non-GitHub standards or spec citations as normal markdown links.
Self-Contained Rule
report.md is a disclosure-ready artefact. The reader must understand the vulnerability, the trace, the impact, and the reproduction without opening any sibling working file (drafts, debate transcripts, review notes, internal metadata).
- Do not write prose pointers such as
See draft.md,See debate.md,See adversarial-review.md,See metadata.json,See pN-NNN for full trace,See AP-NNN,Refer to the draft for impact analysis, orfor the full trace see .... If that content is needed in the report, inline it. - Do not cite internal phase IDs (
pN-NNN,p10-NNN,AP-NNN) — these are pipeline bookkeeping, not reader-facing references. - Sibling-file references are only allowed for runnable evidence artefacts shipped alongside the report (e.g.
poc.<ext>,evidence/<file>), and only inside the Proof of Concept or Impact sections. Quote the decisive lines from logs inline rather than telling the reader to open them. - GitHub links to source code (pinned to a commit SHA) are external evidence, not deferred narrative — those are required, not banned.
- Before finalizing, scan the draft for the banned phrasings above and rewrite any occurrence to inline the content.
Section Rules
Summary
Open with the vulnerable behavior, attacker control, and outcome in one short paragraph. Name the component only if it improves clarity.
Details
Explain the code path and why the protection fails. Include relevant conditions such as auth mode, stateless mode, parser behavior, MIME confusion, or transport assumptions. Support the explanation with code snippets and GitHub markdown links to the exact source locations.
Root Cause
State the design or implementation mistake in one focused subsection. Prefer causal language such as missing origin validation, unsafe trust in extension-derived MIME, or policy enforced only in one execution mode.
Proof of Concept (PoC)
Use the shortest reliable reproduction. Prefer numbered steps and a runnable request, command, or code block. State the expected result.
Impact
Describe exploitability and consequence, not just severity labels. Cover who is exposed, what an attacker gains, and which environments are most at risk.
Optional Sections
Include an optional section only when it adds concrete triage value.
Allowed optional sections include:
- short report title at the top
- vulnerability type
CWECVSSvector or severity guidance- attack preconditions or authentication reality
- affected surfaces or scope notes
- specification or guidance references
- patch or fix-commit metadata
- exploit constraints, non-default assumptions, or deployment qualifiers
Do not add Affected Components or Remediation sections unless the user explicitly asks for them.
Quality Bar
- Keep one bug per report.
- Number bugs using severity prefixes (C1, H1, M1) and prefix both the report title and the folder name with this ID. Low severity findings are not reported individually.
- Save each single-bug report to
<ID>-<title-slug>/report.md. - Make the exploit story readable without external context — and explicitly without opening any sibling working file (
draft.md,debate.md,adversarial-review.md,metadata.json). See the Self-Contained Rule. - No pointer prose to sibling narrative files or internal phase IDs (
pN-NNN,AP-NNN). Inline the content. - Use exact file paths, endpoints, headers, options, or modes when they matter.
- Distinguish observed behavior from likely impact.
- Prefer measured severity language over inflated claims.
- Preserve repository-specific terminology if the source material already uses it.
- Include fenced code snippets and GitHub markdown links in every report.
- End with a report that can be pasted into an advisory, audit finding, or maintainer issue with minimal cleanup.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

