pareto-core

module
v0.0.0-...-892e5c3 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2025 License: GPL-3.0

README

pareto-core

OpenSSF Scorecard Integration Tests Unit Tests Release

Automatically audit your Linux machine for basic security hygiene.

Installation

Using Debian/Ubuntu/Pop!_OS/RHEL/Fedora/CentOS

See https://pkg.paretosecurity.com for install steps.

Quick Start

To run a one-time security audit:

paretosecurity check

or with JSON reporter

paretosecurity check --json
Using Nix
Install via nix-channel

As root run:

$ sudo nix-channel --add https://github.com/paretosecurity/pareto-core/archive/main.tar.gz paretosecurity
$ sudo nix-channel --update
Install module via nix-channel

Then add the following to your configuration.nix in the imports list:

{
  imports = [ <paretosecurity/modules/paretosecurity.nix> ];
}
Install CLI via nix-channel

To install the paretosecurity binary:

{
  environment.systemPackages = [ (pkgs.callPackage <paretosecurity/pkgs/paretosecurity.nix> {}) ];
}
Run checks
paretosecurity check

This will analyze your system and provide a security report highlighting potential improvements and vulnerabilities.

Install via Flakes
Install module via Flakes
{
  inputs.paretosecurity.url = "github:paretosecurity/pareto-core";
  # optional, not necessary for the module
  #inputs.paretosecurity.inputs.nixpkgs.follows = "nixpkgs";

  outputs = { self, nixpkgs, paretosecurity }: {
    # change `yourhostname` to your actual hostname
    nixosConfigurations.yourhostname = nixpkgs.lib.nixosSystem {
      # change to your system:
      system = "x86_64-linux";
      modules = [
        ./configuration.nix
        paretosecurity.nixosModules.default
      ];
    };
  };
}
Install CLI via Flakes

Using NixOS module (replace system "x86_64-linux" with your system):

{
  environment.systemPackages = [ paretosecurity.packages.x86_64-linux.default ];
}

e.g. inside your flake.nix file:

{
  inputs.paretosecurity.url = "github:paretosecurity/pareto-core";
  # ...

  outputs = { self, nixpkgs, paretosecurity }: {
    # change `yourhostname` to your actual hostname
    nixosConfigurations.yourhostname = nixpkgs.lib.nixosSystem {
      system = "x86_64-linux";
      modules = [
        # ...
        {
          environment.systemPackages = [ paretosecurity.packages.${system}.default ];
        }
      ];
    };
  };
}
Run checks
paretosecurity check

This will analyze your system and provide a security report highlighting potential improvements and vulnerabilities.

Directories

Path Synopsis
checks
linux
Package linux provides checks for Linux systems.
Package linux provides checks for Linux systems.
shared
Package shared provides SSH key algo utilities.
Package shared provides SSH key algo utilities.
cmd
paretosecurity command
Package main provides the entry point for the application.
Package main provides the entry point for the application.

Jump to

Keyboard shortcuts

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