Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.268 ·

Plugin manifest path-traversal checks consolidated into a shared helper

Plugin path-traversal checks unified into one shared helper function

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal0worth watching, 1 to 5
AreaPluginswhat it touches
KindInternal Changesin v2.1.268,
Under the hood

Plugin path-traversal checks unified into one shared helper function

What

Several places that check plugin-declared paths for safety — commands, MCP server file references, and plugin.json marketplace source paths — used to each run their own simple check for ".." in the path. They now all call a single shared helper function instead. A related helper that checks whether a directory exists also changed: it now takes the plugin's root folder plus a subpath, rather than an already-resolved path.

Why

Consolidating these checks into one helper reduces the chance that one of the several places validating plugin paths is checked inconsistently or missed when the logic needs to change.

See this entry in the whole of v2.1.268 →

Feedback