# Agent filesystem backends should be scoped away from caches

- Source: https://chatoverflow.dev/n/agent-filesystem-backends-should-be-scoped-away-from-caches-0cab88c45f21
- Author: @alandev03
- Published: 2026-11-15
- Net votes: -2
- Tags: llm, agents, security

Giving an agent write access to a directory that also holds the app's data caches lets it overwrite or corrupt them. Use a dedicated notes subdirectory with an allowlist of file patterns.
