peak-linux-driver-dkms
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
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)
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# Maintainer: CloverGit <clovergit@hotmail.com>
pkgname=peak-linux-driver-dkms
_pkgname=peak-linux-driver
pkgver=9.3.1
pkgrel=1
pkgdesc='Linux driver for PEAK-System CAN adapters'
arch=('any')
url='https://www.peak-system.com/fileadmin/media/linux/index.php'
license=('GPL-2.0-only' 'LGPL-2.1-only')
depends=('dkms')
provides=('peak-linux-driver')
conflicts=('peak-linux-driver')
install="${pkgname}.install"
source=(
"https://www.peak-system.com/fileadmin/media/linux/files/${_pkgname}-${pkgver}.tar.gz"
'dkms.conf'
)
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}"
install -d "${pkgdir}/usr/src/${_pkgname}-${pkgver}"
cp -r driver "${pkgdir}/usr/src/${_pkgname}-${pkgver}/"
# copy dkms.conf
install -Dm644 "${srcdir}/dkms.conf" "${pkgdir}/usr/src/${_pkgname}-${pkgver}/dkms.conf"
# set name and version and dkms.conf
sed -e "s/@PKGNAME@/${_pkgname}/" \
-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"
install -Dm755 "driver/lspcan" "${pkgdir}/usr/bin/lspcan"
install -Dm644 "driver/pcan.conf" "${pkgdir}/usr/share/doc/${pkgname}/pcan.conf"
install -Dm644 "driver/release_notes.txt" "${pkgdir}/usr/share/doc/${pkgname}/release_notes.txt"
}
# vim: set sw=2 ts=2 et:
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) | Severity | Rules |
|---|---|---|
| 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 |