draft_private_disclosure
Drafts a private security disclosure in Markdown from a confirmed real finding, refusing low-confidence or unconfirmed cases and writing only when a path and server permission are provided.
Instructions
Draft a private disclosure from a confirmed real finding.
Uses the GitHub Security Lab report template, with the ssh-mcp-server host-key draft as the worked example of the format. Refuses when the verdict is not real, or when confidence is below 0.8 without explicit confirmation. When finding_id is given, the finding must be in the store with status confirmed, or triaged with verdict real and confidence at or above 0.8; otherwise the draft is refused and the result says why. Returns the draft as Markdown and writes it only when write_path is given. It is never sent, never opened as a PR, never forked, never pushed, never emailed. sent is always false. Writing the draft to write_path needs --allow-apply on the server command line; without it the call is refused. When --require-scope is set, the write target must sit inside a repo with scope enabled.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"finding": "<finding>",
"repo": "<repo>"
},
"name": "draft_private_disclosure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| db_path | No | ||
| finding | Yes | ||
| finding_id | No | ||
| write_path | No | ||
| include_fix | No | ||
| maintainer_contact | No | ||
| confirm_low_confidence | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |