Skip to content

Enhance SECURITY.md with detailed security guidelines - #17

Closed
donny-devops wants to merge 1 commit into
mainfrom
donny-devops-patch-3
Closed

Enhance SECURITY.md with detailed security guidelines#17
donny-devops wants to merge 1 commit into
mainfrom
donny-devops-patch-3

Conversation

@donny-devops

Copy link
Copy Markdown
Owner

Expanded the security policy to include supported versions, reporting vulnerabilities, response timelines, and security best practices for contributors.

Expanded the security policy to include supported versions, reporting vulnerabilities, response timelines, and security best practices for contributors.
Copilot AI review requested due to automatic review settings June 21, 2026 06:43
@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@amazon-q-developer amazon-q-developer Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR enhances the SECURITY.md file with comprehensive security guidelines. The document is well-structured and covers essential topics including vulnerability reporting, response timelines, and security best practices.

Critical Issue Found:

  • Line 23 references emailing the maintainer directly but provides no contact information, blocking the fallback reporting mechanism

Once the contact information is added, this security policy will provide clear guidance for responsible vulnerability disclosure.


You can now have the agent implement changes and create commits directly on your pull request's source branch. Simply comment with /q followed by your request in natural language to ask the agent to make changes.

Comment thread SECURITY.md
Fill in the advisory form with as much detail as possible

Option 2 — Direct Contact
If GitHub's advisory system is unavailable, email the maintainer directly. Include [SECURITY] post-quantum-studio in the subject line.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛑 Security Risk: Missing contact information for direct vulnerability reporting. Line 23 instructs users to "email the maintainer directly" but provides no email address or contact method. This blocks the security reporting process when GitHub's advisory system is unavailable, potentially leaving critical vulnerabilities unreported.

Suggested change
If GitHub's advisory system is unavailable, email the maintainer directly. Include [SECURITY] post-quantum-studio in the subject line.
If GitHub's advisory system is unavailable, email security@example.com with [SECURITY] post-quantum-studio in the subject line.

