ccgraphitep11
This PKGBUILD downloads a prebuilt binary shared library (libCCGraphiteP11.so) from download.cryptotech.com.pl with sha256sums_x86_64='SKIP', meaning no integrity verification is performed on the executed binary. The library is a PKCS#11 module that will be loaded into security-sensitive processes (e.g., browsers, SSH agents, smart card middleware). Additionally, the DLAGENTS override uses --insecure to disable TLS certificate verification, removing the only remaining transport-layer protection. While cryptotech.com.pl appears to be the legitimate vendor's own download server (matching the package URL), the combination of: (1) a prebuilt binary installed as a system library, (2) no checksum verification, and (3) TLS verification explicitly disabled constitutes a genuine supply-chain risk. If the download server is compromised or the DNS is hijacked, an arbitrary .so would be installed with no integrity check. This is a real medium-severity concern, not a false positive.
Triggered rules
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:30
"${_Name}-${CARCH}.tar.gz::https://download.cryptotech.com.pl/?key=graphitep11x64linux&mode=2"
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 82%): This PKGBUILD downloads a prebuilt binary shared library (libCCGraphiteP11.so) from download.cryptotech.com.pl with sha256sums_x86_64='SKIP', meaning no integrity verification is performed on the executed binary. The library is a PKCS#11 module that will be loaded into security-sensitive processes (e.g., browsers, SSH agents, smart card middleware). Additionally, the DLAGENTS override uses --insecure to disable TLS certificate verification, removing the only remaining transport-layer protection. While cryptotech.com.pl appears to be the legitimate vendor's own download server (matching the package URL), the combination of: (1) a prebuilt binary installed as a system library, (2) no checksum verification, and (3) TLS verification explicitly disabled constitutes a genuine supply-chain risk. If the download server is compromised or the DNS is hijacked, an arbitrary .so would be installed with no integrity check. This is a real medium-severity concern, not a false positive.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Vitalii Kuzhdin <vitaliikuzhdin@gmail.com>
_Name="CCGraphiteP11"
pkgname="${_Name,,}"
pkgver=2.0.5.6
pkgrel=1
pkgdesc="PKCS#11 CryptoCard Graphite library"
arch=(
'x86_64'
)
url="https://www.cryptotech.com.pl/en/technical-support/smart-card-software/"
license=(
'LicenseRef-CryptoTech'
)
depends=(
'glibc'
'libgcc'
'pcsclite'
)
makedepends=(
'curl'
)
provides=(
"lib${_Name}.so"
)
source=(
"${_Name}.module"
)
source_x86_64=(
"${_Name}-${CARCH}.tar.gz::https://download.cryptotech.com.pl/?key=graphitep11x64linux&mode=2"
)
noextract=(
"${_Name}-${CARCH}.tar.gz"
)
sha256sums=('5fbe54e8f660906803ef89052ec3e438cb00f495d8219a422e51a9da496a3e47')
sha256sums_x86_64=('SKIP')
DLAGENTS=(
'https::/usr/bin/curl -qgb "" -fLC - --retry 3 --retry-delay 3 --insecure -o %o %u'
)
prepare() {
cd "${srcdir}"
rm -rf "${_Name}-${CARCH}"
mkdir -p "${_Name}-${CARCH}"
bsdtar -xvzf "${_Name}-${CARCH}.tar.gz" -C "${_Name}-${CARCH}"
}
pkgver() {
cd "${srcdir}/${_Name}-${CARCH}"
find . -type f -name 'libCCGraphiteP11.so.*' \
| sort \
| head -n1 \
| sed 's#.*/libCCGraphiteP11\.so\.##'
}
package() {
cd "${srcdir}"
install -vd "${pkgdir}/usr/lib"
cp -vaT --no-preserve=ownership "${_Name}-${CARCH}" "${pkgdir}/usr/lib"
install -vDm644 "${_Name}.module" "${pkgdir}/usr/share/p11-kit/modules/${_Name}.module"
install -vd "${pkgdir}/usr/lib/pkcs11"
ln -vsf "/usr/lib/lib${_Name}.so" "${pkgdir}/usr/lib/pkcs11/lib${_Name}.so"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Medium | 2 |
| 2026-09-16 00:03:17 | 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 |
| 2026-08-29 00:29:17 | Medium | 2 |