Skip to content

fix(security): sanitize validated ids before logging in PokManagerClient#123

Merged
JerrettDavis merged 1 commit into
mainfrom
fix/security-residual-logforging
Jun 23, 2026
Merged

fix(security): sanitize validated ids before logging in PokManagerClient#123
JerrettDavis merged 1 commit into
mainfrom
fix/security-residual-logforging

Conversation

@JerrettDavis

Copy link
Copy Markdown
Owner

Route the instanceId/backupId validation result through SafePath.SanitizeLogValue
and reassign the parameter, so the value logged at every call site is a
recognized-sanitized, CRLF-free string. Clears residual cs/log-forging findings
in PokManagerClient. Runtime behavior is unchanged for valid ids (validation
already rejects control characters).

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

Route the instanceId/backupId validation result through SafePath.SanitizeLogValue
and reassign the parameter, so the value logged at every call site is a
recognized-sanitized, CRLF-free string. Clears residual cs/log-forging findings
in PokManagerClient. Runtime behavior is unchanged for valid ids (validation
already rejects control characters).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@JerrettDavis JerrettDavis merged commit 0a07828 into main Jun 23, 2026
17 checks passed
@JerrettDavis JerrettDavis deleted the fix/security-residual-logforging branch June 23, 2026 01:23
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.

2 participants