lib/install/install.go in cnlh nps up to and including 0.23.2 uses 0777 permissions for /usr/local/bin/nps and/or /usr/bin/nps, leading to a file overwrite by a local user.
nps project nps