Skip to content

fix(security): Keep a lower-case name after a token keyword - #5824

Merged
dan-petty merged 2 commits into
mainfrom
fix/5240-narrow-the-token-masker
Nov 15, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/5240-narrow-the-token-masker

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The masker replaced a lower-case name after the word Secret or token with , so devops roadmap intake refused a candidate that named Secret devops-cli or the subcommand token revoke-self. The space-separated keyword rule now masks only a value with a digit, a dot, an internal capital, or 24 characters or more; a lower-case hyphenated name stays. The assignment forms keep the wider rule of _mask_literal, and every positive case still masks. Two negative cases, built from parts, pin the shapes.

Closes #5240

Change: openspec/changes/archive/2026-11-15-5240-narrow-the-token-masker/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/security Security linters (trivy, bandit, gitleaks, kubeconform) and Vault labels Nov 15, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 15, 2026 12:52
@dan-petty
dan-petty merged commit c4b2fc9 into main Nov 15, 2026
23 checks passed
@dan-petty
dan-petty deleted the fix/5240-narrow-the-token-masker branch November 15, 2026 13:04
dan-petty pushed a commit that referenced this pull request Nov 15, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.153.0](v0.152.1...v0.153.0)
(2026-11-15)


### Features

* **monitoring:** Turn on the Loki pattern ingester
([#5833](#5833))
([1189ce3](1189ce3))
* **roadmap:** Re-stage an item whose draft plan fails
([#5816](#5816))
([631a0b3](631a0b3))


### Bug Fixes

* **github:** retry a connect failure on GitHub session GET
([#5832](#5832))
([7fc5a87](7fc5a87))
* **roadmap:** Read the plan head by SHA, not FETCH_HEAD
([#5831](#5831))
([2b46370](2b46370))
* **security:** configure read-only root file system for GFD
([#5807](#5807))
([3c902d7](3c902d7)),
closes [#5791](#5791)
* **security:** Keep a lower-case name after a token keyword
([#5824](#5824))
([c4b2fc9](c4b2fc9))
* **tests:** Name the ceiling file and the usual fix
([#5829](#5829))
([cd0974c](cd0974c))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/security Security linters (trivy, bandit, gitleaks, kubeconform) and Vault type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(security): the masker leaves names after token or Secret alone

1 participant