How can I run `pkg audit` on the proServer?

Simply running "pkg audit" fails because it attempts to download a list of known security vulnerabilities and, by default, uses a path that is read-only here. However, you can override this path when running the command.

Use the following command:

 pkg audit -F -f /tmp/audit.txt

the file containing the security vulnerabilities is saved as /tmp/audit.txt instead; of course, you can choose any name and path as long as the destination directory exists and is writable.

The -F parameter causes any existing file to be ignored and the list to be retrieved anew; it makes sense to delete the file after use.