aic8800-dkms

maintainer fl.duriez · 3 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads a prebuilt .deb from linux.brostrend.com, which is the vendor's own Linux support site (BrosTrend is a real WiFi adapter manufacturer that maintains this host for Linux driver distribution). The source has a pinned sha512sum, which provides integrity verification. The .deb is extracted and its kernel driver source (C files) is patched and installed via DKMS — meaning the kernel module is compiled locally from source, not a prebuilt binary kernel module. Firmware blobs are also copied from the .deb. The main concern is that linux.brostrend.com is not a major distribution mirror or GitHub, so if the host were compromised the sha512sum would catch substitution. The patches are local files also checksummed. This is a legitimate vendor driver distribution pattern common for WiFi adapters (similar to rtl8812au etc.). The risk is real but low-to-medium: it's an unofficial vendor host with binary firmware blobs, but the DKMS source compilation and sha512 pinning mitigate the worst concerns. Rating medium is defensible due to the non-standard host and firmware blobs, but this is a borderline case leaning toward clean/low for a known vendor's official Linux support infrastructure.

Triggered rules

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://linux.brostrend.com/${_pkgbase}-dkms.deb"
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD downloads a prebuilt .deb from linux.brostrend.com, which is the vendor's own Linux support site (BrosTrend is a real WiFi adapter manufacturer that maintains this host for Linux driver distribution). The source has a pinned sha512sum, which provides integrity verification. The .deb is extracted and its kernel driver source (C files) is patched and installed via DKMS — meaning the kernel module is compiled locally from source, not a prebuilt binary kernel module. Firmware blobs are also copied from the .deb. The main concern is that linux.brostrend.com is not a major distribution mirror or GitHub, so if the host were compromised the sha512sum would catch substitution. The patches are local files also checksummed. This is a legitimate vendor driver distribution pattern common for WiFi adapters (similar to rtl8812au etc.). The risk is real but low-to-medium: it's an unofficial vendor host with binary firmware blobs, but the DKMS source compilation and sha512 pinning mitigate the worst concerns. Rating medium is defensible due to the non-standard host and firmware blobs, but this is a borderline case leaning toward clean/low for a known vendor's official Linux support infrastructure.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Franck Duriez <franck@duriez.info>
2
3_pkgbase=aic8800
4pkgname=aic8800-dkms
5pkgver=1.0.8
6pkgrel=1
7
8pkgdesc="Kernel modules for BrosTrend AX300 WiFi 6"
9arch=('any')
10url="https://linux.brostrend.com/troubleshooting/source-code/"
11license=('GPL-2.0-only')
12depends=('udev' 'dkms')
13makedepends=('dos2unix')
14conflicts=("${_pkgbase}")
15source=(
16 "https://linux.brostrend.com/${_pkgbase}-dkms.deb"
17 '0001-Make-CONFIG_RFTEST-n-valid.patch'
18 '0002-Fix-DKMS-config.patch'
19 '0003-Fix-kernel-logs.patch'
20)
21sha512sums=(
22 'ec9c36ddd97682a45f58c556917d89f0715fb594ffc454aaa8559d111d9e70a9b9c7ebb3170f9f23143d9eccea0dc979a79499b558b3205cc790aaa15af95afb'
23 '748daf3a5590c4348919d64df26fda2102b5c638bd461ce4eebeda9030157cee30c130ede971396b11cac8a8a069dc185e2e8345f42b918cc8de600a824d7571'
24 '4cc6102432cee0f8d2c157fc8a09c23d02f61ca1e3540b1d89bed1e31d8a4e379e1472e68e402d5fe64574c885bba9378bd025877a45fd7cbe4ebcf7f202b925'
25 'e6b2eb9b140c55587e188c6edea0887aa8d27fa4989e8f6601b39fe3604ddd62f0845be79b0069ef4afd6f851afe7d6ca423856451ae082bcf4158203dc0d2c1'
26)
27
28prepare() {
29 cd "${srcdir}"
30 tar xvzf "data.tar.gz"
31 cd "usr/src/${_pkgbase}-${pkgver}"
32 dos2unix */*.{c,h}
33 patch -Np1 -i ../../../0001-Make-CONFIG_RFTEST-n-valid.patch -d .
34 patch -Np1 -i ../../../0002-Fix-DKMS-config.patch -d .
35 patch -Np1 -i ../../../0003-Fix-kernel-logs.patch -d .
36}
37
38package() {
39 # Copy udev rules
40 install -dm 755 "${pkgdir}/usr/lib/udev/rules.d"
41 install -m 644 "${srcdir}/lib/udev/rules.d/aic.rules" "${pkgdir}/usr/lib/udev/rules.d/99-aic-modeswitch.rules"
42
43 # Copy device firmware
44 install -dm 755 "${pkgdir}/usr/lib/firmware"
45 cp -dr --no-preserve=ownership "${srcdir}/lib/firmware/${_pkgbase}DC" "${pkgdir}/usr/lib/firmware"
46
47 # Copy source and dkms config
48 install -dm 755 "${pkgdir}/usr/src"
49 cp -dr --no-preserve=ownership "${srcdir}/usr/src/${_pkgbase}-${pkgver}" "${pkgdir}/usr/src"
50
51 # Prune unwanted files
52 rm -f "${pkgdir}/usr/src/${_pkgbase}-${pkgver}/driverctl"
53}
54

Scan history

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

Report a package

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

0 / 4000
Your suggestion