Repository navigation
devcloud guard: find bare Google OAuth tokens (devcloud 0.4.2) - #274
Merged
Merged
Conversation
gcloud auth print-access-token prints the access token alone on its line, and no rule matched it: only the JSON and Bearer forms were caught, so the token reached the model and the transcript unmasked. A ya29. access token, the dotted service-account form included, and a 1//0 refresh token are now token rules. Checked on a real print-access-token output: one span covering it whole.
SSFSKIM
added a commit
that referenced
this pull request
Oct 19, 2026
…; bump to 7.189.1 Conflicts only in the version manifests: main's side taken (devcloud 0.4.2 with it), then bump-version.sh to 7.189.1, the next patch above main. Sminos-Session: smns-erb-71#b4948247 (doperpowers on macbook)
SSFSKIM
added a commit
that referenced
this pull request
Oct 19, 2026
…e-roster; bump to 7.189.2 Conflicts resolved: - cmd_guide: #269's guide_text(session, launch, source, session_title) call, with the roster's launch variable and its append around it. - test-guide.sh: #269's fork and engine-record cases and this branch's roster cases both kept, the roster's first. - The spec's Decisions: #269's, then the roster's, its follow-on. - CLAUDE.md's hooks/ row: main's line with the roster clause. - The version manifests: main's side, then bump-version.sh to 7.189.2. Sminos-Session: smns-erb-71#b4948247 (doperpowers on macbook)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
gcloud auth print-access-tokenprints the access token alone on its line. No detector rule matched that form: only the JSON-assignment andBearerforms were caught, so the token reached the model and the transcript unmasked.New token rules:
google-access-token:ya29.access tokens, including the dotted service-account formya29.c.…. A closing sentence dot is not included in the match.google-refresh-token:1//0…refresh tokens.Checked on a real
print-access-tokenoutput (1025 characters): one span covered it whole, printing only lengths. The devcloud-mods tests pass 91/91, and the gates are GREEN (run 39277761769).cua vendors this file, so a resync ticket follows in SSFSKIM/cua.