Skip to content

docs: add a security policy - #3734

Merged
BaseMax merged 2 commits into
mainfrom
fix/security-policy
Nov 21, 2026
Merged

BaseMax merged 2 commits into
mainfrom
fix/security-policy

Conversation

@BaseMax

@BaseMax BaseMax commented Nov 21, 2026

Copy link
Copy Markdown
Member

The repository had no security policy, so there was nowhere obvious to send a vulnerability report, and .gitignore ignored a SECURITY.md anyway because of the blanket *.md rule.

  • Adds SECURITY.md: supported versions, how to report privately through the GitHub Security tab, and what counts as in scope.
  • Adds !SECURITY.md to the markdown allowlist in .gitignore.

The Security tab only offers "Report a vulnerability" once private vulnerability reporting is turned on in the repository settings (Settings, Code security). That setting is not part of this change and needs a maintainer to switch it on.

Points reporters at GitHub private reporting and lists what is in scope.
@BaseMax
BaseMax requested a review from a team as a code owner November 21, 2026 05:19
@coderabbitai

coderabbitai Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 6 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1cb93741-760d-422c-b6d3-718880749b2e
Commits

Reviewing files that changed from the base of the PR and between 8d5258f and 5b5a700.

Files selected for processing: 2

  • .gitignore
  • SECURITY.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor
sha=5b5a700d8c72a93bff68bc6cf7e4e56b125835c8

🤖 Salam AI review

Verdict: ✅ Good to merge

commit 5b5a700 · 2 files · +22 −0 · model salam

Summary

This pull request adds a root-level SECURITY.md with supported versions, private vulnerability reporting instructions, and scope, and adds the file to .gitignore's markdown allowlist. The change is small, documentation-focused, and consistent with the repository's existing conventions.

What changed

  • Adds SECURITY.md describing supported versions, private reporting through GitHub's Security tab, and what is in scope.
  • Adds !SECURITY.md to .gitignore so the new file is tracked despite the blanket *.md rule.

Review

  • No blocking findings. The allowlist entry is placed with the other root markdown exceptions, so Git will track SECURITY.md as intended.
  • The standard library packages named in the scope section correspond to importable packages (net, tls, ssh, sshd, ftpd, crypto, jwt, db, and archive), so the policy does not reference nonexistent modules.
  • The reporting path depends on private vulnerability reporting being enabled in repository settings; the pull request description correctly identifies that as a maintainer action outside this change.
  • The "before 1.0" supported-versions statement is consistent with the current v0.6.19 release line.

Tests

  • No code or tests are changed, so no test updates are expected for this documentation change.

Risks

  • If private vulnerability reporting is not enabled in the repository settings, the documented "Report a vulnerability" path will not be available until a maintainer turns it on.
  • The policy is intentionally high-level and will need updates as supported versions and security-sensitive packages change.

⚠️ This review was written automatically by an AI and may contain mistakes. It is a helper for maintainers, not a replacement for a human review: check the code yourself before merging.

@BaseMax
BaseMax merged commit cb2c73e into main Nov 21, 2026
14 checks passed
@BaseMax
BaseMax deleted the fix/security-policy branch November 21, 2026 05:35
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.

1 participant