zcash
The package builds from the official GitHub repository and downloads Berkeley DB from Oracle's official domain; the non-whitelisted host is actually a legitimate vendor site, and the source is compiled, not executed as a prebuilt binary.
Triggered rules
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 builds from the official GitHub repository and downloads Berkeley DB from Oracle's official domain; the non-whitelisted host is actually a legitimate vendor site, and the source is compiled, not executed as a prebuilt binary.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:17
"https://download.oracle.com/berkeley-db/db-${_db_version}.tar.gz"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Nicola Squartini <tensor5@gmail.com>
# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
pkgname=zcash
pkgver=5.3.0
_commit=35186b00928f3ba994f0e66bb234c412cbffc7b6
_db_version=6.2.23
pkgrel=4
pkgdesc='Permissionless financial system employing zero-knowledge security'
arch=('x86_64')
url='https://z.cash/'
license=('MIT')
depends=('boost-libs' 'libevent' 'libsodium' 'zeromq')
makedepends=('boost' 'clang' 'cmake' 'cxxbridge' 'git' 'gmock' 'python' 'rust' 'utf8cpp' 'wget')
options=(!lto)
source=("git+https://github.com/zcash/zcash.git#commit=${_commit}"
"https://download.oracle.com/berkeley-db/db-${_db_version}.tar.gz"
'zcashd.service')
sha256sums=('SKIP'
'47612c8991aa9ac2f6be721267c8d3cdccf5ac83105df8e50809daea24e95dc7'
'7b0919ac447824199aff8c17b5a5799b46414818c6aed314506c5295d0ce9ccd')
get_rust_target() {
RUSTC_BOOTSTRAP=1 rustc -Z unstable-options --print target-spec-json | python -c 'import json,sys;obj=json.load(sys.stdin);print(obj["llvm-target"])'
}
build() {
cd "db-${_db_version}/build_unix"
../dist/configure \
--prefix=/ \
--disable-shared \
--enable-cxx \
--disable-replication \
--enable-option-checking \
--with-pic
make libdb_cxx-6.2.a libdb-6.2.a
make DESTDIR="${srcdir}/db-root" install
cd "${srcdir}/${pkgname}"
CPPFLAGS="${CPPFLAGS} -I${srcdir}/db-root/include -I/usr/include/utf8cpp"
LDFLAGS="${LDFLAGS} -L${srcdir}/db-root/lib"
export CC=/usr/bin/clang
export CXX=/usr/bin/clang++
./autogen.sh
./configure --prefix=/usr \
--enable-online-rust
cp /usr/share/cxxbridge/cxx.h src/rust/include/rust/
make RUST_TARGET="$(get_rust_target)"
}
package() {
cd ${pkgname}
make DESTDIR="${pkgdir}" RUST_TARGET="$(get_rust_target)" install
for ext in '-cli' '-tx' 'd'; do
install -Dm644 contrib/zcash${ext}.bash-completion \
"${pkgdir}"/usr/share/bash-completion/completions/zcash${ext}
done
install -Dm644 ../zcashd.service -t "${pkgdir}"/usr/lib/systemd/user
install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |