Writing into a file with a predictable name in a 777 directory (possibly as privileged user) is a huge security risk. This also runs into problems if both a privileged user and a non-privileged user use vulnix on the same system.
Better use a user-specific cache directory. Click has some support for system-independent config directory access, perhaps we can build on top of that. Or just use $HOME/.cache/vulnix.
Writing into a file with a predictable name in a 777 directory (possibly as privileged user) is a huge security risk. This also runs into problems if both a privileged user and a non-privileged user use vulnix on the same system.
Better use a user-specific cache directory. Click has some support for system-independent config directory access, perhaps we can build on top of that. Or just use
$HOME/.cache/vulnix
.