← Back to Pull requests

docs: align SECURITY.md supported versions with support policy #11076

Merged
gijswijs merged 1 files (11 lines) on Aug 14, 2026 19:29 UTC
View on GitHub
gijswijs gijswijs commented on Aug 14, 2026 18:00 UTC
Author

Problem

The Supported Versions section of SECURITY.md still describes the pre-policy situation: only the last major release is the supported version, with backports issued ad hoc "given an issue severe enough".

The published Lightning Labs support policy at https://security.lightning.engineering/lifecycle/ states instead that:

  • the two most recent release lines are maintained (current major line + the one before it);

  • both maintained lines receive security fixes, with fixes normally backported to the previous line;

  • a line reaches end of life when the second major release after it ships, and EOL lines receive no further releases of any kind — the remedy is an upgrade.
  • Change

  • Rewrite Supported Versions to match the published policy, using its wording so the two documents cannot drift into contradiction.

  • Explain the v0.MAJOR.MINOR-beta versioning scheme (middle component is the major version), since the old "major release" phrasing was ambiguous under it.

  • Link to the lifecycle page as the source of truth for the per-line maintenance table and the advisory disclosure schedule, so this file does not need updating on every release.
  • The Reporting a Vulnerability section is unchanged.

    Diff: 11 lines (+10 / -1) across 1 files Reviewer: saubyk Review duration: 89m
    All Vouch review confidence checks passed
    Residual risk 0.06 = Change Risk (0.41) × (1 − Review Confidence (0.86)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.41 · 11 lines diff across 1 files
    0.41
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.80 · 5 substantive comment(s)
    0.80
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    85%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.149
    Sensitive Paths sensitive_paths
    0.041
    Real PR Conversation Timeline
    9 items
    saubyk saubyk approved these changes on Aug 14, 2026 18:06 UTC
    Approved Reviewer

    Ack

    ziggie1984 ziggie1984 commented on code on Aug 14, 2026 18:23 UTC
    Code Review
    SECURITY.md:1
    @@ -2,7 +2,15 @@
     
     ## Supported Versions
     
    -The last major lnd release is to be considered the current support version. Given an issue severe enough, a backport will be issued either to the prior major release or the set of releases considered utilized enough. 
    +Lightning Labs maintains the **two most recent lnd release lines**: the current major line and the one immediately before it. Both maintained lines receive security fixes. When a fix lands on the current line and applies to the previous line, it is normally backported and shipped in a minor release on that line.

    can you underline the "two most recent LND release lines" the bold on white and black background are basically not really visible

    ziggie1984 ziggie1984 commented on code on Aug 14, 2026 18:25 UTC
    Code Review
    SECURITY.md:1
    @@ -2,7 +2,15 @@
     
     ## Supported Versions
     
    -The last major lnd release is to be considered the current support version. Given an issue severe enough, a backport will be issued either to the prior major release or the set of releases considered utilized enough. 
    +Lightning Labs maintains the **two most recent lnd release lines**: the current major line and the one immediately before it. Both maintained lines receive security fixes. When a fix lands on the current line and applies to the previous line, it is normally backported and shipped in a minor release on that line.
    +
    +lnd releases are tagged `v0.MAJOR.MINOR-beta` — the middle component is the major version, so `v0.21` and `v0.20` are different release lines. The leading `0.` and the `-beta` suffix are historical and do not indicate that a release is unsupported.

    do we really need to explain -beta here ?

    ziggie1984 ziggie1984 commented on code on Aug 14, 2026 18:26 UTC
    Code Review
    SECURITY.md:1
    @@ -2,7 +2,15 @@
     
     ## Supported Versions
     
    -The last major lnd release is to be considered the current support version. Given an issue severe enough, a backport will be issued either to the prior major release or the set of releases considered utilized enough. 
    +Lightning Labs maintains the **two most recent lnd release lines**: the current major line and the one immediately before it. Both maintained lines receive security fixes. When a fix lands on the current line and applies to the previous line, it is normally backported and shipped in a minor release on that line.
    +
    +lnd releases are tagged `v0.MAJOR.MINOR-beta` — the middle component is the major version, so `v0.21` and `v0.20` are different release lines. The leading `0.` and the `-beta` suffix are historical and do not indicate that a release is unsupported.
    +
    +When a new major release ships, the older of the two maintained lines reaches end of life that day. An end-of-life line receives **no further releases of any kind, including security fixes**. If a vulnerability affects an end-of-life line, the remedy is an upgrade to a maintained line.
    +
    +We recommend running the latest minor release of the most recent major line you are able to upgrade to. A maintained line only protects you if you are on its latest minor release.

    Maybe highlight this Sentence more strongly since it is very important

    gijswijs gijswijs commented on code on Aug 14, 2026 18:27 UTC
    Code Review
    SECURITY.md:1
    @@ -2,7 +2,15 @@
     
     ## Supported Versions
     
    -The last major lnd release is to be considered the current support version. Given an issue severe enough, a backport will be issued either to the prior major release or the set of releases considered utilized enough. 
    +Lightning Labs maintains the **two most recent lnd release lines**: the current major line and the one immediately before it. Both maintained lines receive security fixes. When a fix lands on the current line and applies to the previous line, it is normally backported and shipped in a minor release on that line.

    Good point — added an underline on top of the bold via <u>, which renders on GitHub in both light and dark mode.

    gijswijs gijswijs commented on code on Aug 14, 2026 18:27 UTC
    Code Review
    SECURITY.md:1
    @@ -2,7 +2,15 @@
     
     ## Supported Versions
     
    -The last major lnd release is to be considered the current support version. Given an issue severe enough, a backport will be issued either to the prior major release or the set of releases considered utilized enough. 
    +Lightning Labs maintains the **two most recent lnd release lines**: the current major line and the one immediately before it. Both maintained lines receive security fixes. When a fix lands on the current line and applies to the previous line, it is normally backported and shipped in a minor release on that line.
    +
    +lnd releases are tagged `v0.MAJOR.MINOR-beta` — the middle component is the major version, so `v0.21` and `v0.20` are different release lines. The leading `0.` and the `-beta` suffix are historical and do not indicate that a release is unsupported.

    Fair — dropped that sentence. The tagging scheme itself stays, since 'major line' is ambiguous without knowing the middle component is the major version.

    gijswijs gijswijs commented on code on Aug 14, 2026 18:28 UTC
    Code Review
    SECURITY.md:1
    @@ -2,7 +2,15 @@
     
     ## Supported Versions
     
    -The last major lnd release is to be considered the current support version. Given an issue severe enough, a backport will be issued either to the prior major release or the set of releases considered utilized enough. 
    +Lightning Labs maintains the **two most recent lnd release lines**: the current major line and the one immediately before it. Both maintained lines receive security fixes. When a fix lands on the current line and applies to the previous line, it is normally backported and shipped in a minor release on that line.
    +
    +lnd releases are tagged `v0.MAJOR.MINOR-beta` — the middle component is the major version, so `v0.21` and `v0.20` are different release lines. The leading `0.` and the `-beta` suffix are historical and do not indicate that a release is unsupported.
    +
    +When a new major release ships, the older of the two maintained lines reaches end of life that day. An end-of-life line receives **no further releases of any kind, including security fixes**. If a vulnerability affects an end-of-life line, the remedy is an upgrade to a maintained line.
    +
    +We recommend running the latest minor release of the most recent major line you are able to upgrade to. A maintained line only protects you if you are on its latest minor release.

    Done — the recommendation now sits in a > [!IMPORTANT] alert block, which renders as a highlighted callout on GitHub.

    ziggie1984 ziggie1984 approved these changes on Aug 14, 2026 18:54 UTC
    Approved Reviewer

    LGTM

    Reviewers
    Assignees
    gijswijs gijswijs
    Labels
    risk: low confidence: 85.9% reviewed sensitive_module
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 41% (MEDIUM) · Higher = larger blast radius
    41%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 85.9% · Lower = rushed or shallow review
    85.9%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 5.8% · Safe to merge
    5.8%