[medium] gitleaks: Secret detected: Detected a MongoDB connection string with embedded credentials, potentially exposing direct database access and sensitive application data. #923

Closed
opened 2026-11-05 20:13:50 +00:00 by pruefwerk · 2 comments
Member

medium Finding

Scanner: gitleaks
Severity: medium
Rule: mongodb-connection-string

Description

Potential secret (mongodb-connection-string) found in compliance-agent/src/pipeline/nvd_monitor.rs:1174. Match: mongodb://root:example@localhost:27017/?authSource=admin"

Location

File: compliance-agent/src/pipeline/nvd_monitor.rs (line 1174)

Code

mongodb://root:example@localhost:27017/?authSource=admin"

Fingerprint: bbd7b69944857237a89719989d12684a1b0c0691972d09f1220142224b276e25
Generated by compliance-scanner
Open in Prüfwerk / In Prüfwerk öffnen

## medium Finding **Scanner:** gitleaks **Severity:** medium **Rule:** mongodb-connection-string ### Description Potential secret (mongodb-connection-string) found in compliance-agent/src/pipeline/nvd_monitor.rs:1174. Match: mongodb://root:example@localhost:27017/?authSource=admin" ### Location **File:** `compliance-agent/src/pipeline/nvd_monitor.rs` (line 1174) ### Code ``` mongodb://root:example@localhost:27017/?authSource=admin" ``` --- *Fingerprint:* `bbd7b69944857237a89719989d12684a1b0c0691972d09f1220142224b276e25` *Generated by compliance-scanner* [Open in Prüfwerk / In Prüfwerk öffnen](https://pruefwerk.breakpilot.com/findings?target=6ae9aa2160f5d8045fc570a7)
pruefwerk added the severity:mediumcra:annex-ipruefwerk labels 2026-11-05 20:13:50 +00:00
Author
Member

Prüfwerk: In Prüfwerk als Fehlalarm (Regel) markiert.

Marked a false positive (rule) in Prüfwerk.

**Prüfwerk:** In Prüfwerk als Fehlalarm (Regel) markiert. Marked a false positive (rule) in Prüfwerk.
Author
Member

Prüfwerk: Bei der Prüfung nicht mehr gefunden, daher als behoben markiert.

No longer found by the scan, so marked resolved.

**Prüfwerk:** Bei der Prüfung nicht mehr gefunden, daher als behoben markiert. No longer found by the scan, so marked resolved.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: platform/pruefwerk#923