[high] gdpr-patterns: PII data potentially logged #33

Open
opened 2026-03-18 16:01:24 +00:00 by sharang · 0 comments
Owner

high Finding

Scanner: gdpr-patterns
Severity: high
Rule: gdpr-pii-logging

Description

Logging statements that may contain personally identifiable information (email, SSN, phone, IP address).

Location

File: compliance-agent/src/pipeline/patterns.rs (line 288)

Code

        assert!(pattern.pattern.is_match("console.log(email)"));

Fingerprint: 4b2c9622b5cc50bdf74187f5aa186758eb49a7e3a240ee3c3891c4fe961f56ec
Generated by compliance-scanner

Labels: severity:high, scanner:gdpr-patterns, compliance-scanner

## high Finding **Scanner:** gdpr-patterns **Severity:** high **Rule:** gdpr-pii-logging ### Description Logging statements that may contain personally identifiable information (email, SSN, phone, IP address). ### Location **File:** `compliance-agent/src/pipeline/patterns.rs` (line 288) ### Code ``` assert!(pattern.pattern.is_match("console.log(email)")); ``` --- *Fingerprint:* `4b2c9622b5cc50bdf74187f5aa186758eb49a7e3a240ee3c3891c4fe961f56ec` *Generated by compliance-scanner* **Labels:** severity:high, scanner:gdpr-patterns, compliance-scanner
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sharang/compliance-scanner-agent#33