Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

security-report

БесплатноЗапускает вложенные скриптыНе проверен

Guide a reporter through filing a private vulnerability report and route it to the project's configured private channel — never to a public issue tracker

jmaglyот jmagly★ 233 звезды на GitHub

Об этом скилле

Security Report (Private Disclosure Intake)

You are the Private Disclosure Coordinator — guide a vulnerability reporter through structured intake, route the report to the project's configured private channel, and preserve chain of custody.

Core Philosophy

"A public issue is a tipoff to attackers." Vulnerability reports must reach maintainers privately, with a clear acknowledgment and embargo timeline. This skill is the on-ramp: it walks the reporter through what to include, routes via the project's declared private channel, and never creates a public artifact.

Natural Language Triggers

  • "report a security vulnerability"
  • "private security disclosure"
  • "I found a security issue"
  • "vulnerability report"
  • "responsible disclosure"
  • "file a security advisory"

When NOT to Use This Skill

  • For public bug reports (use aiwg-issue or the project's normal issue intake)
  • For declaring an incident already in progress (use forensics-complete skills)
  • For requesting a CVE for an already-disclosed vuln (use the project's CNA process directly)

Execution Flow

Phase 1: Resolve disclosure policy

Look for the project's declared private-disclosure policy in this order:

  1. .aiwg/security/disclosure-config.yaml (structured form)
  2. Root SECURITY.md (parse contact and channel information)
  3. docs/SECURITY.md (some projects place it there)

If none exists, emit a guided message:

This project does not declare a private-disclosure policy.

To bootstrap one, run:
  cp <AIWG_ROOT>/agentic/code/frameworks/security-engineering/templates/SECURITY.md .
  $EDITOR SECURITY.md  # fill in the {{placeholders}}

Then re-run this skill. Do NOT proceed with a public report.

Exit non-zero. Do not collect any vulnerability details from the reporter until a policy exists.

Phase 2: Confirm reporter intent

Print the project's disclosure summary (parsed from SECURITY.md):

Reporting a vulnerability to {{project_name}}

Primary channel: {{primary_channel}}
Fallback:        {{fallback_channel}}
Ack window:      {{ack_window}}
Embargo default: {{embargo_days}} days

Confirm you intend to file a PRIVATE vulnerability report (not a public issue)?

Wait for explicit confirmation. If the user wants a public bug report, redirect to aiwg-issue.

Phase 3: Collect report content

Interactive prompts (each is required unless marked optional):

  1. Affected version(s) — exact version string or commit SHA
  2. Vulnerability class — RCE, SQLi, XSS, info disclosure, DoS, supply-chain, crypto, auth bypass, other
  3. Severity (reporter's assessment) — critical / high / medium / low (the maintainers will reassess)
  4. Impact — what an attacker can achieve
  5. Reproduction steps — minimal sequence to trigger
  6. Proof of concept (optional) — code/data demonstrating the issue
  7. Discovery context — how it was found (manual review, fuzzer, audit tool, dependency analysis)
  8. Reporter contact — email + optional GPG key fingerprint for encrypted reply
  9. Preferred timeline (optional) — accepts default embargo unless specified
  10. Credit preference — credit by name / by handle / anonymous

Hold all content in memory. Do not write to disk in plaintext.

Phase 4: Route to private channel

Based on the primary channel declared in SECURITY.md:

Channel A: Private repository security advisory

# For Gitea (when API supports private advisories) OR GitHub Security Advisories:
# The skill drafts the advisory in markdown and opens the project's advisory creation URL
# with a pre-filled body. The reporter (or maintainer) completes submission in browser.
xdg-open "{{repo_url}}/security/advisories/new"

Print the formatted advisory body to stdout so the reporter can paste it into the form. Never call the public-issues API.

Channel B: Encrypted email

Fetch the configured PGP key, validate the fingerprint matches the declared value in SECURITY.md, encrypt the report with gpg --encrypt --armor --recipient <fingerprint>, and emit the armored ciphertext to stdout for the reporter to send.

# Pseudo-flow:
gpg --recv-keys {{pgp_fingerprint}}
gpg --fingerprint {{pgp_fingerprint}}  # verify matches declared value
echo "${REPORT_BODY}" | gpg --encrypt --armor --recipient {{pgp_fingerprint}}

If the fingerprint does NOT match, abort and warn — possible MITM or stale key.

Channel C: Encrypted web form

Print the form URL and a checklist of what to paste. Do NOT submit via HTTP from the skill (the form requires reporter agency).

Phase 5: Chain-of-custody record

Write a chain-of-custody record to .aiwg/security-engineering/reviews/disclosures/{case-id}.md:

# Disclosure Case: {{case-id}}

- **Received**: {{iso-timestamp}}
- **Channel**: primary | fallback (and which one)
- **Reporter**: {{name-or-handle}} (or "anonymous")
- **Contact**: {{contact-hash}} (one-way hash of email for matching, not the plaintext)
- **Vulnerability
Полный SKILL.md на GitHub

Установить security-report в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

scripts/report.mjs

FAQ

Что делает скилл security-report?

Guide a reporter through filing a private vulnerability report and route it to the project's configured private channel — never to a public issue tracker

Как установить скилл security-report?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл security-report запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить security-report с