ch9344-dkms

LOW
maintainer Excalibur 0 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The source is downloaded from the official vendor's website (wch.cn), which is the legitimate provider of the CH9344 driver; despite the non-whitelisted host triggering a static warning, this is a normal and expected source for the driver, and the checksums are provided and valid.

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 source is downloaded from the official vendor's website (wch.cn), which is the legitimate provider of the CH9344 driver; despite the non-whitelisted host triggering a static warning, this is a normal and expected source for the driver, and the checksums are provided and valid.

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 source=("CH9344SER_LINUX-$pkgver.ZIP::https://www.wch.cn/downloads/file/386.html"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Excalibur <saberconer@gmail.com>
2
3_pkgname=ch9344
4pkgname=${_pkgname}-dkms
5pkgver=2.0
6pkgrel=1
7url="https://www.wch.cn/downloads/CH9344SER_LINUX_ZIP.html"
8pkgdesc="Kernel module for CH9344/CH348 USB UART controller"
9license=('unknown')
10arch=('any')
11depends=('dkms')
12makedepends=('unzip')
13conflicts=("${_pkgname}")
14optdepends=('linux-headers: Build the module for Arch kernel'
15 'linux-lts-headers: Build the module for LTS Arch kernel')
16source=("CH9344SER_LINUX-$pkgver.ZIP::https://www.wch.cn/downloads/file/386.html"
17 'dkms.conf'
18 'fix-incompatible-pointer-types.patch')
19noextract=("CH9344SER_LINUX-$pkgver.ZIP")
20sha256sums=('b388b2af20bd6e3f842bb9c5bdc49ef681b7fc4e9b589e7f265eed61437e39f7'
21 'cac2091fcfc7276c1b6fa5f5e0fa811f5aa51b9529652b02766ec933904e308f'
22 '06a125bc78786ec7e11712ba4520a83ab53d1af906cfdf3336b0f3fe07c85587')
23
24prepare() {
25 cd "$srcdir"
26 unzip -o "CH9344SER_LINUX-$pkgver.ZIP"
27 patch LINUX/driver/ch9344.c fix-incompatible-pointer-types.patch
28}
29
30build() {
31 :
32}
33
34package() {
35 dir_name="${_pkgname}-${pkgver}"
36 install -d "${pkgdir}"/usr/src/${dir_name}/
37 install -Dm644 dkms.conf "$srcdir"/LINUX/driver/* "${pkgdir}/usr/src/${dir_name}/"
38
39 sed -e "s/@_PKGNAME@/${_pkgname}/g" \
40 -e "s/@PKGVER@/${pkgver}/g" \
41 -i "${pkgdir}/usr/src/${dir_name}/dkms.conf"
42}
43

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
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

Report a package

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

0 / 4000
Your suggestion