CVE-2025-55284: Insecure Tmp File Writecve-2025-55284-insecure-tmp-file-write
Writing to a hardcoded or predictable path in a world-writable directory (like /tmp/) can lead to local privilege escalation or file corruption via symlink attacks (CWE-379). Use the built-in `tempfile` module (e.g., `tempfile.NamedTemporaryFile` or `tempfile.mkstemp`) to create temporary files securely.