github OthmanAdi/planning-with-files v2.21.0
v2.21.0 — Security: Remove WebFetch/WebSearch from allowed-tools

latest releases: v2.43.0, v2.42.0, v2.41.0...
2 months ago

Security Fix

This release addresses the Gen Agent Trust Hub FAIL and reduces the Snyk W011 risk score reported against planning-with-files.

Root Cause

The skill declared WebFetch and WebSearch in allowed-tools. Combined with the PreToolUse hook that auto-re-reads task_plan.md before every tool call, this created a toxic flow:

  1. Agent fetches untrusted web content
  2. Content is written to planning files
  3. Hook injects that content into context on every subsequent tool call — amplification

This is exactly the pattern that security scanners classify as indirect prompt injection + amplification.

What Changed

  • allowed-tools updatedWebFetch and WebSearch removed from all 7 IDE variants (Claude Code, Cursor, Kilocode, CodeBuddy, Codex, OpenCode, Mastra Code). This skill is a planning and file-management tool; web access is not part of its core scope.
  • Security Boundary section added to SKILL.md — explicit guidance that external content must go to findings.md only, never task_plan.md, and all web-sourced content must be treated as untrusted.
  • Security note added to examples.md inline with the WebSearch example — reinforces the trust boundary at the point where users learn the pattern.

Impact

  • Users can still use web search naturally in their workflow — the skill just no longer declares it as part of its own tool scope
  • The planning workflow (3 files, hooks, session recovery) is unchanged
  • All 16 IDE integrations updated

Files Changed

23 files — 7 SKILL.md variants + 14 examples.md variants + CHANGELOG + plugin.json

Don't miss a new planning-with-files release

NewReleases is sending notifications on new releases.