forked from lidge-jun/opencodex
-
Notifications
You must be signed in to change notification settings - Fork 0
fix(responses): bound trailing wrapper parsing to prevent quadratic JSON.parse #566
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
Open
luvs01
wants to merge
6
commits into
dev
Choose a base branch
from
codex/fix-denial-of-service-vulnerability-in-scanner
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
8aa3a6c
fix(responses): bound trailing wrapper parsing
luvs01 7a7c9b3
fix(ci): bound a wedged macOS isolate instead of letting it eat the leg
devin-ai-integration[bot] d9dc208
fix(responses): resolve a closed wrapper from the scan's member table
devin-ai-integration[bot] 05fcb7a
fix(ci): detach the macOS watchdog sleep so its orphan cannot pin the…
devin-ai-integration[bot] 31abee2
Merge remote-tracking branch 'origin/dev' into codex/fix-denial-of-se…
devin-ai-integration[bot] c83b4be
ci: retrigger test 2/4 after silent child-spawn flake
devin-ai-integration[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
🔍 Workflow change requires explicit security review
This watchdog changes GitHub Actions process termination and CI gating behavior. Repository policy requires explicit security review before merge.
Was this helpful? React with 👍 or 👎 to provide feedback.
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.
Acknowledged — this stays open for a human security review since it changes CI process termination.
While exercising it: the watchdog had a real defect worth noting for that review.
kill $watchdog_pidreaps the subshell but orphans its in-flightsleep 15, which kept the step's output pipes open for up to 15s past each suite — the same 15s themacos-serial-lanesharness uses as its internal deadline, which is why that file timed out on every lane after this landed. Fixed in 05fcb7a by detaching the sleeps' inherited fds (</dev/null >/dev/null 2>&1), so an orphaned sleep costs nothing; verified the pipe now closes in ~0.5s vs 15.0s before.