Skip to content

Release 0.9.4: harden recorded secret redaction - #117

Merged
Giorgio Ughini (GiorgioUghini) merged 1 commit into
mainfrom
giorgioughini-secret-redaction-safeguards
Nov 23, 2026
Merged

Giorgio Ughini (GiorgioUghini) merged 1 commit into
mainfrom
giorgioughini-secret-redaction-safeguards

Conversation

@GiorgioUghini

Copy link
Copy Markdown
Contributor

Summary

  • Preserve detected secret spans across terminal rows, pagination, time windows, and excerpt boundaries without hiding unrelated diagnostic output.
  • Scan bounded, overlapping multiline windows and retain ANSI parser state across PTY chunks, covering printed private keys and split control sequences.
  • Mask raw text before JSON escaping and truncation in analysis tools.
  • Add regression cases for all four reported gaps and compatibility controls for ordinary output, metadata, pagination, saved recordings, and protection opt-out.
  • Keep UI/UX flows, tool schemas, dependencies, and recording formats unchanged.

Release

Bump package.json and package-lock.json to 0.9.4 for a compatible security patch. This is the release PR described in RELEASING.md, so its target is main; the starting commit is also the current release/0.9.3 tip (0d4bd217aad1fb349cc1e4b1a0ff3fd8cce5e70a).

Prepare a source-only release after review, merge, and successful mandatory cross-platform workflows on the resulting main commit. Release notes must include the exact release commit, installer-script SHA-256 values, and commit-pinned installation commands. No binaries are included.

Validation

Passed locally with Node 24.19.0 / npm 11.17.0:

  • npm test (including AI-provider pretests and import posttests)
  • npm run build
  • npm run typecheck:evals
  • npm run check:lockfile
  • npm run compliance:licenses

All four reported cases were independently reproduced with synthetic fixtures before the fixes; the original reporter's test attachment was unavailable. No real credentials or live AI-provider requests were used.

Preserve secret spans across terminal chunks and excerpts, scan multiline output with streaming ANSI normalization, and redact raw values before serialization and truncation. Preserve UI flows, output contracts, local recordings, and protection opt-out behavior.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@GiorgioUghini
Giorgio Ughini (GiorgioUghini) merged commit f4f9e2b into main Nov 23, 2026
5 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