From e84c42c87d96576497ef22c28a32bc6c0694c8e3 Mon Sep 17 00:00:00 2001 From: leemour Date: Mon, 23 Nov 2026 17:39:11 +0100 Subject: [PATCH] docs(security): WC-SECR-26 drops the ydisk revoke-place gap ydisk's docs name where to revoke the Yandex token since ydisk #33 (Yandex ID's Data access, https://id.yandex.ru/personal/data-access), and ydisk #34 puts the same place in `session end`'s help. The known-gap note goes; the rule's example now shows what session end says. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 2 ++ docs/standards/security.md | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2618122..9a6a7bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,8 @@ Every entry says what changed as a caller sees it, why, and what to watch for ### Fixed +- **WC-SECR-26 no longer lists ydisk's docs as a known gap:** they say where the owner revokes the Yandex token + (Yandex ID's Data access), and the rule's example now shows `session end`'s help saying it. - **`next-version` keeps a taken major a major**: with 2.0.0 on npm, `2.0.0` gives `3.0.0`, not `2.1.0`. - **A pre-release is published under npm's `next` tag**, from `bin/release` and from the release workflow. npm refuses a pre-release without a tag, and `latest` must stay a release. diff --git a/docs/standards/security.md b/docs/standards/security.md index f4b2732..27e4b9f 100644 --- a/docs/standards/security.md +++ b/docs/standards/security.md @@ -452,10 +452,11 @@ the same. `session start` takes such a token, and the CLI keeps it the way it ke - **Example:** `ydisk personal session start` asks `Yandex Disk OAuth token:` without echo, or reads `ydisk personal session start < token.txt`, asks the Disk whose token it is, and answers `{ "profile": "personal", "state": "saved", "stored_in": "keyring", "verified": true, "user": { … } }`. + `ydisk personal session end` forgets the token; its help, like ydisk's docs, says the token stays valid until the + owner removes the app in Yandex ID's Data access (). - **Exceptions:** a sign-in the CLI runs itself follows [WC-SECR-22](#wc-secr-22--sign-in-with-oauth-through-cli-cores-sign-in-module). A bot token keeps its own entry, - `bot:` (WC-SECR-4). Known gap, as of 2026-11-17: ydisk's `session end` forgets the token and says it stays - valid at Yandex, but its docs do not yet say where to revoke it. + `bot:` (WC-SECR-4). - **Applies to:** every CLI whose sign-in takes a token the owner pastes (ydisk today). **Since:** cli-base 0.117.0. **Rulings:** none.