Sensitive data detected as part of a dynamic file generation.

Description

It is not uncommon to generate logs, backups, or data exports to static file formats. This rule checks if code exists to write sensitive data to static files.

Remediations

Avoid writing sensitive data to logs, backups, or exports whenever possible. Instead obfuscate and/or filter the data to exclude sensitive information.

Associated CWE

OWASP Top 10