Intent-Code Divergence
Medium
- Confidence
- 89% confidence
- Finding
- The script uses a predictable, fixed path under /tmp and then applies chmod 700 after mkdir -p. If that directory already exists and is attacker-controlled or was created with broader permissions, the script may operate in an unsafe location, enabling symlink or file-replacement attacks against the generated WAV/OGG files.
