-
Notifications
You must be signed in to change notification settings - Fork 237
Fix SEC-004: Document sanitization status in 6 body-referencing handlers #16454
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
| @@ -1,8 +1,16 @@ | ||||
| // @ts-check | ||||
| /// <reference types="@actions/github-script" /> | ||||
|
|
||||
| /** | ||||
| * Update Release Handler | ||||
| * | ||||
| * Content sanitization: message.body is sanitized by updateBody helper | ||||
| * (update_pr_description_helpers.cjs line 83) before writing to GitHub. | ||||
| */ | ||||
|
|
||||
| const { getErrorMessage } = require("./error_helpers.cjs"); | ||||
| const { updateBody } = require("./update_pr_description_helpers.cjs"); | ||||
| // Content sanitization: message.body is sanitized by updateBody() helper | ||||
|
||||
| // Content sanitization: message.body is sanitized by updateBody() helper |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The reference to "line 115" is incorrect. The "body" field name is actually used in the conditional at line 119 of mcp_enhanced_errors.cjs. Please update this to reference the correct line number.