v0.3.2
Security
- DNS rebinding fix: Outbound fetches now pin to the validated IP address on every hop, closing the TOCTOU window between DNS resolution and TCP connection. Uses a custom
lookupcallback onhttp.request/https.requestso the socket connects to the vetted IP. - Centralized path containment: All
.brand/writes and cwd-scoped file reads use a sharedassertPathWithinBase()helper, eliminating sibling-prefix traversal escapes. - Regression tests: New tests for pinned transport behavior and path traversal edge cases.
Upgrade recommended for all users of v0.3.0 and v0.3.1.