Unattended-upgrades
Introduction
On Debian-based systems there is a package called unattended-upgrades which can automatically install security updates.
Installation
apt install unattended-upgrades
Activation
dpkg-reconfigure -plow unattended-upgrades
systemctl start unattended-upgrades
systemctl enable unattended-upgrades