From db8c9038f533e265e1b814c6916bdc31892ee5c4 Mon Sep 17 00:00:00 2001 From: lisagorewitdecker <50784106+lisagorewitdecker@users.noreply.github.com> Date: Thu, 27 Aug 2026 15:52:24 -0400 Subject: [PATCH 1/3] Create SECURITY.md for security policy Added a security policy document outlining supported versions and vulnerability reporting. Signed-off-by: lisagorewitdecker <50784106+lisagorewitdecker@users.noreply.github.com> --- SECURITY.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 SECURITY.md diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000000..034e848032 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,21 @@ +# Security Policy + +## Supported Versions + +Use this section to tell people about which versions of your project are +currently being supported with security updates. + +| Version | Supported | +| ------- | ------------------ | +| 5.1.x | :white_check_mark: | +| 5.0.x | :x: | +| 4.0.x | :white_check_mark: | +| < 4.0 | :x: | + +## Reporting a Vulnerability + +Use this section to tell people how to report a vulnerability. + +Tell them where to go, how often they can expect to get an update on a +reported vulnerability, what to expect if the vulnerability is accepted or +declined, etc. From 2d92d3e0500a2d69b21cc819b87766c60541523b Mon Sep 17 00:00:00 2001 From: lisagorewitdecker <50784106+lisagorewitdecker@users.noreply.github.com> Date: Thu, 27 Aug 2026 15:55:36 -0400 Subject: [PATCH 2/3] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: lisagorewitdecker <50784106+lisagorewitdecker@users.noreply.github.com> --- SECURITY.md | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/SECURITY.md b/SECURITY.md index 034e848032..02e283dc20 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -2,15 +2,12 @@ ## Supported Versions -Use this section to tell people about which versions of your project are -currently being supported with security updates. +Security updates are provided for the latest released version of this project. -| Version | Supported | -| ------- | ------------------ | -| 5.1.x | :white_check_mark: | -| 5.0.x | :x: | -| 4.0.x | :white_check_mark: | -| < 4.0 | :x: | +| Version | Supported | +| -------- | ------------------ | +| latest | :white_check_mark: | +| < latest | :x: | ## Reporting a Vulnerability From abf8db84f8d991d690d1b07ef5a02cdb59b01e1c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 31 Aug 2026 12:53:48 +0000 Subject: [PATCH 3/3] Fix SECURITY.md: replace placeholder vulnerability reporting text with actual guidance Co-authored-by: lisagorewitdecker <50784106+lisagorewitdecker@users.noreply.github.com> --- SECURITY.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/SECURITY.md b/SECURITY.md index 02e283dc20..fc219556ac 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -11,8 +11,6 @@ Security updates are provided for the latest released version of this project. ## Reporting a Vulnerability -Use this section to tell people how to report a vulnerability. +To report a security vulnerability, please open a [GitHub issue](https://github.com/Lisa-Gorewit-Decker/javascriptalgorithms/issues) with the label **security** and include a description of the issue, steps to reproduce, and any relevant details. -Tell them where to go, how often they can expect to get an update on a -reported vulnerability, what to expect if the vulnerability is accepted or -declined, etc. +You can expect an acknowledgement within a few days. If the vulnerability is accepted, a fix will be prioritized and released as soon as possible. If it is declined, you will receive an explanation.