Skip to content

Commit 255e168

Browse files
authored
feat(security): add structured vulnerability reporting form (#5203)
Signed-off-by: Adrien Langou <alangou@nvidia.com>
1 parent 5d25211 commit 255e168

5 files changed

Lines changed: 82 additions & 5 deletions

File tree

‎.agents/skills/create-security-advisory/SKILL.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ metadata:
1010
Prepare every report with the required [advisory template](assets/advisory-template.md);
1111
keep GitHub metadata separate from its description.
1212

13+
Keep the [private reporting form](../../../.github/VULNERABILITY_REPORT.yml) and
14+
the template aligned when changing report requirements.
15+
1316
## Scope and privacy
1417

1518
Follow the repository's current [SECURITY.md](../../../SECURITY.md). This contributor

‎.agents/skills/create-security-advisory/assets/advisory-template.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ revision. State who verified what and any failed attempts or limitations.}}
2828
## Additional details
2929

3030
{{Optional: include supported details that help review, such as the root cause,
31-
severity rationale and CVSS/CWE, a proposed fix or verified workaround, known
32-
unaffected deployments, or a related private PR. Omit this section if none are available.}}
31+
severity rationale and CVSS/CWE, existing CVE identifiers, disclosure deadlines,
32+
a proposed fix or verified workaround, known unaffected deployments, or a related
33+
private PR. Omit this section if none are available.}}
3334

3435
## Open questions
3536

‎.github/ISSUE_TEMPLATE/config.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ contact_links:
1515
url: https://github.com/NVIDIA/OpenShell/blob/main/SECURITY.md
1616
about: >
1717
Do not report security vulnerabilities through GitHub issues. Follow
18-
the disclosure process in SECURITY.md — report through the NVIDIA PSIRT
19-
web form or email psirt@nvidia.com.
18+
the disclosure process in SECURITY.md — use GitHub's private vulnerability
19+
reporting form.

‎.github/VULNERABILITY_REPORT.yml‎

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# Keep the sections and prompts aligned with
2+
# .agents/skills/create-security-advisory/assets/advisory-template.md.
3+
name: Private vulnerability report
4+
description: Report an OpenShell vulnerability privately using the required advisory template.
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Follow [SECURITY.md](https://github.com/NVIDIA/OpenShell/blob/main/SECURITY.md) and the [advisory template](https://github.com/NVIDIA/OpenShell/blob/main/.agents/skills/create-security-advisory/assets/advisory-template.md).
10+
11+
Review the report and verify its accuracy before submitting. Distinguish reproduced behavior, code inspection, and unverified claims. Remove secrets and personal information from evidence.
12+
13+
- type: textarea
14+
id: summary-and-impact
15+
attributes:
16+
label: Summary and impact
17+
description: Describe what the attacker can do, which security boundary should prevent it, and the demonstrated impact. Separate unverified consequences.
18+
placeholder: Summarize the vulnerability and its impact in two or three sentences.
19+
validations:
20+
required: true
21+
22+
- type: textarea
23+
id: scope-and-prerequisites
24+
attributes:
25+
label: Scope and prerequisites
26+
description: Include each item below. Separate the tested revision from confirmed affected releases. For unknowns, state what needs checking.
27+
placeholder: |
28+
- Product and tested version: Component, release or full commit SHA; image digest if relevant.
29+
- Affected versions: Confirmed release range and evidence, or Unknown with the needed check.
30+
- Environment and configuration: Relevant OS, runtime/driver, topology, and exact settings; default or opt-in.
31+
- Attacker access: Starting privileges, controlled input, and resources in scope.
32+
validations:
33+
required: true
34+
35+
- type: textarea
36+
id: reproduction-and-evidence
37+
attributes:
38+
label: Reproduction and evidence
39+
description: Provide reproduction steps and observed results, or concrete code evidence of the attack path. State what was verified and what was not run; scanner output alone is insufficient.
40+
placeholder: |
41+
Verification status: Reproduced / code inspection only / reporter claim not reproduced.
42+
43+
1. Operator setup: Minimal prerequisites, test resources, and copyable commands/configuration.
44+
2. Attacker actions: Exact steps under the privileges stated above.
45+
3. Check: Read back the response or state change that demonstrates the impact.
46+
47+
Expected: Security-preserving behavior; link the applicable policy, contract, or enforcing code.
48+
Observed: Actual result and concise redacted output; if not executed, say so.
49+
50+
Link the source report, private artifacts, and relevant code at an immutable revision.
51+
State who verified what and any failed attempts or limitations.
52+
validations:
53+
required: true
54+
55+
- type: textarea
56+
id: additional-details
57+
attributes:
58+
label: Additional details
59+
description: Include supported optional details that help review. Leave blank if none are available.
60+
placeholder: |
61+
Root cause, severity rationale and CVSS/CWE, existing CVE identifiers,
62+
disclosure deadlines, a proposed fix or verified workaround, known
63+
unaffected deployments, or a related private PR.
64+
validations:
65+
required: false
66+
67+
- type: textarea
68+
id: open-questions
69+
attributes:
70+
label: Open questions
71+
description: List missing evidence that affects the assessment and the next check for each gap. Leave blank if there are no known gaps.
72+
validations:
73+
required: false

‎SECURITY.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Report OpenShell vulnerabilities through [GitHub's private reporting form](https://github.com/NVIDIA/OpenShell/security/advisories/new). Submitting a report does not publish an advisory. Do not disclose vulnerabilities in public issues, discussions, or pull requests.
66

7-
Every report must use the [advisory template](.agents/skills/create-security-advisory/assets/advisory-template.md). Keep its core headings and include:
7+
Every report must use the [advisory template](.agents/skills/create-security-advisory/assets/advisory-template.md). The [private reporting form](.github/VULNERABILITY_REPORT.yml) requires its three core sections. Keep its core headings and include:
88

99
- Affected component and version, commit, or image digest.
1010
- Description, impact, and prerequisites for exploitation.

0 commit comments

Comments
 (0)