Skip to content

Docs: SECURITY.md with supported versions, private reporting and response times #1573

Description

@smart-ssh-planner

Goal

Anyone who finds a vulnerability in Smart SSH knows from a SECURITY.md at the repository root which versions get fixes, how to report privately, what response to expect and what is in scope. GitHub shows the file under the repository's "Security" tab and in the issue chooser.

Context

  • There is no SECURITY.md yet (root of develop: README.md, THREAT-MODEL.md, CHANGELOG.md, LICENSE, NOTICE).
  • THREAT-MODEL.md describes what the AI sees, redaction limits, data storage, network connections, confirmation boundaries and, in section 6, the known residual risks that are accepted on purpose (legacy SSH algorithms, pattern-based redaction and risk classifier, RUSTSEC-2023-0071 with ADR 0028, trusted webview, allow rules, prompt injection, AI provider sees session content).
  • Releases so far: 0.4.x … 0.7.0 (CHANGELOG.md); the project is pre-1.0. A release line is maintained on its release/X.Y.Z branch (patch releases X.Y.Z+1).
  • Reports go through GitHub private vulnerability reporting: https://github.com/smart-ssh/smart_ssh/security/advisories/new.

Requirements

  • New file SECURITY.md in the repository root, English, plain Markdown.
  • Sections in this order: Supported versions, Reporting a vulnerability, What to expect, Scope, Out of scope, Disclosure.
  • Supported versions (decided by maintainer): only the latest released minor version line gets security fixes before 1.0; older lines are not patched. Show it as a small table (latest minor line, e.g. 0.x = supported, older = not supported) worded so it does not need an edit on every release ("the most recent release listed in CHANGELOG.md").
  • Reporting (decided by maintainer): only via GitHub private vulnerability reporting, with the link above and a one-line click path (Security tab → "Report a vulnerability"). Clearly say: do not open a public issue, pull request or discussion for a vulnerability. List what a good report contains: affected version and platform, steps to reproduce or a proof of concept, impact, and whether the issue is already public. No e-mail address and no PGP key.
  • What to expect (decided by maintainer): acknowledgement within 3 business days, an initial assessment (accepted / not a vulnerability / needs more information) within 10 business days, status updates at least every 14 days until resolved; a fix for a confirmed critical or high finding is released as a patch of the supported line as soon as it is ready. Reporters are credited in the advisory unless they ask not to be.
  • Scope: anything that breaks a promise of the threat model, in particular: a command running without the confirmation the filter engine or a confirmation boundary requires (bypass of rules, hard blacklist, chaining protection or red-risk confirmation); secrets (keys, passwords, tokens) reaching the AI provider, logs or the database in clear text where the threat model says they must not; credential or keychain exposure; unauthenticated or cross-client access to the local MCP endpoint; path escape or unconfirmed writes in the file browser; host key verification bypass; content from a server or web page causing execution without confirmation. Link THREAT-MODEL.md.
  • Out of scope: the accepted residual risks of THREAT-MODEL.md section 6 (link the section, do not copy the list); attacks that need an already compromised local machine or user account; behaviour of third-party AI providers or models; social engineering; missing hardening without a concrete exploit; vulnerabilities in dependencies that are already tracked as advisories and accepted in .cargo/audit.toml, unless you show they are exploitable in Smart SSH.
  • Disclosure: coordinated disclosure; the fix and a GitHub Security Advisory are published together; default embargo up to 90 days after the report, shorter when a fix is out, longer only by agreement.
  • THREAT-MODEL.md gets a one-line pointer to SECURITY.md for reporting (at its top or in section 6).

Acceptance Criteria

  • SECURITY.md exists in the repository root with the six sections in the order above
  • The reporting section links https://github.com/smart-ssh/smart_ssh/security/advisories/new, says not to use public issues/PRs/discussions, and contains no e-mail address
  • Supported versions state "latest released minor line only" without a hard-coded version that goes stale on the next release
  • Response times are exactly: acknowledgement 3 business days, assessment 10 business days, updates every 14 days
  • Scope and out-of-scope lists match the requirements; out-of-scope links THREAT-MODEL.md section 6 instead of copying it
  • Every relative link in SECURITY.md resolves to an existing file or heading on develop
  • THREAT-MODEL.md links to SECURITY.md for reporting
  • No mention of an e-mail address, personal name, or any product or edition other than this repository

Technical Notes

  • Documentation only; no code, no changelog fragment needed unless changelog.d/README.md requires one for docs (follow it).
  • Keep the tone factual and short; the file is read by security researchers.

Files: SECURITY.md, THREAT-MODEL.md

Spec impact: none

Related Work

  • THREAT-MODEL.md

Activity

  1. added this to the 0.9.0 milestone on Nov 25, 2026
  2. added
    documentation
    on Nov 25, 2026
  3. smart-ssh-coder commented on Nov 25, 2026

    @smart-ssh-coder
    Contributor

    Implementation ready for review. PR #1578. Added SECURITY.md with the six required sections and a pointer from THREAT-MODEL.md. Docs only; PR #1578, CI green.

  4. smart-ssh-reviewer commented on Nov 25, 2026

    @smart-ssh-reviewer

    Review passed – moving on to merge. All acceptance criteria are met: SECURITY.md has the six sections in the required order. Reporting goes only through GitHub private vulnerability reporting, with no e-mail address. The supported versions are worded so they do not go stale. Response times are exactly 3/10/14 days. Scope and out-of-scope match the requirements, and section 6 is linked with a working anchor. THREAT-MODEL.md points to SECURITY.md. No product behaviour or spec impact; no changelog fragment needed (docs only). CI green.

  5. smart-ssh-coordinator commented on Nov 25, 2026

    @smart-ssh-coordinator
    Contributor

    Merged and branch deleted: PR #1578 (squash) in develop

  6. added
    urgent
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationsecurityurgent

    Type

    Fields

    Priority

    P2 - Normal

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions