/ubuntu-security:av-update-definitionsfrom ubuntu-security
Refresh signature databases and data for every installed scanner on Ubuntu — freshclam (ClamAV), rkhunter --update, Lynis version check, debsecan CVE list — and report one status line per tool, without re-baselining rkhunter or AIDE. Also explains stale ClamAV signatures (freshclam service down, mirror rate-limiting). Use when the user says "update antivirus definitions", "refresh signatures", "update clamav", "is clamav up to date", or before a scan when signatures are old.
Ships in ubuntu-security. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
sudo bash "$SCRIPTS/av-update.sh" # optional: --out <reports_dir>
The script skips tools that aren't installed and prints one line per tool:
clamav updated (ClamAV 1.4.3/27800/Thu Oct 23 08:21:00 2026)
rkhunter up to date
lynis ...
debsecan 41 CVE entries listed - ~/security-reports/debsecan/<ts>.txt
By hand, the equivalent is:
| Tool | Command | Note |
|---|---|---|
| ClamAV | sudo systemctl stop clamav-freshclam && sudo freshclam; sudo systemctl start clamav-freshclam | stop the service first: it holds the DB lock |
| rkhunter | sudo rkhunter --update | exit 0 = nothing new, 2 = updated, 1 = failed |
| Lynis | sudo lynis update info | upgrade via apt if behind |
| chkrootkit | — | no feed; updated with the package |
| AIDE | — | no feed; integrity check lives in malware-scan |
| debsecan | debsecan --suite "$(. /etc/os-release; echo $VERSION_CODENAME)" --format detail | Debian tracker data; for Ubuntu use security-updates |
systemctl status clamav-freshclam --no-pager | head -5
clamscan --version # last field = signature date
sudo tail -20 /var/log/clamav/freshclam.log
sudo systemctl enable --now clamav-freshclam.ERROR: ... 429 / "rate limited" / "cool-down" in the log → the ClamAV CDN is
throttling this IP (often from running freshclam too often, or many hosts behind
one NAT). Wait out the cool-down shown in the log; don't loop retries.Checks 24 in
/etc/clamav/freshclam.conf); nothing else is needed.--update failsUbuntu disables rkhunter's updater by default. Fix once:
sudo sed -i -E 's/^#?UPDATE_MIRRORS=.*/UPDATE_MIRRORS=1/; s/^#?MIRRORS_MODE=.*/MIRRORS_MODE=0/; s|^WEB_CMD=.*|WEB_CMD=""|' /etc/rkhunter.conf
rkhunter --propupd (re-baselines file properties; masks real changes). It is the
right step only after reviewing warnings caused by a known package upgrade, and
only when the user says so.aide --update + moving aide.db.new). Same reason.av-update.sh is in this plugin's scripts/ directory:
SCRIPTS="${CLAUDE_PLUGIN_ROOT}/scripts". If CLAUDE_PLUGIN_ROOT is unset, clone
https://github.com/danielrosehill/Ubuntu-Security (e.g. to
~/.local/share/ubuntu-security-skills) and use its scripts/.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
18 skills in this plugin
/av-installInstall and initialise malware and rootkit scanning on Ubuntu — the core set (ClamAV engine + clamd daemon + freshclam updater, ClamTk GUI on desktops, rkhunter) and, on request, the advanced layer (Lynis hardening audit, chkrootkit, AIDE file-integrity baseline, debsecan). Detects what is already installed, picks a reports folder, runs the first definitions update and baselines. Use when the user says "install antivirus", "set up clamav", "install rkhunter / lynis / aide / chkrootkit", "set up malware scanning", or when malware-scan finds no scanners installed./complementary-pluginsList and install plugins that complement ubuntu-security: hardware-auth-keys, security-auditor, ubuntu-admin. Use on "related plugins"./ubuntu-security@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin ubuntu-security