What a server sends
A server tells Vulnsift what it runs with one shell script, run by cron every hour. It reads package lists and version files, sends one document, and stops: nothing stays running, and the script changes nothing on the server.
What it reads
| What | Where from |
|---|---|
| The operating system | /etc/os-release |
| The kernel | The one running, and a newer one that is installed and waits for a restart |
| Packages | The package manager (rpm or dpkg): each package’s version and build, who built it, and on Debian and Ubuntu which repository it came from |
| Fixes a build already has | The CVE ids named in the changelogs of the packages Vulnsift checks, and in applied KernelCare patches. Nothing else of a changelog |
| Software outside packages | Version commands (nginx -v, php -v and the like) and version files of cPanel & WHM and LiteSpeed |
| WordPress | Each site’s version, and the slug and version of each plugin and theme, from their own headers |
| What is in use | On cPanel and HestiaCP, which PHP versions sites are set to use and which domains serve each WordPress folder. Of nginx, whether five parts are switched on: HTTP/2, HTTP/3, the mail proxy, the stream module and the resolver |
| What can be reached | Listening TCP ports and which software listens on them, and which ports the firewall (csf or firewalld) opens to everyone |
What it never reads
wp-config.php, posts, databases, mail, logs, passwords or keys.- Anything of nginx’s configuration but those five yes-or-no answers: no server name, address or path.
- Anything of a changelog but CVE ids.
What it sends
Only the document it can print for you: the server’s name and listening ports, and for each
piece of software its name, version and how it was installed, with what it read about that
software above. It goes over HTTPS to app.vulnsift.com and nowhere else, with
your organisation’s server key. A shortened example:
assets:
- name: "web1.example.net"
kind: server
ports: [22, 80, 443]
software:
- product: "almalinux"
version: "9.4"
- product: "nginx"
version: "1.20.1"
packaging: distro
- product: "wordpress"
label: "/home/shop/public_html"
version: "6.6.2"
- product: "wordpress-plugin:woocommerce"
label: "/home/shop/public_html"
version: "9.3.3"
To see your own server’s document, and send nothing:
sh /usr/local/sbin/vulnsift-inventory.sh --print
The server key
The key in the command can do one thing: send a server’s list. It cannot read your
findings or change anything else. It is kept in /etc/cron.d/vulnsift, which only
root can read, and never on a command line where other users could see it. An admin can
replace it on Stack; servers then need the new command.
Options
Give them to the command after sh -s --, as in
sh -s -- --name web1.example.net. It passes them on to the script, now and each
hour.
| Option | What it does |
|---|---|
--name NAME | The server’s name in Vulnsift. By default, its host name |
--exposure | internet, restricted or internal. By default, what the server’s page in the app says |
--wordpress PATH | Also look for WordPress under this folder |
--no-wordpress | Do not look for WordPress |
--all-packages | List every installed package, not only those Vulnsift can check |
Where it runs
Any Linux server with a POSIX shell and curl. Packages are read on AlmaLinux,
Rocky Linux, RHEL, CloudLinux, Debian and Ubuntu; the panels it understands are cPanel & WHM
and HestiaCP. The command that sets it up needs root. The script itself runs as any user,
and then reads only what that user can.