Skip to content

fix(secrets): stop printing secret names during env load (salvage #60295) - #69054

Merged
teknium1 merged 1 commit into
mainfrom
salvage/60295-no-secret-names
Jul 22, 2026
Merged

fix(secrets): stop printing secret names during env load (salvage #60295)#69054
teknium1 merged 1 commit into
mainfrom
salvage/60295-no-secret-names

Conversation

@teknium1

Copy link
Copy Markdown
Contributor

Summary

Startup no longer prints the NAMES of applied vault secrets — applied 98 secrets (OPENAI_API_KEY, ...) becomes applied 98 secrets. Secret names are enumeration surface (shoulder-surfing, shipped logs) with no operator value at startup; hermes secrets bitwarden sync still shows the full table on demand.

Clean cherry-pick of PR #60295 by @andrexibiza, incl. regression test asserting no name leakage.

Validation

Result
tests/test_env_loader_secret_sources.py 13/13 passed

Credit: @andrexibiza.

Infographic

startup-quiet-secrets

@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

૮ >ﻌ< ა ci review

running on bb775a5

CI timings

CI timings · View job

Wall time 8m14s vs 10m42s (-23.1%). 9 job(s) slower, 9 faster, 2 unchanged.

  • Build&Test Docker image / build (amd64, ubuntu-latest, linux/amd64, type=gha,scope=docker-amd64, type=gha,mode=max,scope=do...: -143.0s
  • Python tests / e2e: -125.0s
  • Build&Test Docker image / build (arm64, ubuntu-24.04-arm, linux/arm64, type=gha,scope=docker-arm64, type=gha,mode=max,scope...: -123.0s
  • Python tests / Run tests slice 6/8: +69.0s
  • Python tests / Run tests slice 5/8: +17.0s

@alt-glitch alt-glitch added type/security Security vulnerability or hardening P3 Low — cosmetic, nice to have comp/cli CLI entry point, hermes_cli/, setup wizard area/auth Authentication, OAuth, credential pools needs-repro Bug needs reproduction steps sweeper:risk-security-boundary Sweeper risk: may affect sandboxing, auth, credentials, or sensitive data labels Jul 22, 2026
@teknium1
teknium1 merged commit fe5d0be into main Jul 22, 2026
39 checks passed
@teknium1
teknium1 deleted the salvage/60295-no-secret-names branch July 22, 2026 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/auth Authentication, OAuth, credential pools comp/cli CLI entry point, hermes_cli/, setup wizard needs-repro Bug needs reproduction steps P3 Low — cosmetic, nice to have sweeper:risk-security-boundary Sweeper risk: may affect sandboxing, auth, credentials, or sensitive data type/security Security vulnerability or hardening

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants