Skip to content
All changes

SecurityFix

Redaction masks a key named credential and its prefixed forms

@venizia/ignis-helpers

Changelog - 2026-11-06 ​

Redaction masks a key named credential and its prefixed forms ​

Security Bug Fix

In one line. A value under the key credential (singular), dbCredential, api_credential or a plural such as dbCredentials is now replaced with [REDACTED]. Only credentials was masked before, so these keys reached the log in clear.

What changed ​

  • The bare key. credential joins credentials in the list of masked key names.
  • The prefixed forms. Any key that ends in _credential, Credential, _credentials or Credentials is masked, the way keys ending in Token and Secret already were.
  • Where it applies. Every caller of RedactUtility.redactSecrets and toJsonSafe, with or without force, and so the logger and the fetchers that redact a request config.

Who is affected ​

  • Code that logs or inspects an object holding a credential-style key. The value now reads [REDACTED]. A key that only contains the word, such as credentialType, is not masked, but any key that ENDS in it is, flags included (hasCredential), as with Token and Secret.
  • Everyone else. No action needed.

Details ​

FilePackage
src/common/redact.tshelpers