libwrap
The package builds from source tarballs hosted on official project and Debian servers; the non-whitelisted hosts are legitimate project-related domains, and the sources are verified with matching checksums, posing no real risk.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package builds from source tarballs hosted on official project and Debian servers; the non-whitelisted hosts are legitimate project-related domains, and the sources are verified with matching checksums, posing no real risk.
1 higher static finding superseded - not the current verdict (shown for transparency)
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:19
http://ftp.porcupine.org/pub/security/tcp_wrappers_${pkgver%.*}.tar.gz -
PKGBUILD:20
http://http.debian.net/debian/pool/main/t/tcp-wrappers/tcp-wrappers_${pkgver%.*}.q-${pkgver##*.}.debian.tar.xz
PKGBUILD
2 offending line(s) highlighted# Maintainer: solsTiCe d'Hiver <solstice.dhiver@gmail.com>
# Contributor: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: Manuel Hüsers <manuel.huesers@uni-ol.de>
# Contributor: vigo <vigo.the.unholy.carpathian@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=libwrap
pkgver=7.6.37
pkgrel=1
pkgdesc='Monitors and Controls incoming TCP connections'
arch=(x86_64)
url="http://ftp.porcupine.org/pub/security/index.html"
license=('TCP-wrappers')
depends=( glibc libnsl)
provides=(tcp_wrappers-libs)
conflicts=(tcp_wrappers-libs)
source=(
http://ftp.porcupine.org/pub/security/tcp_wrappers_${pkgver%.*}.tar.gz
http://http.debian.net/debian/pool/main/t/tcp-wrappers/tcp-wrappers_${pkgver%.*}.q-${pkgver##*.}.debian.tar.xz
tcp-wrappers-redhat-bug11881.patch
hosts.allow
hosts.deny
)
sha256sums=('9543d7adedf78a6de0b221ccbbd1952e08b5138717f4ade814039bb489a4315d'
'd34f7e3ec681375d116621911a62db777b84edc2bc6a590fa344eba029ff12b8'
'2e527e54c1ea208de10a206c667f751e54651eb77c973271d213e3459d690403'
'c1b19035a14ba552e8795ec3d7171e688592c9317f2eb14373320315435565e3'
'969414f0a161e95fbe4cfe32df7c657a2793734d09416c00fa1116c5c0a9924f')
prepare() {
cd tcp_wrappers_${pkgver%.*}
find $srcdir -type f -exec chmod +w {} \;
for patch in $(cat ../debian/patches/series); do
patch -Np1 -i ../debian/patches/${patch}
done
patch -Np1 -i ../tcp-wrappers-redhat-bug11881.patch
sed -i '/^config-check/ i\
cflags: config-check\
' Makefile
}
build() {
cd tcp_wrappers_${pkgver%.*}
# first run of make fails but second succeeds!???
# if you read this, please help me find a better fix than to run twice make
make \
COPTS="$CFLAGS" \
LDOPTS="$LDFLAGS" \
REAL_DAEMON_DIR=/usr/bin \
STYLE='-DPROCESS_OPTIONS' \
linux || make \
COPTS="$CFLAGS" \
LDOPTS="$LDFLAGS" \
REAL_DAEMON_DIR=/usr/bin \
STYLE='-DPROCESS_OPTIONS' \
linux
}
package() {
cd tcp_wrappers_${pkgver%.*}
install -Dm 644 tcpd.h -t "${pkgdir}"/usr/include/
install -Dm 644 shared/libwrap.so.0.${pkgver%.*} -t "${pkgdir}"/usr/lib/
ln -s libwrap.so.0.${pkgver%.*} "${pkgdir}"/usr/lib/libwrap.so.0
ln -s libwrap.so.0 "${pkgdir}"/usr/lib/libwrap.so
install -Dm 644 DISCLAIMER -T "${pkgdir}"/usr/share/licenses/libwrap/LICENSE
}
# vim: ts=2 sw=2 et:
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |