#scanner #security #arch #linux #information #compliance #run #antivirus

bin+lib libredefender

Light-weight antivirus scanner for Linux

3 releases (breaking)

0.3.0 Jun 4, 2021
0.2.0 May 14, 2021
0.1.0 May 12, 2021

#1869 in Command line utilities

GPL-2.0 OR GPL-3.0

925 lines


Imagine the information security compliance guideline says you need an antivirus but you run Arch Linux.

Screenshot showing a libredefender status report

libredefender is an antivirus program featuring:

  • Industry standards - Scanning is implemented with libclamav
  • Signatures - We have that
  • Scheduling - Starts scans periodically so you don't have to
  • Checkmarks - Extra green

The process is trying to change both io and processor priority to idle.

clamav-freshclam.service needs to be setup.

Example config

excludes = [
    # rust build folders
skip_hidden = true
skip_larger_than = "30MiB"

# use data fetched by clamav-freshclam.service (default)
path = "/var/lib/clamav"

preferred_hours = "09:00:00-19:00:00"


Packaging status

pacman -S libredefender


This code is dual-licensed as GPLv2 OR GPLv3+. libclamav is currently likely to be considered GPLv2-only, so the final binary is going to be GPLv2. If the need for GPLv2 is resolved we're likely going to drop GPLv2 compatibility.

Note that both licenses have a "No warranty" clause.


~216K SLoC