pcanview-ncurses-bin
maintainer CloverGit
· 0 votes
· scanned 2026-08-18 00:03:42.021799
LOW
View on AUR ↗
Why flagged
Downloads a prebuilt binary from peak-system.com (the vendor's own official Debian repository) and a libncurses6 deb from deb.debian.org; both have pinned sha256 checksums, so the sources are verifiable and come from plausibly authoritative infrastructure, making this a normal binary-repackaging AUR package with no signs of malice.
Triggered rules
LOW
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this MEDIUM, but an AI model (anthropic/claude-sonnet-4.6) reviewed the full PKGBUILD and judged it LOW (confidence 80%): Downloads a prebuilt binary from peak-system.com (the vendor's own official Debian repository) and a libncurses6 deb from deb.debian.org; both have pinned sha256 checksums, so the sources are verifiable and come from plausibly authoritative infrastructure, making this a normal binary-repackaging AUR package with no signs of malice.
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
"pcanview-ncurses_${pkgver}-0_amd64.deb::https://www.peak-system.com/debian/dists/trixie/non-free/binary-amd64/pcanview-ncurses_${pkgver}-0_amd64.deb"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: CloverGit <clovergit@hotmail.com>
2
3
pkgname=pcanview-ncurses-bin
4
pkgver=0.9.4
5
pkgrel=1
6
pkgdesc='CAN/CAN FD monitor for PEAK-System CAN adapters'
7
arch=('x86_64')
8
url='https://www.peak-system.com/fileadmin/media/linux/can-pcan-view.php'
9
license=('LicenseRef-PEAK-PCANView' 'MIT-open-group(libncurses6)')
10
depends=('ncurses' 'peak-linux-driver-dkms')
11
makedepends=('patchelf')
12
options=('!debug')
13
14
_libncursesver=6.5+20250216-2
15
source=(
16
"pcanview-ncurses_${pkgver}-0_amd64.deb::https://www.peak-system.com/debian/dists/trixie/non-free/binary-amd64/pcanview-ncurses_${pkgver}-0_amd64.deb"
17
"libncurses6_${_libncursesver}_amd64.deb::https://deb.debian.org/debian/pool/main/n/ncurses/libncurses6_${_libncursesver}_amd64.deb"
18
)
19
noextract=("pcanview-ncurses_${pkgver}-0_amd64.deb" "libncurses6_${_libncursesver}_amd64.deb")
20
sha256sums=('967e1334af486e145c99d760ffb9ee350006561dce2938ba61cb0c53b131530b'
21
'e00cbcc8c0826993f881f492c05f33ba8d79b5375dc5a2ab59c82e0c7b9179a9')
22
23
package() {
24
deb="${srcdir}/pcanview-ncurses_${pkgver}-0_amd64.deb"
25
ncurses_deb="${srcdir}/libncurses6_${_libncursesver}_amd64.deb"
26
compatdir="${pkgdir}/usr/lib/pcanview-ncurses"
27
28
install -d "${compatdir}"
29
bsdtar -xOf "${deb}" data.tar.gz | bsdtar --no-same-owner -xzf - -C "${pkgdir}"
30
31
bsdtar -xOf "${ncurses_deb}" data.tar.xz | \
32
bsdtar --no-same-owner --strip-components 4 -xJf - -C "${compatdir}" \
33
'./usr/lib/x86_64-linux-gnu/libncurses.so.6*' \
34
'./usr/lib/x86_64-linux-gnu/libpanel.so.6*'
35
36
patchelf --set-rpath '$ORIGIN/../lib/pcanview-ncurses' "${pkgdir}/usr/bin/pcanview"
37
38
mv "${pkgdir}/usr/share/doc/pcanview-ncurses" "${pkgdir}/usr/share/doc/${pkgname}"
39
install -Dm644 "${pkgdir}/usr/share/doc/${pkgname}/copyright" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
40
ln -s "../ncurses/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.ncurses"
41
mv "${pkgdir}/usr/share/doc/${pkgname}/changelog.Debian.gz" "${pkgdir}/usr/share/doc/${pkgname}/CHANGELOG.gz"
42
rm "${pkgdir}/usr/share/doc/${pkgname}/README.Debian" "${pkgdir}/usr/share/doc/${pkgname}/copyright"
43
}
44
45
# vim: set sw=2 ts=2 et:
46
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-18 00:03:42 | LOW | 3 |
| 2026-08-17 00:18:29 | LOW | 3 |
| 2026-08-16 00:03:42 | LOW | 3 |
| 2026-08-15 00:26:13 | LOW | 3 |
| 2026-08-14 00:03:41 | LOW | 3 |
| 2026-08-13 00:17:07 | LOW | 3 |
| 2026-08-12 00:27:08 | LOW | 3 |
| 2026-08-11 17:34:27 | LOW | 3 |
| 2026-08-11 17:21:34 | MEDIUM | 2 |