nvidia-open-beta
The source is a tarball from NVIDIA's official download domain for open kernel modules, which is a legitimate and expected source for this package; building kernel modules from the vendor's official source is normal AUR packaging practice.
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 is a tarball from NVIDIA's official download domain for open kernel modules, which is a legitimate and expected source for this package; building kernel modules from the vendor's official source is normal AUR packaging practice.
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:17
source=("https://download.nvidia.com/XFree86/NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-${pkgver}.tar.xz"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Daniel Bermond <dbermond@archlinux.org>
pkgbase=nvidia-open-beta
pkgname=(
'nvidia-open-beta'
'nvidia-open-beta-dkms')
pkgver=615.78.08
pkgrel=1
epoch=1
pkgdesc='NVIDIA open kernel modules (beta version)'
arch=('x86_64')
url='https://github.com/NVIDIA/open-gpu-kernel-modules/'
license=('MIT AND GPL-2.0-only')
makedepends=(
'linux-headers')
options=('!buildflags' '!lto' '!strip')
source=("https://download.nvidia.com/XFree86/NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-${pkgver}.tar.xz"
'110-nvidia-open-change-dkms-conf.patch'
'120-nvidia-open-linux-rt-gift.patch'
'130-nvidia-open-reproducible-build.patch'
'140-nvidia-open-gcc-sls.patch')
sha256sums=('17b4f3d195a5ab1fad9aa1f195c9d3a4ad03aceda18bb9fb68a8bd33d7a000f6'
'418edc32dd945c5e2a3b97d293284c1a026362777e20ff576babfcf4cf2b9b42'
'b0f62a78f749ff3a104197c12b6d885352adcf35fb5ecf00c4cd4c51b4195e45'
'7f7cf450e909dd36c9cb37b4fc4a7ddce4d4b9554ad54b5d4738e61f8b746b66'
'8889fc942ff038ef3161209d3f72d87c8788fd8eb4853c79589c1ce54a4c3e25')
prepare() {
patch -d "NVIDIA-kernel-module-source-${pkgver}" -Np1 -i "${srcdir}/110-nvidia-open-change-dkms-conf.patch"
patch -d "NVIDIA-kernel-module-source-${pkgver}" -Np1 -i "${srcdir}/120-nvidia-open-linux-rt-gift.patch"
patch -d "NVIDIA-kernel-module-source-${pkgver}" -Np1 -i "${srcdir}/130-nvidia-open-reproducible-build.patch"
patch -d "NVIDIA-kernel-module-source-${pkgver}" -Np1 -i "${srcdir}/140-nvidia-open-gcc-sls.patch"
[ -d dkms-src ] && rm -rf dkms-src
cp -a "NVIDIA-kernel-module-source-${pkgver}/kernel-open" dkms-src
}
build() {
local -x KERNEL_UNAME
# allow usage of custom kernel and building in a chroot
if [ -d "/usr/lib/modules/$(uname -r)" ]
then
KERNEL_UNAME="$(uname -r)"
else
KERNEL_UNAME="$(find /usr/lib/modules -mindepth 1 -maxdepth 1 -type d | sed -n 's|.*/||;1p')"
fi
unset -v SYSSRC
make -C "NVIDIA-kernel-module-source-${pkgver}" modules
}
package_nvidia-open-beta() {
depends=(
'libglvnd'
'linux'
"nvidia-utils-beta>=${pkgver%.*}")
provides=("nvidia-open=${pkgver}" 'NVIDIA-MODULE')
conflicts=('nvidia-open' 'NVIDIA-MODULE')
local _kernver
if [ -d "/usr/lib/modules/$(uname -r)" ]
then
_kernver="$(<"/usr/lib/modules/$(uname -r)/build/version")"
else
_kernver="$(find /usr/lib/modules -mindepth 1 -maxdepth 1 -type d | head -n1)"
_kernver="$(<"/usr/lib/modules/${_kernver##*/}/build/version")"
fi
install -D -m644 "NVIDIA-kernel-module-source-${pkgver}/kernel-open"/*.ko -t "${pkgdir}/usr/lib/modules/${_kernver}/extramodules"
install -D -m644 "NVIDIA-kernel-module-source-${pkgver}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
install -D -m644 <(printf '%s\n' 'options nvidia NVreg_OpenRmEnableUnsupportedGpus=1') "${pkgdir}/usr/lib/modprobe.d/nvidia-open.conf"
}
package_nvidia-open-beta-dkms() {
pkgdesc="$(sed 's/(\(beta[[:space:]]version\)/(module sources; \1/' <<< "$pkgdesc")"
depends=(
'dkms'
'libglvnd'
"nvidia-utils-beta>=${pkgver%.*}")
provides=("nvidia-open=${pkgver}" 'NVIDIA-MODULE')
conflicts=('nvidia-open' 'NVIDIA-MODULE')
install -D -m644 "NVIDIA-kernel-module-source-${pkgver}/src/nvidia/_out/Linux_x86_64/nv-kernel.o" \
dkms-src/nvidia/nv-kernel.o_binary
install -D -m644 "NVIDIA-kernel-module-source-${pkgver}/src/nvidia-modeset/_out/Linux_x86_64/nv-modeset-kernel.o" \
dkms-src/nvidia-modeset/nv-modeset-kernel.o_binary
install -d -m755 "${pkgdir}/usr/src"
cp -dr --no-preserve='ownership' dkms-src "${pkgdir}/usr/src/nvidia-${pkgver}"
install -D -m644 "NVIDIA-kernel-module-source-${pkgver}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -D -m644 <(printf '%s\n' 'options nvidia NVreg_OpenRmEnableUnsupportedGpus=1') "${pkgdir}/usr/lib/modprobe.d/nvidia-open.conf"
}
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 |