Skip to content

fix(security): redact delegated token in formatted output - #4

Merged
BhautikChudasama merged 1 commit into
mainfrom
fix/redact-access-token-output
Sep 18, 2026
Merged

BhautikChudasama merged 1 commit into
mainfrom
fix/redact-access-token-output

Conversation

@BhautikChudasama

Copy link
Copy Markdown
Collaborator

Summary

  • Redact plaintext delegated sandbox tokens from the create/rotate response object's default string or debug output.
  • Keep direct token access for callers and API response decoding unchanged.
  • Add a regression check and changelog note.

Reason

Logging an entire create/rotate response could disclose the delegated credential. Explicit access to the token field remains available when the caller needs to store or pass it to a worker.

Verification

  • Python tests and Ruff checks passed.

@BhautikChudasama
BhautikChudasama merged commit 560fd7a into main Sep 18, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant