macOS
brew install libpsllocal Homebrew formula metadata
sudo port install libpslMacPorts ports tree · net/libpsl/Portfile · 来源: api.github.com
安装
brew install libpsllocal Homebrew formula metadata
sudo port install libpslMacPorts ports tree · net/libpsl/Portfile · 来源: api.github.com
sudo apk add libpslAlpine Linux edge package indexes · libpsl · 来源: dl-cdn.alpinelinux.org
sudo dnf install libpslFedora Rawhide package metadata · libpsl · 来源: dl.fedoraproject.org
nix profile install nixpkgs#libpslnixpkgs package indexes · pkgs/by-name/li/libpsl/package.nix · 来源: api.github.com
sudo pacman -S libpslArch Linux sync databases · libpsl · 来源: geo.mirror.pkgbuild.com
sudo apt install libpsl-devDebian stable package indexes · libpsl-dev · 来源: deb.debian.org
sudo zypper install libpsl-developenSUSE Tumbleweed package metadata · libpsl-devel · 来源: download.opensuse.org
概览
C library for the Public Suffix List
历史
libpsl is a C library for working with the Public Suffix List, the shared list used to decide where registrable domain boundaries sit. It gives native programs a fast way to answer questions that matter for cookies, certificates, domain display, and site grouping.
The library was created by Tim Ruehsen from libmget cookie code on 2014-03-19, according to the source changelog, and the public GitHub repository was created on 2014-03-20. The README describes libpsl as a C library that handles the Public Suffix List with built-in PSL data, file-loaded PSL data, DAFSA compression, thread safety, and IDNA support.
The Public Suffix List itself is a cross-vendor initiative maintained by Mozilla volunteers and registry submissions. libpsl packages that ecosystem for C consumers rather than trying to define suffix policy itself.
libpsl's adoption comes from web-client and network-client needs: software must avoid supercookies, reject overbroad certificate or domain assumptions, and group sites by registrable domain. The Public Suffix List page names browsers, Qt, crawler libraries, certificate-authority workflows, and security tooling as users of PSL data.
Package managers carry libpsl because many lower-level network tools need PSL behavior without embedding their own parser. Homebrew, Debian-family systems, Fedora, MacPorts, Nix, Arch, Alpine, and openSUSE all appear in the package metadata for this batch.
Developers use libpsl through the C API to test whether a domain is a public suffix, verify cookie-domain acceptability, find public or private domain portions, or load updated PSL data. The package also ships the `psl` command and `psl-make-dafsa` for command-line inspection and compressed list generation.
libpsl is package-nerd significant because it is tiny infrastructure with security consequences. A stale or missing PSL layer can allow cookie scoping mistakes or bad domain-boundary assumptions, while a shared library lets distributions update the logic and data path centrally.
Its build and packaging details are also unusually nerdy: the README separates libpsl releases from PSL data updates, supports both autotools and Meson, and uses DAFSA compression to shrink lookup data for fast native access.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
psl | cli | 全局可执行文件 | |
psl-make-dafsa | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/rockdaboot/libpsl
安装元数据
| 软件包键 | brew:libpsl |
|---|---|
| 版本 | 0.22.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/libpsl |
| 主页 | https://rockdaboot.github.io/libpsl |
| 仓库 | https://github.com/rockdaboot/libpsl |
| 上游文档 | https://rockdaboot.github.io/libpsl |
| 许可证 | MIT |
| 源码归档 | https://github.com/rockdaboot/libpsl/releases/download/0.22.0/libpsl-0.22.0.tar.gz |
| 最后更新 | 2026-06-25T00:40:45Z |
| Pulse | updated |
| 构建依赖 | pkgconf |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libpsl |
| 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 软件包链接分开显示。
libpsl-dev 0.21.2-1.1+b1
Library for Public Suffix List (development headers)
https://github.com/rockdaboot/libpsl
sudo apt install libpsl-devlibpsl5t64 0.21.2-1.1+b1
Library for Public Suffix List (shared libraries)
https://github.com/rockdaboot/libpsl
sudo apt install libpsl5t64psl 0.21.2-1.1+b1
Explore the Public Suffix List
https://github.com/rockdaboot/libpsl
sudo apt install pslpsl-make-dafsa 0.21.2-1.1
Create a binary DAFSA from a Public Suffix List
https://github.com/rockdaboot/libpsl
sudo apt install psl-make-dafsalibpsl
nix profile install nixpkgs#libpsllibpsl-dev 0.21.2-1.1build1
Library for Public Suffix List (development headers)
https://github.com/rockdaboot/libpsl
sudo apt install libpsl-devlibpsl5t64 0.21.2-1.1build1
Library for Public Suffix List (shared libraries)
https://github.com/rockdaboot/libpsl
sudo apt install libpsl5t64psl 0.21.2-1.1build1
Explore the Public Suffix List
https://github.com/rockdaboot/libpsl
sudo apt install pslpsl-make-dafsa 0.21.2-1.1build1
Create a binary DAFSA from a Public Suffix List
https://github.com/rockdaboot/libpsl
sudo apt install psl-make-dafsalibpsl 0.21.5-r3
C library for the Publix Suffix List
https://rockdaboot.github.io/libpsl
sudo apk add libpsllibpsl-dev 0.21.5-r3
C library for the Publix Suffix List (development files)
https://rockdaboot.github.io/libpsl
sudo apk add libpsl-devlibpsl-doc 0.21.5-r3
C library for the Publix Suffix List (documentation)
https://rockdaboot.github.io/libpsl
sudo apk add libpsl-doclibpsl-static 0.21.5-r3
C library for the Publix Suffix List (static library)
https://rockdaboot.github.io/libpsl
sudo apk add libpsl-staticlibpsl-utils 0.21.5-r3
C library for the Publix Suffix List (utils)
https://rockdaboot.github.io/libpsl
sudo apk add libpsl-utilslibpsl 0.21.5-7.fc44
C library for the Publix Suffix List
https://rockdaboot.github.io/libpsl
sudo dnf install libpsllibpsl-devel 0.21.5-7.fc44
Development files for libpsl
https://rockdaboot.github.io/libpsl
sudo dnf install libpsl-devel来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.