All rules →
Rules / JavaScript / TypeScript
SHIELD-JS-015

Sensitive data in console.log

mediumJavaScript / TypeScriptCWE-532CVSS 5.3

What it detects

Logging sensitive information such as passwords or tokens can leak data.

How to fix

Remove sensitive data from log statements. Use structured logging with redaction.

Scan your repo freeFull documentation
Back to all rules
SHIELD-JS-015: Sensitive data in console.log — Zennoxa Shield