DashboardopencodeconnectedSocketFD _handle.fd

connectedSocketFD _handle.fd

Category: gotcha
Confidence: 1.00
ID: 01a08034-93c1-78c6-a4a8-8b0219950403
Project ID: c0425955-02bc-4c17-9af2-b114c00077e7
Cross-project: No
Recalled in other projects: 1
Source session: 0OJYWmHUobcuQ4y8f
Created: 2026-09-08 06:54:01
Updated: 2026-09-08 08:48:44

Cross-Project Recalls

ProjectHitsLast recalled
opencode-lore 2 13h ago

Content

Trap: Node’s private socket._handle.fd looks usable because host Node exposes the connected Unix descriptor, but it is undocumented and host-runtime tests do not prove behavior or inheritance in the shipped SEA. Fix: fail closed unless it is a nonnegative socket fd, then run descriptor, SO_PEERCRED, peer-PID, unrelated-child inheritance, and same-UID delegation acceptance against the exact Node 26.4 SEA; Node 24 evidence never satisfies this gate.

Move to: