# shld and unattended-upgrades
Source: https://shld.app/compare/unattended-upgrades · Updated 2026-11-30

> 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](https://manpages.debian.org/unattended-upgrades/unattended-upgrades.8.en.html), [Debian's security pages](https://www.debian.org/security/), the [Debian wiki](https://wiki.debian.org/UnattendedUpgrades), and [Ubuntu's security notices](https://ubuntu.com/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](https://manpages.debian.org/unattended-upgrades/unattended-upgrades.8.en.html). On Debian and Ubuntu it runs from `apt-daily-upgrade.service`, reads its configuration from `/etc/apt/apt.conf.d/50unattended-upgrades`, and logs to `/var/log/unattended-upgrades/` ([manual page](https://manpages.debian.org/unattended-upgrades/unattended-upgrades.8.en.html)). Debian's own security page recommends it to keep a system current with security updates automatically ([Debian security](https://www.debian.org/security/)). The human path beside it is the mailing lists: Debian posts Debian Security Advisories (DSA) to the debian-security-announce list ([Debian security](https://www.debian.org/security/)), and Ubuntu posts Ubuntu Security Notices (USN) when a fix lands in an official package ([Ubuntu notices](https://ubuntu.com/security/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)](https://manpages.debian.org/testing/debsecan/debsecan.1.en.html)).

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](https://manpages.debian.org/unattended-upgrades/unattended-upgrades.8.en.html)) |
| 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](https://manpages.debian.org/unattended-upgrades/unattended-upgrades.8.en.html)) |
| 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](https://wiki.debian.org/UnattendedUpgrades)) |
| 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](https://www.debian.org/security/), [Ubuntu notices](https://ubuntu.com/security/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 `/var/log/unattended-upgrades/` 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](https://app.shld.app/). See [pricing](/pricing). | Free, part of Debian and Ubuntu |
| License | Beta by Sliday; source not public yet. | GNU GPL, per the [manual page](https://manpages.debian.org/unattended-upgrades/unattended-upgrades.8.en.html) |
| Maturity | Beta | Mature; maintained within Debian with Ubuntu adoption, written in 2005 ([manual page](https://manpages.debian.org/unattended-upgrades/unattended-upgrades.8.en.html)) |

> **Limit:** shld does not install, upgrade, or remove packages on its own. Fixes are off until you run `sudo shld fix enable`; after that, a root helper applies an `apt` or WP-CLI update only after you approve its plan with your passkey. The only change it makes without your approval is to its own signed binary: a daily timer installs a newer shld release that the release owner has nominated, unless the admin runs `sudo shld update auto disable`. Every fix runs through the admin, or through the admin's own AI assistant working from the dashboard prompt.

## 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](https://www.debian.org/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-upgrades` configures in `/etc/apt/apt.conf.d/50unattended-upgrades` ([manual page](https://manpages.debian.org/unattended-upgrades/unattended-upgrades.8.en.html)).
- 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](https://manpages.debian.org/unattended-upgrades/unattended-upgrades.8.en.html), accessed 2026-11-10
- [Debian unattended-upgrades wiki](https://wiki.debian.org/UnattendedUpgrades), accessed 2026-11-10
- [Debian security information](https://www.debian.org/security/), accessed 2026-11-10
- [Ubuntu Security Notices](https://ubuntu.com/security/notices), accessed 2026-11-10
- [debsecan(1) manual page](https://manpages.debian.org/testing/debsecan/debsecan.1.en.html), accessed 2026-11-10
