Repository navigation
Done
Copy link
Labels
documentationImprovements or additions to documentationsecurityurgentPulled forward by the maintainer
Milestone
Description
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.mdyet (root ofdevelop:README.md,THREAT-MODEL.md,CHANGELOG.md,LICENSE,NOTICE). THREAT-MODEL.mddescribes 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 itsrelease/X.Y.Zbranch (patch releasesX.Y.Z+1). - Reports go through GitHub private vulnerability reporting:
https://github.com/smart-ssh/smart_ssh/security/advisories/new.
Requirements
- New file
SECURITY.mdin 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.mdsection 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.mdgets a one-line pointer toSECURITY.mdfor reporting (at its top or in section 6).
Acceptance Criteria
-
SECURITY.mdexists 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.mdsection 6 instead of copying it - Every relative link in
SECURITY.mdresolves to an existing file or heading ondevelop -
THREAT-MODEL.mdlinks toSECURITY.mdfor 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.mdrequires 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
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationsecurityurgentPulled forward by the maintainer
Type
Fields
Priority
P2 - Normal
Activity
docs(security): add SECURITY.md and link it from the threat model (#1573
smart-ssh-coder commentedon Nov 25, 2026
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.
smart-ssh-reviewer commentedon Nov 25, 2026
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.
docs(security): add SECURITY.md and link it from the threat model (#1573
smart-ssh-coordinator commentedon Nov 25, 2026
Merged and branch deleted: PR #1578 (squash) in develop