ccpkip11
maintainer DodoGTA
· 2 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a source archive from a non-whitelisted but plausibly official vendor domain (cryptotech.com.pl) for building a PKCS#11 driver; the downloaded content is a versioned tarball used to install a single shared library, and the checksums are provided and verifiable, making this a standard build from official vendor sources despite the non-standard download URL.
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 package downloads a source archive from a non-whitelisted but plausibly official vendor domain (cryptotech.com.pl) for building a PKCS#11 driver; the downloaded content is a versioned tarball used to install a single shared library, and the checksums are provided and verifiable, making this a standard build from official vendor sources despite the non-standard download URL.
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:19
source=("ccs_$_version-$_build.amd64.zip::https://download.cryptotech.com.pl/?key=standardlinuxccs64&mode=2"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Echo J. <aidas957 at gmail dot com>
2
# Contributor: Martynas Mickevičius <mmartynas at gmail dot com>
3
4
# shellcheck shell=bash disable=SC2034,SC2164
5
6
_version=2.00
7
_build=00261
8
9
pkgname=ccpkip11
10
pkgver="$_version.$_build"
11
pkgrel=2
12
epoch=1
13
pkgdesc="PKCS #11 driver for CryptoTech smart cards"
14
arch=('x86_64')
15
url="https://www.cryptotech.com.pl/en/technical-support/smart-card-software"
16
license=('LicenseRef-CryptoTech')
17
depends=('gcc-libs' 'glibc' 'pcsclite')
18
makedepends=('patchelf')
19
source=("ccs_$_version-$_build.amd64.zip::https://download.cryptotech.com.pl/?key=standardlinuxccs64&mode=2"
20
'LICENSE.html' # https://www.cryptotech.com.pl/?__wpdmlo=9803
21
'ccpkip11.module')
22
sha256sums=('97c8efb035d3214e3951157213a9ee6007c747ebc57c1fb00f52bff58f5eef77'
23
'361a2c17332988b84272676815bc711f26f1a4e460aa68b02009a7b2c8b0b538'
24
'40d59f898853a0389b75f22701278d39e116acb8ee0d7d95380cec201640b268')
25
26
# Hack for the broken download server
27
DLAGENTS=('https::/usr/bin/curl -qgb "" -fLC - --retry 3 --retry-delay 3 -k --pinnedpubkey 'sha256//GFKF9BImq3QA0PZR+FzLlZ7ghSfkRXx4S/xwuloH4yQ=' -o %o %u')
28
29
prepare() {
30
cd Linuxx64
31
32
bsdtar -xf ccs_$_version-$_build.amd64.tar.gz
33
}
34
35
package() {
36
install -D -m644 LICENSE.html "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.html"
37
install -D -m755 "Linuxx64/ccs_$_version-$_build.amd64/lib/ccs/libccpkip11.so.$pkgver" "${pkgdir}/usr/lib/libccpkip11.so"
38
39
# Remove insecure RPATH from library
40
patchelf --remove-rpath "${pkgdir}/usr/lib/libccpkip11.so"
41
42
# Add to default module search path for various programs
43
install -d "${pkgdir}/usr/lib/pkcs11"
44
ln -s ../libccpkip11.so "${pkgdir}/usr/lib/pkcs11/libccpkip11.so"
45
46
# Support automatic loading in p11-kit (pkcs11.conf(5))
47
install -D -m644 ccpkip11.module "${pkgdir}/usr/share/p11-kit/modules/ccpkip11.module"
48
}
49
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 |