Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.275 ·

REPL sandbox now scopes filesystem-looking strings to workspace roots instead of scanning code for imports

REPL sandbox check now matches file paths against workspace roots instead of scanning code for import statements

TierYou'll noticehow much it should matter to you
Useful2my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaREPLwhat it touches
KindImprovementsin v2.1.275,
You'll notice

REPL sandbox check now matches file paths against workspace roots instead of scanning code for import statements

What

A helper function used by the REPL (the interactive code-execution environment) sandbox no longer inspects input as JavaScript looking for require/import-style statements to block with a "sealed vm context" error. Instead, it treats the input as a file path: it expands $HOME or ~ prefixes, normalizes the path, and checks whether it falls under one of the configured workspace roots, returning true or false instead of throwing an error.

Why

This changes the sandbox's filtering from code-pattern detection to path-based scoping, which is a more direct way to decide whether a given path is inside allowed workspace boundaries.

See this entry in the whole of v2.1.275 →