shld and unattended-upgrades
Decide between shld and unattended-upgrades for review-first alerts or automatic installs.
This page compares shld with unattended-upgrades on Debian and Ubuntu, their security notices, and debsecan, as of 2026-11-10. Facts about those tools come from the Debian manual pages, Debian's security pages, the Debian wiki, and Ubuntu's security notices, all listed under Sources.
unattended-upgrades is the Debian mechanism that "downloads and installs security upgrades automatically and unattended", in the words of its manual page. On Debian and Ubuntu it runs from apt-daily-upgrade.service, reads its configuration from /, and logs to / (manual page). Debian's own security page recommends it to keep a system current with security updates automatically (Debian security). The human path beside it is the mailing lists: Debian posts Debian Security Advisories (DSA) to the debian-security-announce list (Debian security), and Ubuntu posts Ubuntu Security Notices (USN) when a fix lands in an official package (Ubuntu notices). On a single Debian host, debsecan analyzes installed packages against the Debian security tracker and can email a report of new issues (debsecan(1)).
shld takes the review-first path. It never installs, upgrades, or removes your packages on its own. Fixes stay off until you run sudo shld fix enable; after that, shld updates a package only after you approve its plan with your passkey. It records installed packages and applies a gate. It emails only for a CISA known-exploited vulnerability (fixed or not), a fix with an EPSS score of at least 10% or critical severity, or an installed malicious package, and your email level can narrow that; everything else waits on the dashboard, and the default level lists it in a weekly summary. The email carries the host and the package, and the exact update and verify commands when a fix exists.
The same axes
| Axis | shld | unattended-upgrades |
|---|---|---|
| What it inspects | Installed OS, language, and WordPress packages on Linux hosts, plus host activity: processes, network, persistence, SUID files. shld polls /proc for activity every 5 seconds, so it can miss short-lived processes. | Security (and optionally other) upgrades available from the configured APT sources (manual page) |
| Where it runs | A small Go agent on each Linux host, with a dashboard for review | In APT itself, driven by apt-daily-upgrade.service or cron (manual page) |
| How it decides to notify | Deterministic rules on the host. It emails only for a CISA known-exploited vulnerability (fixed or not), a fix with an EPSS score of at least 10% or critical severity, or an installed malicious package, and your email level can narrow that; everything else waits on the dashboard, and the default level lists it in a weekly summary. | It installs eligible upgrades, logs them, and emails a report if you set Unattended-Upgrade::Mail (Debian wiki) |
| Data sources | OSV, the Debian security tracker, Ubuntu security data, Alpine secdb, CVE List V5, CISA KEV, EPSS, in signed bundles | The configured APT repositories; advisories travel separately as DSA and USN notices (Debian security, Ubuntu notices) |
| What you do with a result | Read the email, run the update and verify commands it names when a fix exists, or copy the fix prompt from the dashboard | Read the log in / when something looks wrong, and roll back with your usual APT workflow |
| Cost model | Personal is free; anyone can sign up at app.shld.app. See pricing. | Free, part of Debian and Ubuntu |
| License | Beta by Sliday; source not public yet. | GNU GPL, per the manual page |
| Maturity | Beta | Mature; maintained within Debian with Ubuntu adoption, written in 2005 (manual page) |
When unattended-upgrades is the better choice
- You accept unattended changes from the security archive and want fixes applied with no human step, which is Debian's own recommendation for staying current (Debian security).
- You run hosts you rarely log into, where an admin's reaction time is the weakest link.
- Your policy is to apply security-origin upgrades only, which is the split
unattended-upgradesconfigures in/(manual page).etc/ apt/ apt.conf.d/ 50unattended-upgrades - You need the mechanism inside APT itself, with no extra agent, service, or dashboard.
Using both
The two cover different risks. Let unattended-upgrades apply OS security fixes on its schedule. shld then covers what APT never sees: PyPI, npm, Go, Rust, and WordPress versions, activity findings, and the email gate for anything that deserves judgment before you touch the host. shld polls /proc for activity every 5 seconds, so it can miss short-lived processes. After unattended-upgrades acts, the next shld inventory shows the fixed version on the dashboard.
Sources
- unattended-upgrades(8) manual page, accessed 2026-11-10
- Debian unattended-upgrades wiki, accessed 2026-11-10
- Debian security information, accessed 2026-11-10
- Ubuntu Security Notices, accessed 2026-11-10
- debsecan(1) manual page, accessed 2026-11-10