Repository navigation
🔒 security(filter): bound exec-inspect response decode - #208
Conversation
newHTTPExecInspector decoded GET /exec/{id}/json responses via
json.NewDecoder(resp.Body) with no size bound, the last unbounded
daemon-response decode in the codebase. Reuses readBoundedResponseBody
(MaxResponseBodyBytes, already shared by resource_limit_guard.go) to
cap the read and reject oversized payloads instead of risking
unbounded memory use.
Closes #188
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reached
Next review available in: 59 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Single sync commit on top of main carrying the dev/v1.6 tip tree (9d8ea57): 🔒 security(exec): bounded exec-inspect response decode (#208) 🧪 test(integration): portwing/drydock preset conformance suites (#210) 🧪 test(ci): weekly engine-matrix integration workflow (#209) 🔧 config(ci): fuzz deadline-flake retry (#207) 🔧 chore(conformance): mktemp scratch dir + live /events + trigger contracts (#206, #212) 🔧 chore(release): GA promotion — changelog, README, chart, website (#213)
Single sync commit on top of main carrying the dev/v1.6 tip tree (de8015b): 🔒 security(exec): bounded exec-inspect response decode (#208) 🧪 test(integration): portwing/drydock preset conformance suites (#210) 🧪 test(ci): weekly engine-matrix integration workflow (#209) 🔧 config(ci): fuzz deadline-flake retry + exit-status propagation (#207, #215) 🔧 chore(conformance): mktemp scratch dir + live /events + trigger contracts (#206, #212) 🔧 chore(release): GA promotion — changelog, README, chart, website (#213, #215)
Single sync commit on top of main carrying the dev/v1.6 tip tree (de8015b): 🔒 security(exec): bounded exec-inspect response decode (#208) 🧪 test(integration): portwing/drydock preset conformance suites (#210) 🧪 test(ci): weekly engine-matrix integration workflow (#209) 🔧 config(ci): fuzz deadline-flake retry + exit-status propagation (#207, #215) 🔧 chore(conformance): mktemp scratch dir + live /events + trigger contracts (#206, #212) 🔧 chore(release): GA promotion — changelog, README, chart, website (#213, #215)
Closes #188.
newHTTPExecInspectorwas the last daemon-response decode without a size bound. It now reads via the sharedreadBoundedResponseBodyhelper (MaxResponseBodyBytes, 8 MiB, limit+1-then-check semantics), matching the exact call convention resource_limit_guard.go already uses. Regression test covers over-limit rejection and normal-size decode.gofmt,golangci-lint(0 issues), and the fullgo test ./...suite pass.