Skip to content

Commit 6e6bcca

Browse files
authored
Create s Security Policy (#4671)
* Create SECURITY.md * Update test_files.py to include SECURITY.md file * Update MANIFEST.in to include SECURITY.md file
1 parent ce9bbc0 commit 6e6bcca

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

MANIFEST.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ recursive-include pybind11/include/pybind11 *.h
33
recursive-include pybind11 *.py
44
recursive-include pybind11 py.typed
55
include pybind11/share/cmake/pybind11/*.cmake
6-
include LICENSE README.rst pyproject.toml setup.py setup.cfg
6+
include LICENSE README.rst SECURITY.md pyproject.toml setup.py setup.cfg

SECURITY.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
5+
Security updates are applied only to the latest release.
6+
7+
## Reporting a Vulnerability
8+
9+
If you have discovered a security vulnerability in this project, please report it privately. **Do not disclose it as a public issue.** This gives us time to work with you to fix the issue before public exposure, reducing the chance that the exploit will be used before a patch is released.
10+
11+
Please disclose it at [security advisory](https://github.com/pybind/pybind11/security/advisories/new).
12+
13+
This project is maintained by a team of volunteers on a reasonable-effort basis. As such, please give us at least 90 days to work on a fix before public exposure.

tests/extra_python_package/test_files.py

+1
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@
111111
"MANIFEST.in",
112112
"README.rst",
113113
"PKG-INFO",
114+
"SECURITY.md",
114115
}
115116

116117
local_sdist_files = {

0 commit comments

Comments
 (0)