aic8800-dkms
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
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"
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# Maintainer: Franck Duriez <franck@duriez.info>
_pkgbase=aic8800
pkgname=aic8800-dkms
pkgver=1.0.8
pkgrel=1
pkgdesc="Kernel modules for BrosTrend AX300 WiFi 6"
arch=('any')
url="https://linux.brostrend.com/troubleshooting/source-code/"
license=('GPL-2.0-only')
depends=('udev' 'dkms')
makedepends=('dos2unix')
conflicts=("${_pkgbase}")
source=(
"https://linux.brostrend.com/${_pkgbase}-dkms.deb"
'0001-Make-CONFIG_RFTEST-n-valid.patch'
'0002-Fix-DKMS-config.patch'
'0003-Fix-kernel-logs.patch'
)
sha512sums=(
'ec9c36ddd97682a45f58c556917d89f0715fb594ffc454aaa8559d111d9e70a9b9c7ebb3170f9f23143d9eccea0dc979a79499b558b3205cc790aaa15af95afb'
'748daf3a5590c4348919d64df26fda2102b5c638bd461ce4eebeda9030157cee30c130ede971396b11cac8a8a069dc185e2e8345f42b918cc8de600a824d7571'
'4cc6102432cee0f8d2c157fc8a09c23d02f61ca1e3540b1d89bed1e31d8a4e379e1472e68e402d5fe64574c885bba9378bd025877a45fd7cbe4ebcf7f202b925'
'e6b2eb9b140c55587e188c6edea0887aa8d27fa4989e8f6601b39fe3604ddd62f0845be79b0069ef4afd6f851afe7d6ca423856451ae082bcf4158203dc0d2c1'
)
prepare() {
cd "${srcdir}"
tar xvzf "data.tar.gz"
cd "usr/src/${_pkgbase}-${pkgver}"
dos2unix */*.{c,h}
patch -Np1 -i ../../../0001-Make-CONFIG_RFTEST-n-valid.patch -d .
patch -Np1 -i ../../../0002-Fix-DKMS-config.patch -d .
patch -Np1 -i ../../../0003-Fix-kernel-logs.patch -d .
}
package() {
# Copy udev rules
install -dm 755 "${pkgdir}/usr/lib/udev/rules.d"
install -m 644 "${srcdir}/lib/udev/rules.d/aic.rules" "${pkgdir}/usr/lib/udev/rules.d/99-aic-modeswitch.rules"
# Copy device firmware
install -dm 755 "${pkgdir}/usr/lib/firmware"
cp -dr --no-preserve=ownership "${srcdir}/lib/firmware/${_pkgbase}DC" "${pkgdir}/usr/lib/firmware"
# Copy source and dkms config
install -dm 755 "${pkgdir}/usr/src"
cp -dr --no-preserve=ownership "${srcdir}/usr/src/${_pkgbase}-${pkgver}" "${pkgdir}/usr/src"
# Prune unwanted files
rm -f "${pkgdir}/usr/src/${_pkgbase}-${pkgver}/driverctl"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Medium | 2 |
| 2026-09-16 00:03:17 | Medium | 2 |
| 2026-09-15 00:25:31 | Medium | 2 |
| 2026-09-14 00:27:57 | Medium | 2 |
| 2026-09-13 00:19:54 | Medium | 2 |
| 2026-09-12 00:25:17 | Medium | 2 |
| 2026-09-11 00:19:22 | Medium | 2 |
| 2026-09-10 00:22:44 | Medium | 2 |
| 2026-09-09 00:04:09 | Medium | 2 |
| 2026-09-08 00:18:08 | Medium | 2 |
| 2026-09-07 00:30:15 | Medium | 2 |
| 2026-09-06 00:17:06 | Medium | 2 |
| 2026-09-05 00:16:27 | Medium | 2 |
| 2026-09-04 00:03:13 | Medium | 2 |
| 2026-09-03 00:15:47 | Medium | 2 |
| 2026-09-02 00:02:31 | Medium | 2 |
| 2026-09-01 00:11:19 | Medium | 2 |
| 2026-08-31 00:19:57 | Medium | 2 |
| 2026-08-30 00:04:14 | Medium | 2 |
| 2026-08-29 00:29:17 | Medium | 2 |