
Your agent's file-download endpoint passes the ../ test and still leaks the folder next door
Agents write a path check that stops ../ and misses sibling directories and symlinks. A seven-row Vitest attack table fails the first draft, and a 20-line fix that resolves real paths passes it. About 20 minutes.
8 min read

