Skip to content

fix(security): sanitize log values to prevent log forging in JobService#11

Merged
JerrettDavis merged 1 commit into
mainfrom
fix/cs-log-forging-jobservice
Jun 23, 2026
Merged

fix(security): sanitize log values to prevent log forging in JobService#11
JerrettDavis merged 1 commit into
mainfrom
fix/cs-log-forging-jobservice

Conversation

@JerrettDavis

Copy link
Copy Markdown
Owner

Strip CR/LF from JobId before logging in SubmitAsync to prevent
log-forging attacks (CodeQL cs/log-forging, CWE-117). Uses chained
String.Replace pattern recognized by CodeQL's taint-tracking analysis.

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

Strip CR/LF from JobId before logging in SubmitAsync to prevent
log-forging attacks (CodeQL cs/log-forging, CWE-117). Uses chained
String.Replace pattern recognized by CodeQL's taint-tracking analysis.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@JerrettDavis JerrettDavis merged commit bc404cf into main Jun 23, 2026
3 checks passed
@JerrettDavis JerrettDavis deleted the fix/cs-log-forging-jobservice branch June 23, 2026 03:28
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