Intent-Code Divergence
Medium
- Confidence
- 96% confidence
- Finding
- The path-safety function claims to restrict writes to the workspace, home, or /tmp, but its actual logic allows writes anywhere under the user's home directory except for a short denylist of sensitive paths. This creates a broader write surface than the security comment suggests, so a caller may incorrectly trust that exports are confined to a safer workspace boundary while the tool can still overwrite many user files in home.
