gfxbench
This PKGBUILD downloads a prebuilt installer shell script from gfxbench.com (the official vendor site for the GFXBench benchmark tool by Kishonti) and executes it via 'sh' during the package() phase. The source is checksum-verified with SHA1. The host is the legitimate upstream vendor (gfxbench.com is Kishonti's official benchmark portal), not a personal or unofficial mirror. However, the pattern of downloading and executing a prebuilt binary installer script — even from the official vendor — is inherently a medium-risk supply-chain concern: the installer is a closed-source binary blob, SHA1 is a weak hash algorithm, and the package is quite old (v4.0.13, pkgrel=5). The PKGBUILD does take reasonable precautions (redirecting HOME, using --prefix for staged install, removing bundled libs). This is a standard pattern for proprietary software AUR packages and is not malicious, but the execution of a downloaded binary installer script from a non-open-source vendor with SHA1 checksums warrants a medium rating rather than clean.
Triggered rules
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:12
source_i686=( "${_basename}.sh::https://gfxbench.com/download/${_basename}_32bit.sh")
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 75%): This PKGBUILD downloads a prebuilt installer shell script from gfxbench.com (the official vendor site for the GFXBench benchmark tool by Kishonti) and executes it via 'sh' during the package() phase. The source is checksum-verified with SHA1. The host is the legitimate upstream vendor (gfxbench.com is Kishonti's official benchmark portal), not a personal or unofficial mirror. However, the pattern of downloading and executing a prebuilt binary installer script — even from the official vendor — is inherently a medium-risk supply-chain concern: the installer is a closed-source binary blob, SHA1 is a weak hash algorithm, and the package is quite old (v4.0.13, pkgrel=5). The PKGBUILD does take reasonable precautions (redirecting HOME, using --prefix for staged install, removing bundled libs). This is a standard pattern for proprietary software AUR packages and is not malicious, but the execution of a downloaded binary installer script from a non-open-source vendor with SHA1 checksums warrants a medium rating rather than clean.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Eric Engestrom <aur [at] engestrom [dot] ch>
pkgname=gfxbench
pkgver=4.0.13
pkgrel=5
pkgdesc="Unified graphics benchmark based on DXBenchmark (DirectX) and GLBenchmark (OpenGL ES)"
url='https://gfxbench.com/'
arch=('i686' 'x86_64')
license=('custom')
depends=('libpng12' 'qt5-base' 'icu')
_basename="gfxbench_gl-linux-qt-${pkgver}+community"
source_i686=( "${_basename}.sh::https://gfxbench.com/download/${_basename}_32bit.sh")
source_x86_64=("${_basename}.sh::https://gfxbench.com/download/${_basename}_64bit.sh")
sha1sums_i686=( 'dfbcd1deeeb3a21cd79738c30d535f08ebfdac6c')
sha1sums_x86_64=('c5740e8a36169c2210fe94185d0b8db8cb757ffb')
package() {
cd "${srcdir}"
# Script modifies the running user's files; prevent that by redirecting $HOME
export HOME=$PWD
install -dm755 "${pkgdir}"/opt/"${pkgname}"
sh "${_basename}".sh \
--skip-license \
--prefix="${pkgdir}"/opt/"${pkgname}"
chown root: -R "${pkgdir}"/opt/"${pkgname}"/
install -dm755 "${pkgdir}"/usr/bin
ln -s /opt/"${pkgname}"/gfxbench_gl "${pkgdir}"/usr/bin/"${pkgname}"
install -dm755 "${pkgdir}"/usr/share/licenses/"${pkgname}"
mv "${pkgdir}"/opt/"${pkgname}"/copyright "${pkgdir}"/usr/share/licenses/"${pkgname}"
install -Dm644 -t "${pkgdir}"/usr/share/applications/ "${pkgdir}"/opt/"${pkgname}"/gfxbench_gl.desktop
rm "${pkgdir}"/opt/"${pkgname}"/gfxbench_gl.desktop
install -Dm644 -t "${pkgdir}"/usr/share/icons/hicolor/128x128/apps/ "${pkgdir}"/opt/"${pkgname}"/gfxbench_gl.png
rm "${pkgdir}"/opt/"${pkgname}"/gfxbench_gl.png
# Fix path
sed -i "s#${pkgdir}##" "${pkgdir}"/usr/share/applications/gfxbench_gl.desktop
sed -i 's#^Icon=.*$#Icon=/usr/share/icons/hicolor/128x128/apps/gfxbench_gl.png#' \
"${pkgdir}"/usr/share/applications/gfxbench_gl.desktop
# Remove unnecessary local copies of libs
rm "${pkgdir}"/opt/"${pkgname}"/libQt5*
rm "${pkgdir}"/opt/"${pkgname}"/libicu*
rm -r "${pkgdir}"/opt/"${pkgname}"/platforms/
rm -r "${pkgdir}"/opt/"${pkgname}"/xcbglintegrations/
# Remove start script, since we're not using the local libs anymore
rm "${pkgdir}"/opt/"${pkgname}"/start.sh
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Medium | 2 |
| 2026-09-16 00:03:17 | Medium | 2 |
| 2026-09-15 00:25:31 | Medium | 2 |
| 2026-09-14 00:27:57 | Medium | 2 |
| 2026-09-13 00:19:54 | Medium | 2 |
| 2026-09-12 00:25:17 | Medium | 2 |
| 2026-09-11 00:19:22 | Medium | 2 |
| 2026-09-10 00:22:44 | Medium | 2 |
| 2026-09-09 00:04:09 | Medium | 2 |
| 2026-09-08 00:18:08 | Medium | 2 |
| 2026-09-07 00:30:15 | Medium | 2 |
| 2026-09-06 00:17:06 | Medium | 2 |
| 2026-09-05 00:16:27 | Medium | 2 |
| 2026-09-04 00:03:13 | Medium | 2 |
| 2026-09-03 00:15:47 | Medium | 2 |
| 2026-09-02 00:02:31 | Medium | 2 |
| 2026-09-01 00:11:19 | Medium | 2 |
| 2026-08-31 00:19:57 | Medium | 2 |
| 2026-08-30 00:04:14 | Medium | 2 |
| 2026-08-29 00:29:17 | Medium | 2 |