libbladerf-git

maintainer thasti · 3 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package builds from a legitimate project-owned git repository and downloads firmware/ FPGA bitfiles from the official vendor's domain (nuand.com); these are non-executable data files for hardware operation, so despite unverifiable checksums, the risk is low.

Triggered rules

LOW AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package builds from a legitimate project-owned git repository and downloads firmware/ FPGA bitfiles from the official vendor's domain (nuand.com); these are non-executable data files for hardware operation, so despite unverifiable checksums, the risk is low.

1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM source=() URL on a non-standard host 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 "https://www.nuand.com/fpga/hostedxA4-latest.rbf"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Stefan Biereigel <stefan@biereigel.de>
2
3pkgname=libbladerf-git
4pkgver=2023.02.r33.g2b90ed39
5pkgrel=1
6pkgdesc="Driver and userspace for the bladeRF SDR."
7url="https://github.com/Nuand/bladeRF"
8arch=('i686' 'x86_64' 'aarch64')
9license=('GPL2')
10depends=('libusb')
11provides=('bladerf')
12conflicts=('bladerf')
13makedepends=('cmake' 'help2man' 'doxygen')
14
15source=("git+https://github.com/Nuand/bladeRF"
16 "https://www.nuand.com/fpga/hostedxA4-latest.rbf"
17 "https://www.nuand.com/fpga/hostedxA9-latest.rbf"
18 "https://www.nuand.com/fpga/hostedx40-latest.rbf"
19 "https://www.nuand.com/fpga/hostedx115-latest.rbf"
20 "https://www.nuand.com/fx3/bladeRF_fw_latest.img")
21md5sums=('SKIP'
22 'SKIP'
23 'SKIP'
24 'SKIP'
25 'SKIP'
26 'SKIP')
27
28prepare() {
29 cd "$srcdir/bladeRF"
30 sed -i 's|MODE.*$|TAG+="uaccess"|' host/misc/udev/88-nuand-bladerf1.rules.in
31 sed -i 's|MODE.*$|TAG+="uaccess"|' host/misc/udev/88-nuand-bladerf2.rules.in
32 sed -i 's|MODE.*$|TAG+="uaccess"|' host/misc/udev/88-nuand-bootloader.rules.in
33}
34
35pkgver() {
36 cd "$srcdir/bladeRF"
37 git describe --long --tags | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
38}
39
40build() {
41 cd "$srcdir/bladeRF"
42 mkdir -p build
43 cd build
44 cmake \
45 -DCMAKE_BUILD_TYPE=Release \
46 -DINSTALL_UDEV_RULES=ON \
47 -DBUILD_DOCUMENTATION=ON \
48 -DCMAKE_INSTALL_LIBDIR:PATH=lib \
49 -Dusb_LIBRARY:FILEPATH=/usr/lib/libusb-1.0.so \
50 -DCMAKE_INSTALL_PREFIX=/usr ../ \
51 -DUDEV_RULES_PATH=/usr/lib/udev/rules.d
52 make
53 # ENABLE_FX3_BUILD needs cypress toolchain
54 # really really wants to put files in /usr/lib64
55}
56
57package() {
58 cd "$srcdir/bladeRF/build"
59 make DESTDIR="${pkgdir}" install
60
61 cd "$srcdir"
62 install -Dm644 bladeRF_fw_latest.img "$pkgdir/usr/share/Nuand/bladeRF/firmware/bladeRF_fw_latest.img"
63 install -Dm644 hostedxA4-latest.rbf "$pkgdir/usr/share/Nuand/bladeRF/hostedxA4.rbf"
64 install -Dm644 hostedxA9-latest.rbf "$pkgdir/usr/share/Nuand/bladeRF/hostedxA9.rbf"
65 install -Dm644 hostedx40-latest.rbf "$pkgdir/usr/share/Nuand/bladeRF/hostedx40.rbf"
66 install -Dm644 hostedx115-latest.rbf "$pkgdir/usr/share/Nuand/bladeRF/hostedx115.rbf"
67
68 # FS#54105
69 cd "$pkgdir/usr/lib/udev/rules.d/"
70 mv 88-nuand-bladerf1.rules 70-nuand-bladerf1.rules
71 mv 88-nuand-bladerf2.rules 70-nuand-bladerf2.rules
72 mv 88-nuand-bootloader.rules 70-nuand-bootloader.rules
73}
74

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 LOW 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion