Skip to content

🔒 [security fix] Fix information leak in Last.fm logs#14

Merged
segin merged 1 commit intomasterfrom
fix-lastfm-logging-leak-9731366688644314256
Feb 11, 2026
Merged

🔒 [security fix] Fix information leak in Last.fm logs#14
segin merged 1 commit intomasterfrom
fix-lastfm-logging-leak-9731366688644314256

Conversation

@segin
Copy link
Owner

@segin segin commented Feb 11, 2026

🎯 What: The vulnerability fixed is an information leak in debug logs. Specifically, the password length, partial session key, and full session key were being logged in src/lastfm/LastFM.cpp.

⚠️ Risk: Logging secrets or metadata about secrets (like length) reduces the search space for an attacker and can lead to unauthorized access if log files are compromised.

🛡️ Solution: Removed the sensitive data from the DEBUG_LOG_LAZY calls in src/lastfm/LastFM.cpp. The log messages now only indicate that the data has been loaded or the operation was successful, without revealing the sensitive values themselves.


PR created automatically by Jules for task 9731366688644314256 started by @segin

Removed password length and session keys from debug logs to prevent
sensitive information exposure.

Fixed:
- Password length logged during config loading.
- Partial session key logged during config loading.
- Full session key logged during successful handshake.

Co-authored-by: segin <480709+segin@users.noreply.github.com>
@google-labs-jules
Copy link
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@segin segin merged commit 3c6fe3c into master Feb 11, 2026
0 of 2 checks passed
@segin segin deleted the fix-lastfm-logging-leak-9731366688644314256 branch February 11, 2026 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant