ch9344-dkms
maintainer Excalibur
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
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
4
pkgname=${_pkgname}-dkms
5
pkgver=2.0
6
pkgrel=1
7
url="https://www.wch.cn/downloads/CH9344SER_LINUX_ZIP.html"
8
pkgdesc="Kernel module for CH9344/CH348 USB UART controller"
9
license=('unknown')
10
arch=('any')
11
depends=('dkms')
12
makedepends=('unzip')
13
conflicts=("${_pkgname}")
14
optdepends=('linux-headers: Build the module for Arch kernel'
15
'linux-lts-headers: Build the module for LTS Arch kernel')
16
source=("CH9344SER_LINUX-$pkgver.ZIP::https://www.wch.cn/downloads/file/386.html"
17
'dkms.conf'
18
'fix-incompatible-pointer-types.patch')
19
noextract=("CH9344SER_LINUX-$pkgver.ZIP")
20
sha256sums=('b388b2af20bd6e3f842bb9c5bdc49ef681b7fc4e9b589e7f265eed61437e39f7'
21
'cac2091fcfc7276c1b6fa5f5e0fa811f5aa51b9529652b02766ec933904e308f'
22
'06a125bc78786ec7e11712ba4520a83ab53d1af906cfdf3336b0f3fe07c85587')
23
24
prepare() {
25
cd "$srcdir"
26
unzip -o "CH9344SER_LINUX-$pkgver.ZIP"
27
patch LINUX/driver/ch9344.c fix-incompatible-pointer-types.patch
28
}
29
30
build() {
31
:
32
}
33
34
package() {
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) | Severity | Rules |
|---|---|---|
| 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 |