@donny-devops donny-devops self-assigned this Jun 21, 2026
@sonarqubecloud

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new SECURITY.md file outlining the project's security policy, reporting guidelines, and response timeline. The review feedback suggests several formatting and content improvements: adding standard Markdown headers for proper document hierarchy, converting text-based lists into standard Markdown tables for the 'Supported Versions' and 'Response Timeline' sections, and providing a contact email address for direct vulnerability reporting.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread SECURITY.md
Comment on lines +1 to +2
Security Policy
Supported Versions

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The document lacks Markdown headers (e.g., #, ##). Without them, the document will render as plain text without visual hierarchy, and it will be difficult for screen readers to navigate. Please use standard Markdown header syntax for sections and subsections.

Suggested change
Security Policy
Supported Versions
# Security Policy
## Supported Versions

Comment thread SECURITY.md
Comment on lines +5 to +7
Version Supported
main ✅ Active support
Older branches ❌ Not supported

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The supported versions list is formatted with tabs/spaces instead of a standard Markdown table. This will not render correctly as a table in most Markdown parsers. Please use standard Markdown table syntax.

Suggested change
Version Supported
main ✅ Active support
Older branches ❌ Not supported
| Version | Supported |
| --- | --- |
| main | ✅ Active support |
| Older branches | ❌ Not supported |

Comment thread SECURITY.md
Fill in the advisory form with as much detail as possible

Option 2 — Direct Contact
If GitHub's advisory system is unavailable, email the maintainer directly. Include [SECURITY] post-quantum-studio in the subject line.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

security-medium medium

The policy mentions emailing the maintainer directly but does not provide an email address or a link/reference to where it can be found. Please provide a contact email address (or a placeholder like security@example.com) so security researchers know where to send reports if the GitHub Private Security Advisory system is unavailable.

Suggested change
If GitHub's advisory system is unavailable, email the maintainer directly. Include [SECURITY] post-quantum-studio in the subject line.
If GitHub's advisory system is unavailable, email the maintainer directly at [security@example.com]. Include [SECURITY] post-quantum-studio in the subject line.

Comment thread SECURITY.md
Comment on lines +39 to +43
Stage Target Timeframe
Initial acknowledgment Within 48 hours
Severity assessment Within 5 business days
Patch / mitigation Within 14–30 days (severity-dependent)
Public disclosure After patch is released and verified

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The response timeline list is formatted with tabs/spaces instead of a standard Markdown table. This will not render correctly as a table in most Markdown parsers. Please use standard Markdown table syntax.

Suggested change
Stage Target Timeframe
Initial acknowledgment Within 48 hours
Severity assessment Within 5 business days
Patch / mitigation Within 14–30 days (severity-dependent)
Public disclosure After patch is released and verified
| Stage | Target Timeframe |
| --- | --- |
| Initial acknowledgment | Within 48 hours |
| Severity assessment | Within 5 business days |
| Patch / mitigation | Within 14–30 days (severity-dependent) |
| Public disclosure | After patch is released and verified |

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new SECURITY.md to document the repository’s security policy, including supported versions, vulnerability reporting guidance, response timelines, and contributor security best practices.

Changes:

  • Introduces a security policy document covering reporting channels and expected response SLAs.
  • Adds contributor-focused security guidance and a dependency-scanning section.
  • Includes a references section for further security/standards documentation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread SECURITY.md
Comment on lines +1 to +4
Security Policy
Supported Versions
The following versions of post-quantum-studio are currently receiving security updates:

Comment thread SECURITY.md
Comment on lines +5 to +7
Version Supported
main ✅ Active support
Older branches ❌ Not supported
Comment thread SECURITY.md
Comment on lines +8 to +10
Reporting a Vulnerability
⚠️ Do NOT open a public GitHub issue for security vulnerabilities.

Comment thread SECURITY.md
Comment on lines +38 to +43
Response Timeline
Stage Target Timeframe
Initial acknowledgment Within 48 hours
Severity assessment Within 5 business days
Patch / mitigation Within 14–30 days (severity-dependent)
Public disclosure After patch is released and verified
Comment thread SECURITY.md

Never commit secrets — API keys, private keys, or seed material must never be committed. Use .env files (gitignored) or secrets managers.

Pin dependencies — Use exact versions in package.json and review package-lock.json diffs carefully.
Comment thread SECURITY.md
Comment on lines +79 to +88
Dependency Scanning
This repository uses automated tooling to detect vulnerable dependencies:

Dependabot — Monitors npm dependencies for known CVEs

CodeQL — Static analysis for JavaScript/TypeScript security patterns

Trivy — Container and filesystem vulnerability scanning (if Docker is added)

If you identify a dependency issue not caught by these tools, please report it per the process above.
Comment thread SECURITY.md
Comment on lines +93 to +102
References
NIST Post-Quantum Cryptography Standardization

NIST FIPS 203 (ML-KEM)

NIST FIPS 204 (ML-DSA)

NIST FIPS 205 (SLH-DSA)

GitHub Private Security Advisories

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 231159bc1f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread SECURITY.md
Fill in the advisory form with as much detail as possible

Option 2 — Direct Contact
If GitHub's advisory system is unavailable, email the maintainer directly. Include [SECURITY] post-quantum-studio in the subject line.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Provide a real fallback contact address

If GitHub private advisories are unavailable or disabled for this repo, this fallback path still does not tell reporters what address to use. In that scenario a researcher cannot privately report the vulnerability without opening a public issue or searching elsewhere, so the security policy's reporting process is incomplete.

Useful? React with 👍 / 👎.

Comment thread SECURITY.md
Audit new crypto code — Any new cryptographic implementation should include a reference to the specification it implements.

Dependency Scanning
This repository uses automated tooling to detect vulnerable dependencies:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Avoid claiming scanners that are not configured

This says the repository uses automated dependency scanning, but I checked the tracked files and there is no .github/dependabot.yml, CodeQL workflow, Trivy workflow/config, or Dockerfile. In contexts where maintainers rely on this policy as the source of security controls, vulnerable dependencies can be assumed covered when no scan is actually running; either add the configs or describe these tools as planned/recommended.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Owner Author

Closing as superseded by #24, which bundles the CI workflow and SECURITY.md. Reopen if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants