px4_drv-dkms-git

maintainer lsuy0914 · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads a firmware file from a non-whitelisted host (plex-net.co.jp), but it is used as static data (copied to /usr/lib/firmware) and not executed; the source code is built from a legitimate project repository, and the firmware filename matches the device, making it plausibly legitimate with low risk of malicious impact even if swapped.

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 downloads a firmware file from a non-whitelisted host (plex-net.co.jp), but it is used as static data (copied to /usr/lib/firmware) and not executed; the source code is built from a legitimate project repository, and the firmware filename matches the device, making it plausibly legitimate with low risk of malicious impact even if swapped.

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://plex-net.co.jp/plex/pxw3u4/pxw3u4_BDA_ver1x64.zip')

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: LaFr4nc3 <lafr4nc3 at gmail dot com>
2pkgname=px4_drv-dkms-git
3_pkgname=px4_drv
4pkgver=r534.b4a6f9a
5pkgrel=1
6pkgdesc="PLEX PX-W3U4/W3PE4/Q3PE4 unofficial Linux driver"
7arch=('x86_64' 'aarch64')
8url="https://github.com/tsukumijima/px4_drv"
9license=('GPL2')
10depends=('dkms')
11makedepends=('git' 'unzip')
12provides=("${_pkgname}" "${_pkgname}-git" "${pkgname%-git}")
13conflicts=("${_pkgname}" "${_pkgname}-git" "${pkgname%-git}")
14install="${_pkgname}.install"
15source=("${_pkgname}"::'git+https://github.com/tsukumijima/px4_drv.git#branch=develop'
16 'https://plex-net.co.jp/plex/pxw3u4/pxw3u4_BDA_ver1x64.zip')
17md5sums=('SKIP'
18 'd519cb8f1221123fc6d301482ba8d498')
19
20pkgver() {
21 cd "$srcdir/${_pkgname}"
22 ( set -o pipefail
23 git describe --long 2>/dev/null | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' ||
24 printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
25 )
26}
27
28prepare() {
29 cd "$srcdir/${_pkgname}/fwtool"
30 make
31 ./fwtool "$srcdir/pxw3u4_BDA_ver1x64/PXW3U4.sys" it930x-firmware.bin
32
33 cd "$srcdir/${_pkgname}"
34 sed -e "s/^PACKAGE_VERSION\=.*\$/PACKAGE_VERSION\=\"$pkgver\"/" -i dkms.conf
35}
36
37package() {
38 cd "$srcdir/${_pkgname}/fwtool"
39 install -D it930x-firmware.bin "$pkgdir/usr/lib/firmware/it930x-firmware.bin"
40
41 cd "$srcdir/${_pkgname}"
42 install -dm 755 "$pkgdir/usr/src/${_pkgname}-$pkgver"
43 cp -a ./{dkms,driver,etc,include,dkms.conf} "$pkgdir/usr/src/${_pkgname}-$pkgver/"
44}
45
46

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