Repository navigation
fix(#893,#860): reword shipped credential text to drop literal env-var names - #896
Merged
Merged
Conversation
…r names The directory scan's "reads a credential from the user's machine" finding keys on shipped TEXT, not just code. #894 already stopped reading REMEMBER_OAUTH_TOKEN/haiku.oauth_token for authentication; this rewords the prose that still names REMEMBER_OAUTH_TOKEN, ANTHROPIC_API_KEY and CODEX_API_KEY in README.md, config.example.json and two changelog fragments (870.fixed.md, 860.changed.md) into plain language, keeping the same disclosure substance without the literal identifiers. Updates test_readme_discloses_854.py's required-names list to match, following the #860 precedent already set there for CLAUDE_CODE_OAUTH_TOKEN. No code logic changes. Co-Authored-By: Claude Sonnet 5 <[email protected]>
fdaviddpt
added a commit
that referenced
this pull request
Oct 3, 2026
* docs(trap.d): log round-1 release-audit findings for v0.39.0 Non-blocking findings from the v0.39.0 gate-3 audit (dispatch token rel39-1791025656-14116): doctor.sh's NOTICE grep reads log history rather than current presence (#894), two docs sweeps that missed stale REMEMBER_OAUTH_TOKEN advice (#894), and a README line overstating the new recovery token's isolation from nested claude -p sessions (#896). All rank `misreports` -- non-blocking per skills/manager/phases/findings.md. Co-Authored-By: Claude Sonnet 5 <[email protected]> * docs(trap.d): log round-2 release-audit findings for v0.39.0 Two new findings from round 2 of the v0.39.0 gate-3 audit (dispatch token rel39-1791028178-23675-r2): haiku.py's auth-failure warning misattributes which credential actually died (#870/#894 composition), and README.md's cache-file disclosure still names the pre-v2 filename (#873/#875 composition). Both rank `misreports` -- non-blocking. Co-Authored-By: Claude Sonnet 5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5 <[email protected]>
fdaviddpt
added a commit
that referenced
this pull request
Oct 6, 2026
…ed, 4 filed as 3 tracking issues) (#921) Promoted: the two #898 bash-subprocess-test pitfalls (Git Bash reglobs its own argv on Windows; a one-line/block extraction regex must try the specific form first) into one new paths rule, bash-subprocess-test-pitfalls.md. Declined, already fixed by later rounds of #860/#898: the Codex-fallback deprecation wording, the auth-failure misattribution, the doctor.sh legacy-token NOTICE section, the README token-isolation overstatement, the lib-lock.sh eval widening, and the legacy-token read-error swallow -- all moot now that the userConfig recovery-token mechanism was removed entirely. Declined, still true, filed as tracking issues: #918 (stale haiku.oauth_token / REMEMBER_OAUTH_TOKEN wording across hooks.d, lib-memory-dir.sh, log.sh and two docs pages), #919 (_check_url_in_comment has no heredoc-boundary tracking), #920 (the #902 REMEMBER_DIR guard's three gaps -- bootstrap-dirs.sh bypass, swallowed FATAL, UNC paths wrongly refused). The README cache-filename fragment cites the existing #888 instead of a duplicate. Part of #860, #870, #875, #891, #894, #896, #898, #902 Co-authored-by: Claude Sonnet 5 <[email protected]>
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.
Part of #893 and #860 -- this pull request does not resolve either issue on its own.
The Anthropic directory scan's "Uses a credential from the user's machine" finding keys on shipped TEXT, not just code. #894 (merged) already stopped reading REMEMBER_OAUTH_TOKEN / haiku.oauth_token for authentication and moved the recovery OAuth token to a plugin.json userConfig option, but shipped prose still named the old mechanism literally. This rewords that prose into plain language with the same disclosed substance, no literal env-var or API-key names, so the release gate #893 is building does not have this text to flag.
What changed (one commit, no code logic)
claude setup-token, point at /plugin -> remember -> Configure.Tests
Text-only change, no behavior to red/green via TDD. Ran green after editing:
python3 -m pytest tests/test_readme_discloses_854.py tests/test_config_flatten_cache_eval_removed_864.py -q-> 39 passed.Fuller sweep of every test file referencing the touched files/strings -> 439 passed, 1 skipped (pre-existing, unrelated).
python3 .oss/assemble_changelog.py --check-> passed, 16 fragments.Full repo pytest not run locally (CI is the full-suite gate per this repo's CLAUDE.md).
Review
Two spawned reviewers (Explore, oss:auditor), both clean/no-findings across all classes. Tree snapshot before/after both spawns: clean, untouched.
Note
CHANGELOG.md's own already-released history sections (e.g. the #860-era line naming REMEMBER_OAUTH_TOKEN/ANTHROPIC_API_KEY, and an older #751-era CODEX_API_KEY mention) still contain these literal names, but are out of scope here: the release tree ships only the LATEST CHANGELOG section, assembled fresh from changelog.d/*.md by the v0.39.0 fold, not the accumulated history.
Co-Authored-By: Claude Sonnet 5 [email protected]
[AI-generated]