Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 lynis

查看 lynis 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install lynis

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install lynis

MacPorts ports tree · security/lynis/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add lynis

Alpine Linux edge package indexes · lynis · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install lynis

Debian stable package indexes · lynis · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install lynis

Fedora Rawhide package metadata · lynis · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#lynis

nixpkgs package indexes · pkgs/by-name/ly/lynis/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S lynis

Arch Linux sync databases · lynis · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install lynis

openSUSE Tumbleweed package metadata · lynis · 来源: download.opensuse.org

概览

软件包摘要

Security and system auditing tool to harden systems

命令和别名

  • lynis

历史

项目历史与用法

Lynis is an open source Unix-like system security auditing and hardening tool. It gathers security information, runs checks, and reports warnings and suggestions for administrators, auditors, security specialists, and system maintainers.

项目历史

The official README traces Lynis development to May 2007, with Michael Boelen as author from 2007 to 2013 and CISOfy carrying development from 2013 onward. The project is GPLv3-licensed, written as shell scripts, and maintained at CISOfy with public development on GitHub.

Lynis was designed to run directly from an unpacked directory as well as from installed packages. Its README and documentation emphasize broad Unix coverage rather than one distribution: Linux, BSD variants, macOS, Solaris, AIX, and related Unix-like systems are all part of the supported-audit story.

The changelog shows ongoing maintenance into the 2020s, with releases adding OS detection, end-of-life databases, malware and file-integrity checks, macOS checks, package-manager checks, and many platform-specific hardening tests.

采用历史

Lynis has unusually broad packaging for a security-audit shell tool. The batch package metadata lists Alpine, Homebrew, Debian, Fedora/DNF, MacPorts, Nix, Arch, Ubuntu, and openSUSE/Zypper, while the upstream docs also mention CISOfy package repositories and custom RPM package building.

CISOfy built a commercial ecosystem around the open source tool through Lynis Enterprise, using Lynis scans as the local audit engine while adding centralized reporting, monitoring, compliance features, dashboards, and support. That commercial/open-source split helped keep Lynis relevant both as a package-manager tool and as a managed audit component.

使用方式

The common interactive workflow is `lynis audit system`, often run as root for a full audit. The documentation also covers quick or quiet scans, cron jobs, update checks, viewing profiles and settings, and reading `/var/log/lynis.log` after a scan to interpret findings.

Lynis uses profiles as its configuration model. The FAQ says profiles are usually stored in `/etc/lynis` or discoverable with `lynis show profiles`; the default profile warns users to put local changes in `custom.prf` beside `default.prf` rather than editing the default file.

为什么软件包爱好者会关心

Lynis matters to package people because it is both a packaged security utility and a package-system inspector. Its checks know about APT/dpkg, RPM/YUM, pacman, zypper, apk, Homebrew, and other platform details, so keeping it current means tracking operating-system churn, package-manager behavior, and hardening expectations across many Unix-like systems.

时间线

  • 2007: Lynis development begins under Michael Boelen.
  • 2013: CISOfy becomes the named development organization.
  • 2014: CISOfy software signing key is documented for download verification.
  • 2024: Lynis 3.1.x releases add modern OS and platform checks.
  • 2026: Lynis 3.1.7 is released with updated end-of-life database entries.

Related projects

  • Lynis Enterprise builds centralized reporting and compliance workflows around Lynis scan data.
  • Lynis Collector is an enterprise component for collecting and uploading audit reports in batch.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
default.prfcustom.prf

可执行文件

已安装的可执行文件

命令类型暴露范围备注
lyniscli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-26
管理器版本3.1.7
管理器更新时间2026-06-25
本地数据OK
上游当前
检测到的最新版本3.1.7

https://github.com/CISOfy/lynis

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:lynis
版本3.1.7
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/lynis
主页https://cisofy.com/lynis/
仓库https://github.com/CISOfy/lynis
上游文档https://cisofy.com/documentation/lynis
许可证GPL-3.0-only
源码归档https://github.com/CISOfy/lynis/archive/refs/tags/3.1.7.tar.gz
最后更新2026-06-25T09:58:01Z
Pulseupdated
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelynis
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

lynis 3.1.4-1

security auditing tool for Unix based systems

https://cisofy.com/lynis/

sudo apt install lynis
  • Section: utils
  • Architecture: all
  • 1 依赖
  • 9 可选依赖
  • normalized package name match
  • 匹配方式:Lynis
Debian stable package indexes · deb.debian.org · Debian stable package indexes: lynis from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

lynis

nix profile install nixpkgs#lynis
  • normalized package name match
  • 匹配方式:Lynis
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ly/lynis/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

lynis 3.0.9-1

security auditing tool for Unix based systems

https://cisofy.com/lynis/

sudo apt install lynis
  • Section: universe/utils
  • Architecture: all
  • 1 依赖
  • 9 可选依赖
  • normalized package name match
  • 匹配方式:Lynis
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: lynis from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

lynis 3.1.4-r0

Security and system auditing tool

https://cisofy.com/lynis/

sudo apk add lynis
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: lynis
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Lynis
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lynis from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

lynis-bash-completion 3.1.4-r0

Bash completions for lynis

https://cisofy.com/lynis/

sudo apk add lynis-bash-completion
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: lynis
  • normalized package name match
  • 匹配方式:Lynis
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lynis-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

lynis-doc 3.1.4-r0

Security and system auditing tool (documentation)

https://cisofy.com/lynis/

sudo apk add lynis-doc
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: lynis
  • normalized package name match
  • 匹配方式:Lynis
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lynis-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
dnf95%

lynis 3.1.6-2.fc44

Security and system auditing tool

https://cisofy.com/lynis/

sudo dnf install lynis
  • License: GPL-3.0-only
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: lynis
  • 4 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Lynis
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: lynis from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

lynis 3.1.6-1

Security and system auditing tool to harden Unix/Linux systems

https://cisofy.com/lynis/

sudo pacman -S lynis
  • License: GPL-3.0-only
  • Architecture: any
  • 2 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Lynis
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: lynis from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

lynis 3.1.6-2.2

Security and System auditing tool

https://cisofy.com/lynis/

sudo zypper install lynis
  • License: GPL-3.0-only
  • Category: System/Monitoring
  • Architecture: noarch
  • Source Package: lynis
  • 14 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Lynis
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: lynis from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

lynis

sudo port install lynis
  • normalized package name match
  • 匹配方式:Lynis
MacPorts ports tree · api.github.com · MacPorts ports tree: security/lynis/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment