peak-lin-driver-dkms
maintainer gpol
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a driver from the official vendor's domain (peak-system.com), which is plausibly the project's own release infrastructure; despite the static analyzer flag, this is a normal and legitimate source for DKMS drivers.
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 a driver from the official vendor's domain (peak-system.com), which is plausibly the project's own release infrastructure; despite the static analyzer flag, this is a normal and legitimate source for DKMS drivers.
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:14
'https://www.peak-system.com/cupd2/plin_linux.zip'
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Gabriel Guilbert <gabrielpolloguilbert@gmail.com>
2
3
pkgname=peak-lin-driver-dkms
4
pkgver=1.0.0
5
pkgrel=9
6
pkgdesc="Linux driver for PEAK LIN adapter"
7
arch=('any')
8
url="https://forum.peak-system.com/viewtopic.php?t=5875"
9
license=('LGPL2.1' 'GPL2')
10
depends=('linux>=2.6.38' 'linux-headers' 'dkms')
11
provides=('peak-linux-driver')
12
conflicts=('peak-linux-driver')
13
source=(
14
'https://www.peak-system.com/cupd2/plin_linux.zip'
15
'Makefile'
16
'Kbuild'
17
'dkms.conf'
18
)
19
md5sums=(
20
'237fdbf4dcbfe5d1a1edb1460e4be58e'
21
'344c9454481b30d84961c84220a82e25'
22
'129c220ddfe26423eb9a2e62aa680e96'
23
'277701af599a4b480eb9e079cc805063'
24
)
25
26
prepare() {
27
cd "${srcdir}/"
28
29
tar -xvf "peak-lin-driver-${pkgver}-rc${pkgrel}.tar.gz"
30
}
31
32
package() {
33
cd "${srcdir}/peak-lin-driver-${pkgver}-rc${pkgrel}/driver"
34
35
# fix for latest kernels
36
sed -i '1s/^/#define MODULE_SUPPORTED_DEVICE(...)\n\n/' plin_usb.c
37
38
# move source files into /usr/src
39
install -d "${pkgdir}/usr/src/peak-lin-${pkgver}-rc${pkgrel}/"
40
cp -r "." "${pkgdir}/usr/src/peak-lin-${pkgver}-rc${pkgrel}/"
41
42
# move custom build configuration
43
cp "${srcdir}/Kbuild" "${pkgdir}/usr/src/peak-lin-${pkgver}-rc${pkgrel}/"
44
cp "${srcdir}/Makefile" "${pkgdir}/usr/src/peak-lin-${pkgver}-rc${pkgrel}/"
45
46
# install system header
47
install -d "${pkgdir}/usr/include/"
48
install -Dm644 "plin.h" "${pkgdir}/usr/include/"
49
50
# copy dkms.conf
51
install -Dm644 "${srcdir}/dkms.conf" "${pkgdir}/usr/src/peak-lin-${pkgver}-rc${pkgrel}/"
52
}
53
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 |