qcc
maintainer iyanmv
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a project-specific tarball from the official vendor's support site (cryptalabs.com), used to build the library and tools;虽 host not whitelisted, it is plausibly official, and the build is standard with no remote code execution or unverifiable binaries.
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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a project-specific tarball from the official vendor's support site (cryptalabs.com), used to build the library and tools;虽 host not whitelisted, it is plausibly official, and the build is standard with no remote code execution or unverifiable binaries.
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:13
$pkgname-$pkgver.tar.gz::https://cryptalabs.com/support/releases/Drivers/Cicada%20and%20Firefly/source/qcc-source.zip
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Iyán Méndez Veiga <me (at) iyanmv (dot) com>
2
pkgname=qcc
3
pkgver=0.7
4
pkgrel=1
5
epoch=1
6
pkgdesc="C Library and tools used to communicate with Crypta Labs QRNG devices."
7
arch=(x86_64)
8
url="https://cryptalabs.com/qrng-driver-downloads/"
9
license=(LicenseRef-unknown)
10
depends=(glibc)
11
makedepends=(cmake)
12
source=(
13
$pkgname-$pkgver.tar.gz::https://cryptalabs.com/support/releases/Drivers/Cicada%20and%20Firefly/source/qcc-source.zip
14
license-unknown.txt
15
)
16
b2sums=('8aae2a1827eeac05e5337a6035e06a595c49003ab85c433af3700045efc54010e0ebed99d467378f105a19b0342b5fca0bb3787c623b832a9b78ebf1c3ea5539'
17
'900dfce730c0f29b0cd5fafdf5ed6bc08a3ca245c3bbee12878c7e183951e0a55e33205da747d1666baded6133473fa8506dea252a2bc23f6f7555ebfa500d54')
18
19
pkgver() {
20
version=$(grep QCC_VERSION $pkgname/qcc.h | cut -d " " -f 3)
21
major=$((16#${version:2:5}))
22
minor=$((16#${version:5}))
23
echo $major.$minor
24
}
25
26
prepare() {
27
# Remove insecure RUNPATH
28
sed -i '3 a set(CMAKE_SKIP_RPATH TRUE)' $pkgname/CMakeLists.txt
29
}
30
31
build() {
32
cmake -B build -S $pkgname \
33
-DCMAKE_BUILD_TYPE='None' \
34
-DCMAKE_INSTALL_PREFIX='/usr' \
35
-Wno-dev
36
cmake --build build
37
}
38
39
package() {
40
install -D -m0755 build/qcc-cli "$pkgdir"/usr/bin/qcc-cli
41
install -D -m0755 build/libqcc.so "$pkgdir"/usr/lib/libqcc.so
42
install -D -m0644 $pkgname/qcc.h "$pkgdir"/usr/include/qcc/qcc.h
43
install -D -m0644 $pkgname/qcc_errno.h "$pkgdir"/usr/include/qcc/qcc_errno.h
44
install -D -m0644 $pkgname/QCC.md "$pkgdir"/usr/share/doc/qcc/README.md
45
install -D -m0644 license-unknown.txt "$pkgdir"/usr/share/licenses/$pkgname/license-unknown.txt
46
}
47
Changes since previous scan
--- PKGBUILD @ 2026-07-31 00:14+++ PKGBUILD @ 2026-08-03 00:08@@ -10,7 +10,7 @@ depends=(glibc) makedepends=(cmake) source=(- $pkgname-$pkgver.tar.gz::https://cryptalabs.com/support/releases/qcc/source/qcc-source.zip+ $pkgname-$pkgver.tar.gz::https://cryptalabs.com/support/releases/Drivers/Cicada%20and%20Firefly/source/qcc-source.zip license-unknown.txt ) b2sums=('8aae2a1827eeac05e5337a6035e06a595c49003ab85c433af3700045efc54010e0ebed99d467378f105a19b0342b5fca0bb3787c623b832a9b78ebf1c3ea5539'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 21:18:45 | MEDIUM | 1 |
| 2026-07-31 19:18:43 | MEDIUM | 1 |
| 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 |