alliedvision-vimba-x
The package downloads the official Vimba X SDK from Allied Vision's own domain, which is the legitimate source; the non-whitelisted host is the vendor's official site, and the build process recompiles parts of the code, but installs some prebuilt libraries and data files, posing minimal 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 downloads the official Vimba X SDK from Allied Vision's own domain, which is the legitimate source; the non-whitelisted host is the vendor's official site, and the build process recompiles parts of the code, but installs some prebuilt libraries and data files, posing minimal 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:16
source_x86_64=("https://www.alliedvision.com/downloads/software/Vimba_X/VimbaX_Setup-${_pkgver_short_dash}-Linux64.tar.gz")
PKGBUILD
1 offending line(s) highlighted# Maintainer: Oystein Sture <oysstu at gmail.com>
# Contributor:
pkgname=alliedvision-vimba-x
_pkgver=2026.2.0
_pkgver_short=${_pkgver::6}
_pkgver_short_dash=${_pkgver_short//./-}
pkgver=$_pkgver
pkgrel=1
pkgdesc="Allied Vision Vimba X SDK"
url="https://www.alliedvision.com/en/products/software/vimba-x-sdk"
arch=('x86_64' 'aarch64')
license=('custom')
depends=('glibc' 'gcc-libs')
makedepends=('cmake' 'gcc')
source_x86_64=("https://www.alliedvision.com/downloads/software/Vimba_X/VimbaX_Setup-${_pkgver_short_dash}-Linux64.tar.gz")
source_aarch64=("https://www.alliedvision.com/downloads/software/Vimba_X/VimbaX_Setup-${_pkgver_short_dash}-Linux_ARM64.tar.gz")
sha256sums_x86_64=('45eb34db03e7311ad3cf309c89fc13ddba8b3fd860082a4698198731963faa44')
sha256sums_aarch64=('bc223962fc393878c71a6efce8215ce231cc3089bb1a85fffc6fb6eeee43c091')
build() {
export CMAKE_POLICY_VERSION_MINIMUM=3.5
# Re-build the distributed C++ binaries from source
cd "$srcdir/VimbaX_${_pkgver_short_dash}/api/source/VmbCPP"
mkdir -p build
cd build
cmake -DCMAKE_LIBRARY_ARCHITECTURE="$CARCH-linux-gnu" ..
make
}
package() {
cd "${srcdir}/VimbaX_${_pkgver_short_dash}"
# Install distributed headers/binaries
mkdir -p "${pkgdir}/usr/include"
cp -r "api/include" "${pkgdir}/usr/"
cp -r "api/lib" "${pkgdir}/usr/lib"
# Install re-built cpp wrapper and generated headers
install -m644 "api/source/VmbCPP/build/libVmbCPP.so" "${pkgdir}/usr/lib/libVmbCPP.so"
cp -r "api/source/VmbCPP/build/VmbCppGenIncludes/" "${pkgdir}/usr/include"
# Install transport layers
mkdir -p "${pkgdir}/usr/share/${pkgname}"
cp -r "cti" "${pkgdir}/usr/share/${pkgname}"
# Export transport layer location
mkdir -p "${pkgdir}/etc/profile.d/"
printf "#!/bin/sh\nexport GENICAM_GENTL64_PATH=$GENICAM_GENTL64_PATH:\"/usr/share/${pkgname}/cti\"\n" > ${pkgdir}/etc/profile.d/AVT_CTI.sh
chmod +x ${pkgdir}/etc/profile.d/AVT_CTI.sh
# Create udev rule for USB
_udev_dir=${pkgdir}/etc/udev/rules.d/
_udev_file=${_udev_dir}/99-AVTUSBTL.rules
mkdir -p "${_udev_dir}"
printf "SUBSYSTEM==\"usb\", ACTION==\"add\", ATTRS{idVendor}==\"1ab2\", ATTRS{idProduct}==\"0001\", MODE=\"0666\"\nSUBSYSTEM==\"usb\", ACTION==\"add\", ATTRS{idVendor}==\"1ab2\", ATTRS{idProduct}==\"ff01\", MODE=\"0666\"\n" > ${_udev_file}
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-02 00:00:32 | Low | 2 |
| 2026-10-01 00:02:06 | Low | 2 |
| 2026-09-30 00:20:07 | Low | 2 |
| 2026-09-29 00:07:46 | Low | 2 |
| 2026-09-28 00:28:32 | Low | 2 |
| 2026-09-27 00:07:07 | Low | 2 |
| 2026-09-26 00:12:15 | Low | 2 |
| 2026-09-25 00:03:36 | Low | 2 |
| 2026-09-24 00:24:14 | Low | 2 |
| 2026-09-23 00:28:13 | Low | 2 |
| 2026-09-22 00:15:14 | Low | 2 |
| 2026-09-21 00:26:32 | Low | 2 |
| 2026-09-20 00:25:31 | Low | 2 |
| 2026-09-19 00:25:36 | Low | 2 |
| 2026-09-18 00:17:11 | Low | 2 |
| 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 |