libsdrplay

LOW
maintainer edombek 17 votes scanned 2026-10-25 00:20:48.567348
View on AUR
Why flagged

The package downloads a prebuilt binary installer from the official sdrplay.com domain for a legitimate SDR hardware API; while the host is not on a standard whitelist, it is the vendor's official site, and the checksum is verified, making the risk low despite the non-standard download pattern.

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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a prebuilt binary installer from the official sdrplay.com domain for a legitimate SDR hardware API; while the host is not on a standard whitelist, it is the vendor's official site, and the checksum is verified, making the risk low despite the non-standard download pattern.

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:14 source=("SDRplay_RSP_API-Linux-${pkgver}.run::https://sdrplay.com/download/hardware-api-linux/?wpdmdl=1906"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Evgeniy Dombek <edombek@yandex.ru>
2# Maintainer: Dan McCurry <dan.mc at protonmail dot com>
3# Maintainer: Ethan Best <ethan at totalsecond dot com>
4# with special thanks to deadlte for version 3.07.1
5
6pkgname=libsdrplay
7pkgver=3.15.2
8pkgrel=5
9pkgdesc="Modules for the SDRplay receiver"
10arch=('armv7h' 'aarch64' 'x86_64')
11url="http://www.sdrplay.com"
12license=('LicenseRef-sdrplay')
13depends=('libusb>=1.0')
14source=("SDRplay_RSP_API-Linux-${pkgver}.run::https://sdrplay.com/download/hardware-api-linux/?wpdmdl=1906"
15 "sdrplay.service"
16 "66-sdrplay.rules"
17 "20-sdrplay.hwdb")
18sha256sums=('3a97ca764263bbe76fb0f2220e6408942357e8864c19e1408a6d6987af382fe3'
19 '69935539fad9b7cf2cd1feb4017974cfaf164c37dfd01adfb0086ea7512e6ce7'
20 '750e797e330f61d59c108ab8c831e7c2af045f474df3b1934ba3ef283a1a0e97'
21 '8c2bda0690fb16d74e4b7836cf4c4a4a725029fed1546a42b7a8ca193eb47c95')
22
23prepare() {
24 cd ${srcdir}
25
26 msg2 "Extracting makeself archive..."
27 sh SDRplay_RSP_API-Linux-${pkgver}.run --tar xf
28}
29
30package() {
31 cd "${srcdir}"
32
33 CARCH_=$CARCH
34 case ${CARCH} in
35 armv7h) CARCH_="armhf" ;;
36 x86_64) CARCH_="amd64" ;;
37 aarch64) CARCH_="arm64" ;;
38 esac
39
40 msg2 "Getting API version..."
41 _apivers=$(sed -n 's/^VERS="\(.*\)"/\1/p' install_lib.sh)
42 msg2 "API version: ${_apivers}"
43
44 # These commands are equivalent to the scripts used in the supplied
45 # run file
46 install -D -m644 sdrplay_license.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
47 install -D -m644 "${CARCH_}/libsdrplay_api.so.${_apivers}" "${pkgdir}/usr/lib/libsdrplay_api.so.${_apivers}"
48 install -D -m755 "${CARCH_}/sdrplay_apiService" "${pkgdir}/usr/bin/sdrplay_apiService"
49 install -D -m644 "sdrplay.service" "${pkgdir}/etc/systemd/system/sdrplay.service"
50
51 (cd inc && find . -type f -exec install -D -m644 "{}" "${pkgdir}/usr/include/{}" \;)
52
53 install -D -m644 66-sdrplay.rules "${pkgdir}/etc/udev/rules.d/66-sdrplay.rules"
54 install -D -m644 20-sdrplay.hwdb "${pkgdir}/etc/udev/hwdb.d/20-sdrplay.hwdb"
55
56 cd "${pkgdir}/usr/lib"
57 ln -s libsdrplay_api.so.${_apivers} libsdrplay_api.so.2
58 ln -s libsdrplay_api.so.${_apivers} libsdrplay_api.so
59
60}
61

Scan history

Scanned at (UTC)SeverityRules
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
2026-10-12 00:18:51 Low 2
2026-10-11 00:26:05 Low 2
2026-10-10 00:11:52 Low 2
2026-10-09 00:05:33 Low 2
2026-10-08 00:28:03 Low 2
2026-10-07 00:21:34 Low 2
2026-10-06 00:13:36 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