0o777 (world-writable)0o777 (world-writable)File: src/main.zig:30
Severity: LOW
Status: ✅ FIXED — changed 0o777 → 0o755 (owner-writable, world-readable/executable).
const rc = c.mkdir(dir_z.ptr, 0o777); // → 0o755
The log directory $XDG_STATE_HOME/szn/ is created with mode 0777. Any user on the system can write files into it. Should be 0o700.