Repository navigation
fix(security): harden access and resource boundaries - #2858
Conversation
SafeDep Report SummaryNo dependency changes detected. Nothing to scan. This report is generated by SafeDep GitHub App |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
| try { | ||
| await writeFile(`${dir}/escape.cjs`, 'module.exports = typeof process') | ||
| const result = await sandbox.execute( | ||
| `async function handler(ctx, require) { return await require(${JSON.stringify(`${dir}/escape.cjs`)}) }`, |
| const sandbox = new SandboxService({ maxWorkers: 1, bridgeHandlers: {} }) | ||
| try { | ||
| const result = await sandbox.execute( | ||
| `function handler() { new WebSocket(${JSON.stringify(url)}); return 'connected' }`, |
Daybreak Blue security report summary23 findings: 3 high, 12 medium, 8 low. The original report assigns high confidence to all 23 findings.
Findings and changes in this PR
The three high-severity findings were outbound SSRF, unbounded image buffering, and relay source/fanout amplification. Verification and rolloutIndependent verification for the fixes includes Core tests (3104 passed / 11 skipped across the full run and a Redis-port-conflict retry), a fresh 154-test focused security run before PR creation, real PostgreSQL/SQLite checks, 27 Rust Relay tests, 49 iOS Core tests, Core/iOS builds, and real Chromium private-egress rejection (HTTP 403; zero requests reached the private target). Rollout requires matching Core/Relay enrollment secrets, Relay migration 0003, Space push reactivation, iOS pairing over HTTPS, confirmation of previously unverified email subscriptions, and the telemetry rate-limit binding. The sandbox remains intended for trusted owner-authored scripts. Full 23-item remediation matrix, upgrade requirements, and verification record. Production deployment policies, live APNs delivery, and a remote Daybreak Blue rescan have not been verified by this PR. |



Summary
docs/security/2026-10-23-daybreak-blue-remediation.md.Upgrade requirements
Deploy Relay and Core together with matching
PUSH_RELAY_ENROLLMENT_TOKEN/MX_PUSH_RELAY_ENROLLMENT_TOKENvalues and apply Relay migration 0003. Existing Space push bindings must be reactivated. iOS users must pair again over HTTPS; unverified email subscriptions need confirmation. Deploy telemetry with the newCOLLECT_LIMITERbinding.Test plan
git diff --check.Database migrations checklist