Skip to content

fix: holistic field detection for <text> (sha256 hash) redaction#9834

Merged
mmaietta merged 3 commits into
masterfrom
fix/holisitic-stripping
Jun 5, 2026
Merged

fix: holistic field detection for <text> (sha256 hash) redaction#9834
mmaietta merged 3 commits into
masterfrom
fix/holisitic-stripping

Conversation

@mmaietta

@mmaietta mmaietta commented Jun 5, 2026

Copy link
Copy Markdown
Collaborator

Overhauls how fields are detected and redacted across HTTP requests, logging, and variable handling. The changes standardize the detection of fields, ensuring consistent hashing in logs and error messages, and make the system extensible for when supporting custom 3rd party Publishers. Several utility functions for redacting field data are now exported and reused throughout the codebase.

  • Introduced normalizeName, isSensitiveFieldName, and hashSensitiveValue utilities to consistently identify and hash sensitive field names and values across the codebase. These now underpin all sensitive data redaction.
  • Added registries and public APIs (addSensitiveRedirectHeader, addSensitiveFieldPattern) to allow custom publishers to register additional sensitive headers or field patterns for redaction.

@changeset-bot

changeset-bot Bot commented Jun 5, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 1bb66ea

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 12 packages
Name Type
builder-util-runtime Patch
electron-publish Patch
electron-updater Patch
builder-util Patch
app-builder-lib Patch
electron-builder Patch
dmg-builder Patch
electron-builder-squirrel-windows Patch
electron-forge-maker-appimage Patch
electron-forge-maker-nsis-web Patch
electron-forge-maker-nsis Patch
electron-forge-maker-snap Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@mmaietta mmaietta marked this pull request as ready for review June 5, 2026 02:11
@mmaietta mmaietta merged commit 22a7532 into master Jun 5, 2026
122 of 123 checks passed
@mmaietta mmaietta deleted the fix/holisitic-stripping branch June 5, 2026 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant