What
The project write tool can upload a file from your computer into a project when it is given a local path. Before, it only checked that the file sat inside the working directory and was not a symbolic link, which is a shortcut pointing at another file. It now also refuses:
- Credential files.
- Devices, meaning special system files that stand for hardware rather than ordinary files.
- Files inside Claude Code's own config and token folders.
- Files that your read permission rules do not allow.
- Files with a hard link, meaning the same file also exists under a second name. Claude is told to pass the file's text directly instead.
- Paths that are too long.
The check against open-file entries under /proc now compares exactly against the real resolved path.
Why
These checks make it much harder for a project upload to carry passwords, tokens or other private files off your machine, whether by accident or because a file's name hides what it really is.