brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: pro security-status shows which packages get Ubuntu security updates and which don't

Security
~/tips/tip-security-pro-security-status

pro security-status

Counts your installed packages by where their security updates come from.

Not every package on an Ubuntu server gets the same security support. The command pro security-status sorts them by origin, and it works without a Pro subscription.

Run it without options for the summary:

pro security-status
pro security-status --thirdparty
pro security-status --unavailable

The summary counts packages from main and restricted, which Canonical patches, and those from universe and multiverse, which are community maintained and only get the extra ESM fixes with Pro. It also lists packages from third party repositories and packages with no known source at all.

The two filters are the useful part, I think. --thirdparty lists what came from PPAs and vendor repositories, so you know whose update policy you are trusting. --unavailable lists packages that are no longer in any repository, such as a .deb you installed by hand years ago, and those never get updates unless you fetch them yourself.

For scripts there is --format json, which I’d use for monitoring. Keep in mind that this is an inventory, not a vulnerability scan. A package in main can still be waiting for an update you haven’t installed; apt list --upgradable shows that part. The pro client ships with Ubuntu, so on Debian or other distributions this command doesn’t exist.

Further reading: pro(1) manual page

More Security tips tcpdump -nn -r capture.pcap port 53 mkcert -install Strict-Transport-Security: max-age=0 Referrer-Policy: strict-origin-when-cross-origin wp super-admin list All Security tips (79) All topics

Link