proidcm

MEDIUM
maintainer k8ie 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The PKGBUILD downloads a prebuilt .deb package from a dynamically fetched URL controlled by the vendor, which is not included in the source array and has an unverifiable checksum, posing a supply-chain risk if the host were compromised.

Triggered rules

Medium External download from an untrusted host, not in source=() external_download_not_in_source

curl/wget fetches a URL on a non-allowlisted host that is not part of source=(), so it is not checksum-verified by makepkg.

  • PKGBUILD:15 _sourceurl=$(curl https://appcenter.proid.cz/download?solutionId=1aba3679-25ec-4ca2-b854-c787550a6753 | grep sasurl | sed -n 's/.*sasurl:"\([^"]*\)".*/\1/p' || exit 1)
Medium AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 95%): The PKGBUILD downloads a prebuilt .deb package from a dynamically fetched URL controlled by the vendor, which is not included in the source array and has an unverifiable checksum, posing a supply-chain risk if the host were compromised.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: k8ie <k8ie@mcld.eu>
2# Co-Maintainer: ItsDrike <itsdrike@protonmail.com>
3pkgname='proidcm'
4pkgver=1.0.4
5pkgrel=1
6_filename="${pkgname}-${pkgver}-0.amd64"
7pkgdesc="Graphical utility for managing ProID Smart Cards"
8depends=(libproidplus-gui qt6-base)
9makedepends=(sed curl)
10arch=('x86_64')
11url="https://proid.cz/"
12license=('custom:EULA')
13
14prepare () {
15 _sourceurl=$(curl https://appcenter.proid.cz/download?solutionId=1aba3679-25ec-4ca2-b854-c787550a6753 | grep sasurl | sed -n 's/.*sasurl:"\([^"]*\)".*/\1/p' || exit 1)
16 curl -OJ $_sourceurl
17 bsdtar -xf "$srcdir/${_filename}.deb.zip"
18 echo "$(cat $srcdir/$_filename.deb.sha256 | cut -d ' ' -f1) $srcdir/$_filename.deb" | sha256sum --check --status
19 bsdtar -xf "$srcdir/$_filename.deb"
20}
21
22package () {
23 bsdtar -C "$pkgdir" -xf "$srcdir/data.tar.xz"
24 find "$pkgdir" -type d -exec chmod 755 {} +
25 find "$pkgdir" -type f -exec chmod go-w {} +
26 chown -R root:root "$pkgdir"
27}
28

Changes since previous scan

--- PKGBUILD @ 2026-09-15 00:25
+++ PKGBUILD @ 2026-09-17 00:27
@@ -1,7 +1,8 @@
# Maintainer: k8ie <k8ie@mcld.eu>
+# Co-Maintainer: ItsDrike <itsdrike@protonmail.com>
pkgname='proidcm'
-pkgver=1.0.2
-pkgrel=3
+pkgver=1.0.4
+pkgrel=1
_filename="${pkgname}-${pkgver}-0.amd64"
pkgdesc="Graphical utility for managing ProID Smart Cards"
depends=(libproidplus-gui qt6-base)
@@ -20,6 +21,8 @@
package () {
bsdtar -C "$pkgdir" -xf "$srcdir/data.tar.xz"
- find $pkgdir -type d -exec chmod -c 755 {} +
+ find "$pkgdir" -type d -exec chmod 755 {} +
+ find "$pkgdir" -type f -exec chmod go-w {} +
+ chown -R root:root "$pkgdir"
}

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Medium 2
2026-09-16 00:03:17 Medium 2
2026-09-15 17:20:16 Medium 2
2026-09-15 00:25:31 Medium 2
2026-09-14 00:27:57 Medium 2
2026-09-13 00:19:54 Medium 2
2026-09-12 00:25:17 Medium 2
2026-09-11 00:19:22 Medium 2
2026-09-10 00:22:44 Medium 2
2026-09-09 00:04:09 Medium 2
2026-09-08 00:18:08 Medium 2
2026-09-07 00:30:15 Medium 2
2026-09-06 00:17:06 Medium 2
2026-09-05 00:16:27 Medium 2
2026-09-04 00:03:13 Medium 2
2026-09-03 00:15:47 Medium 2
2026-09-02 00:02:31 Medium 2
2026-09-01 00:11:19 Medium 2
2026-08-31 00:19:57 Medium 2
2026-08-30 00:04:14 Medium 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion