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-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |