macOS
brew install lynislocal Homebrew formula metadata
sudo port install lynisMacPorts ports tree · security/lynis/Portfile · 来源: api.github.com
安装
brew install lynislocal Homebrew formula metadata
sudo port install lynisMacPorts ports tree · security/lynis/Portfile · 来源: api.github.com
sudo apk add lynisAlpine Linux edge package indexes · lynis · 来源: dl-cdn.alpinelinux.org
sudo dnf install lynisFedora Rawhide package metadata · lynis · 来源: dl.fedoraproject.org
nix profile install nixpkgs#lynisnixpkgs package indexes · pkgs/by-name/ly/lynis/package.nix · 来源: api.github.com
sudo pacman -S lynisArch Linux sync databases · lynis · 来源: geo.mirror.pkgbuild.com
sudo zypper install lynisopenSUSE Tumbleweed package metadata · lynis · 来源: download.opensuse.org
概览
Security and system auditing tool to harden systems
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
default.prfcustom.prf可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
lynis | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/CISOfy/lynis
安装元数据
| 软件包键 | 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 |
| Pulse | updated |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | lynis |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
lynis 3.1.4-1
security auditing tool for Unix based systems
sudo apt install lynislynis
nix profile install nixpkgs#lynislynis 3.0.9-1
security auditing tool for Unix based systems
sudo apt install lynislynis 3.1.4-r0
Security and system auditing tool
sudo apk add lynislynis-bash-completion 3.1.4-r0
Bash completions for lynis
sudo apk add lynis-bash-completionlynis-doc 3.1.4-r0
Security and system auditing tool (documentation)
sudo apk add lynis-doclynis 3.1.6-2.fc44
Security and system auditing tool
sudo dnf install lynislynis 3.1.6-1
Security and system auditing tool to harden Unix/Linux systems
sudo pacman -S lynislynis 3.1.6-2.2
Security and System auditing tool
sudo zypper install lynislynis
sudo port install lynis来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.