pacaudit

command module
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2020 License: GPL-3.0 Imports: 13 Imported by: 0

README

Build Status Go Report Card Quality Gate Status

pacaudit

pacaudit audits installed packages on Arch Linux against known vulnerabilities listed on https://security.archlinux.org

It ships with a preInstall hook for pacman that warns you if you try to install a vulnerable package.

asciicast

Installation

trizen -S pacaudit

or

any other AUR helper

Usage

  1. pacaudit

    prints all vulnerable packages by name and the sum of all vulnerable packages

  2. pacaudit -v

    prints all vulnerable packages by name, with CVE, severity and the sum of all vulnerable packages

  3. pacaudit -n

    returns "OK" if no vulnerable packages are installed, "WARNING" if no vulnerable package with severity HIGH or higher is installed and CRITICAL else

  4. pacaudit -c

    print results colorized. Used with verbose (-v) flag

  5. pacaudit -p PKGNAME

    check if PKGNAME is listed as vulnerable. Useful for alpk-hooks

  6. pacaudit -i /PATH/TO/JSON/FILE

    pacaudit uses the provided json file instead of the online list of vulnerable packages. Useful for hosts without web access.

  7. pacaudit -d

    download json file for offline comparison

  8. pacaudit -h

    print usage and info

Documentation

Overview

pacaudit audits installed packages against known vulnerabilities listed on security.archlinux.org/vulnerable. Use after pacman -Syu.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL