ccgraphitep11
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-08-03 00:08:14 | MEDIUM | 2 |
| 2026-08-02 00:16:08 | MEDIUM | 2 |
| 2026-08-01 00:11:18 | MEDIUM | 2 |
| 2026-07-31 00:14:10 | MEDIUM | 2 |
| 2026-07-30 00:17:23 | MEDIUM | 2 |
| 2026-07-29 00:25:53 | MEDIUM | 2 |
| 2026-07-28 00:07:28 | MEDIUM | 2 |
| 2026-07-27 00:24:32 | MEDIUM | 2 |
| 2026-07-26 00:07:32 | MEDIUM | 2 |
| 2026-07-25 00:13:44 | MEDIUM | 2 |
| 2026-07-24 00:02:28 | MEDIUM | 2 |
| 2026-07-23 00:14:47 | MEDIUM | 2 |
| 2026-07-22 00:29:32 | MEDIUM | 2 |
| 2026-07-21 00:24:15 | MEDIUM | 2 |
| 2026-07-20 00:19:49 | MEDIUM | 2 |
| 2026-07-19 00:17:08 | MEDIUM | 2 |
| 2026-07-18 00:14:48 | MEDIUM | 2 |
| 2026-07-17 00:06:16 | MEDIUM | 2 |
| 2026-07-16 00:05:41 | MEDIUM | 2 |
| 2026-07-15 00:09:25 | MEDIUM | 2 |