peak-linux-driver-dkms

LOW
maintainer CloverGit 0 votes scanned 2026-10-02 00:00:32.890515
View on AUR
Why flagged

The source is downloaded from the official vendor's website (peak-system.com), which is the legitimate provider of the driver; despite the non-standard host path, this is a normal and expected source for the software.

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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is downloaded from the official vendor's website (peak-system.com), which is the legitimate provider of the driver; despite the non-standard host path, this is a normal and expected source for the software.

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 "https://www.peak-system.com/fileadmin/media/linux/files/${_pkgname}-${pkgver}.tar.gz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: CloverGit <clovergit@hotmail.com>
2
3pkgname=peak-linux-driver-dkms
4_pkgname=peak-linux-driver
5pkgver=9.3.1
6pkgrel=1
7pkgdesc='Linux driver for PEAK-System CAN adapters'
8arch=('any')
9url='https://www.peak-system.com/fileadmin/media/linux/index.php'
10license=('GPL-2.0-only' 'LGPL-2.1-only')
11depends=('dkms')
12provides=('peak-linux-driver')
13conflicts=('peak-linux-driver')
14install="${pkgname}.install"
15source=(
16 "https://www.peak-system.com/fileadmin/media/linux/files/${_pkgname}-${pkgver}.tar.gz"
17 'dkms.conf'
18)
19sha256sums=('25ec72f3ba16760a94979ffb56cf6f7a51eb61cdcd4968f7cf8825ddfe164c5c'
20 'a277e6202f8ba761b3d0a1e1c5d4de0f5306a45fa14689aa1473e814e09ce36e')
21
22prepare() {
23 cd "${_pkgname}-${pkgver}"
24
25 # strncpy() was removed from the Linux kernel API
26 sed -i 's/strncpy(/strscpy(/g' driver/src/pcan_fops.c driver/src/pcan_pciec.c
27}
28
29package() {
30 cd "${_pkgname}-${pkgver}"
31
32 install -d "${pkgdir}/usr/src/${_pkgname}-${pkgver}"
33 cp -r driver "${pkgdir}/usr/src/${_pkgname}-${pkgver}/"
34
35 # copy dkms.conf
36 install -Dm644 "${srcdir}/dkms.conf" "${pkgdir}/usr/src/${_pkgname}-${pkgver}/dkms.conf"
37
38 # set name and version and dkms.conf
39 sed -e "s/@PKGNAME@/${_pkgname}/" \
40 -e "s/@PKGVER@/${pkgver}/" \
41 -i "${pkgdir}/usr/src/${_pkgname}-${pkgver}/dkms.conf"
42
43 install -Dm644 "driver/udev/45-pcan.rules" "${pkgdir}/usr/lib/udev/rules.d/45-pcan.rules"
44 install -Dm644 "driver/udev/blacklist-peak.conf" "${pkgdir}/usr/lib/modprobe.d/blacklist-peak.conf"
45 install -Dm755 "driver/lspcan" "${pkgdir}/usr/bin/lspcan"
46 install -Dm644 "driver/pcan.conf" "${pkgdir}/usr/share/doc/${pkgname}/pcan.conf"
47 install -Dm644 "driver/release_notes.txt" "${pkgdir}/usr/share/doc/${pkgname}/release_notes.txt"
48}
49
50# vim: set sw=2 ts=2 et:
51

Changes since previous scan

--- PKGBUILD @ 2026-09-26 00:12
+++ PKGBUILD @ 2026-10-02 00:00
@@ -2,7 +2,7 @@
pkgname=peak-linux-driver-dkms
_pkgname=peak-linux-driver
-pkgver=9.2.0
+pkgver=9.3.1
pkgrel=1
pkgdesc='Linux driver for PEAK-System CAN adapters'
arch=('any')
@@ -16,8 +16,15 @@
"https://www.peak-system.com/fileadmin/media/linux/files/${_pkgname}-${pkgver}.tar.gz"
'dkms.conf'
)
-sha256sums=('adc7e9d2459848d506b7d948fc52b1afe73db476f58537492c94f70a960a7a9a'
- 'a277e6202f8ba761b3d0a1e1c5d4de0f5306a45fa14689aa1473e814e09ce36e')
+sha256sums=('25ec72f3ba16760a94979ffb56cf6f7a51eb61cdcd4968f7cf8825ddfe164c5c'
+ 'a277e6202f8ba761b3d0a1e1c5d4de0f5306a45fa14689aa1473e814e09ce36e')
+
+prepare() {
+ cd "${_pkgname}-${pkgver}"
+
+ # strncpy() was removed from the Linux kernel API
+ sed -i 's/strncpy(/strscpy(/g' driver/src/pcan_fops.c driver/src/pcan_pciec.c
+}
package() {
cd "${_pkgname}-${pkgver}"
@@ -30,8 +37,8 @@
# set name and version and dkms.conf
sed -e "s/@PKGNAME@/${_pkgname}/" \
- -e "s/@PKGVER@/${pkgver}/" \
- -i "${pkgdir}/usr/src/${_pkgname}-${pkgver}/dkms.conf"
+ -e "s/@PKGVER@/${pkgver}/" \
+ -i "${pkgdir}/usr/src/${_pkgname}-${pkgver}/dkms.conf"
install -Dm644 "driver/udev/45-pcan.rules" "${pkgdir}/usr/lib/udev/rules.d/45-pcan.rules"
install -Dm644 "driver/udev/blacklist-peak.conf" "${pkgdir}/usr/lib/modprobe.d/blacklist-peak.conf"

Scan history

Scanned at (UTC)SeverityRules
2026-10-02 00:00:32 Low 2
2026-10-01 00:02:06 Low 2
2026-09-30 00:20:07 Low 2
2026-09-29 00:07:46 Low 2
2026-09-28 00:28:32 Low 2
2026-09-27 00:07:07 Low 2
2026-09-26 11:15:02 Medium 1
2026-09-26 00:12:15 Low 2
2026-09-25 00:03:36 Low 2
2026-09-24 00:24:14 Low 2
2026-09-23 00:28:13 Low 2
2026-09-22 00:15:14 Low 2
2026-09-21 00:26:32 Low 2
2026-09-20 00:25:31 Low 2
2026-09-19 00:25:36 Low 2
2026-09-18 00:17:11 Low 2
2026-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 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