Unclear Whether plugin modules can actually use these operations, or whether anything else limits them, is not confirmed.
What
Plugins (also called mods) are add-ons that run inside Claude Code and ask it to do things for them, such as reading or writing files. Claude Code keeps lists of the operations a plugin may ask for, called capabilities. Those lists have grown, and the new file checks work in a safer way:
fs.statandfs.existsnow appear in the capability lists.fs.statlooks up a file's details andfs.existschecks whether a file is there. Before, the list heldfs.read,fs.list,fs.write,process.runandprocess.spawn.fs.list, for listing a folder, was added to another of these lists.- The
$.fshandler that carries out these requests now finds a file through a handle it keeps open on the file's parent folder, for both stat and exists. Before, it looked the path up directly with a plainlstat. When it cannot hold the folder, it reports that "its folder was not held". fs.existsnow also passes along whether the request has been judged (o.judged).
Why
Plugins can do more with files than before, so it is worth knowing which plugins you have installed. Holding the parent folder open while checking a file makes it harder for a file or link to be swapped out between the check and the use, a kind of attack known as a symlink race.
Whether plugin modules can actually use these operations, or whether anything else limits them, is not confirmed.