Intel

AIKIDO-2025-10873

@logtape/redaction is vulnerable to Insertion of Sensitive Information into Log File

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Dec 3, 2025
December 3, 2025

35

CVE Score

Low

Insertion of Sensitive Information into Log File

Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to sensitive information exposure in logs due to incomplete redaction in the redactByField() function. Objects passed via the {*} wildcard retained their original references, causing sensitive fields to appear in log messages even when properties were marked for redaction. The issue is fixed by ensuring redactByField() properly redacts sensitive values both in the wildcard-passed objects and within the message array itself.

How do I fix this?

Upgrade the @logtape/redaction library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Versions

0.0.1 - 1.1.2

Fixed in 1.1.3

1.2.0 - 1.2.1

Fixed in 1.2.2

Background info

@logtape/redaction is vulnerable to Insertion of Sensitive Information into Log File in versions 0.0.1 - 1.1.2 and 1.2.0 - 1.2.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea