Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Add a SECURITY.md file (#6051)

Mikhail Korobovc4e4b9b56e7f
diff --git a/.bumpversion.cfg b/.bumpversion.cfg
index 6ce6e2a59..968a34d96 100644
--- a/.bumpversion.cfg
+++ b/.bumpversion.cfg
@@ -5,3 +5,7 @@ tag = True
tag_name = {new_version}
[bumpversion:file:scrapy/VERSION]
+
+[bumpversion:file:SECURITY.md]
+parse = (?P<major>\d+)\.(?P<minor>\d+)\.x
+serialize = {major}.{minor}.x
diff --git a/SECURITY.md b/SECURITY.md
new file mode 100644
index 000000000..51305d95e
--- /dev/null
+++ b/SECURITY.md
@@ -0,0 +1,12 @@
+# Security Policy
+
+## Supported Versions
+
+| Version | Supported |
+| ------- | ------------------ |
+| 2.11.x | :white_check_mark: |
+| < 2.11.x | :x: |
+
+## Reporting a Vulnerability
+
+Please report the vulnerability using https://github.com/scrapy/scrapy/security/advisories/new.