libjxl-metrics
The source uses git clones from GitHub and Google's skia.googlesource.com, which are legitimate project repositories; the non-standard host flag for skia.googlesource.com is a false positive as it is an official upstream source, and the build uses verified commits with SKIP'd checksums due to VCS sources, which is standard for AUR packages.
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 source uses git clones from GitHub and Google's skia.googlesource.com, which are legitimate project repositories; the non-standard host flag for skia.googlesource.com is a false positive as it is an official upstream source, and the build uses verified commits with SKIP'd checksums due to VCS sources, which is standard for AUR packages.
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:53
git+https://skia.googlesource.com/skcms.git#commit=96d9171c94b937a1b5f0293de7309ac16311b722
PKGBUILD
1 offending line(s) highlighted# Maintainer: Damian Höster <damian.hoester@posteo.de>
# Contributor: Joshua Holmer <jholmer.in@gmail.com>
_pkgname=libjxl
pkgname=$_pkgname-metrics
pkgver=0.12.0
pkgrel=4
pkgdesc='JPEG XL image format reference implementation with butteraugli, ssimulacra, and ssimulacra2 metrics'
arch=(x86_64)
url=https://jpeg.org/jpegxl/
license=(BSD-3-Clause)
depends=(
brotli
highway
libpng
libjpeg.so
giflib
openexr
gperftools
)
makedepends=(
git
cmake
clang
lld
python
asciidoc
# plugins disabled for now because https://github.com/libjxl/libjxl/issues/4037
#gdk-pixbuf2 # for building gdk-pixbuf loader
#gimp # for building GIMP plugin
#java-environment # for building JNI bindings
)
provides=(
$_pkgname
libjxl.so=0.12
libjxl_cms.so=0.12
libjxl_threads.so=0.12
butteraugli
ssimulacra
ssimulacra2
)
conflicts=(
$_pkgname
butteraugli
ssimulacra
ssimulacra2
)
optdepends=(
'libjxl-doc: for documentation'
)
source=(
git+https://github.com/libjxl/$_pkgname.git#tag=v$pkgver
git+https://skia.googlesource.com/skcms.git#commit=96d9171c94b937a1b5f0293de7309ac16311b722
git+https://github.com/webmproject/sjpeg.git#commit=94e0df6d0f8b44228de5be0ff35efb9f946a13c9
)
sha256sums=(
SKIP
SKIP
SKIP
)
prepare() {
git -C $_pkgname submodule init third_party/{skcms,sjpeg}
git -C $_pkgname config submodule.third_party/skcms.url "$srcdir"/skcms
git -C $_pkgname config submodule.third_party/sjpeg.url "$srcdir"/sjpeg
git -C $_pkgname -c protocol.file.allow=always submodule update
}
build() {
export CC=clang CXX=clang++
export LDFLAGS+=' -fuse-ld=lld'
cmake -S $_pkgname -B build --fresh \
-DBUILD_TESTING=OFF \
-DCMAKE_INSTALL_PREFIX=/usr \
-DJPEGXL_ENABLE_DEVTOOLS=ON \
-DJPEGXL_ENABLE_DOXYGEN=OFF \
-DJPEGXL_ENABLE_EXAMPLES=OFF \
-DJPEGXL_ENABLE_PLUGINS=OFF \
-DJPEGXL_FORCE_SYSTEM_BROTLI=ON \
-DJPEGXL_FORCE_SYSTEM_HWY=ON
make -C build
}
package() {
DESTDIR="$pkgdir" make -C build install
install -Dm644 $_pkgname/{LICENSE,PATENTS} \
-t "$pkgdir"/usr/share/licenses/$pkgname
ln -s /usr/bin/butteraugli_main "$pkgdir"/usr/bin/butteraugli
ln -s /usr/bin/ssimulacra_main "$pkgdir"/usr/bin/ssimulacra
}
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 |