zcash

LOW
maintainer orphaned 0 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

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

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 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)
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:17 "https://download.oracle.com/berkeley-db/db-${_db_version}.tar.gz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Nicola Squartini <tensor5@gmail.com>
2# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
3
4pkgname=zcash
5pkgver=5.3.0
6_commit=35186b00928f3ba994f0e66bb234c412cbffc7b6
7_db_version=6.2.23
8pkgrel=4
9pkgdesc='Permissionless financial system employing zero-knowledge security'
10arch=('x86_64')
11url='https://z.cash/'
12license=('MIT')
13depends=('boost-libs' 'libevent' 'libsodium' 'zeromq')
14makedepends=('boost' 'clang' 'cmake' 'cxxbridge' 'git' 'gmock' 'python' 'rust' 'utf8cpp' 'wget')
15options=(!lto)
16source=("git+https://github.com/zcash/zcash.git#commit=${_commit}"
17 "https://download.oracle.com/berkeley-db/db-${_db_version}.tar.gz"
18 'zcashd.service')
19sha256sums=('SKIP'
20 '47612c8991aa9ac2f6be721267c8d3cdccf5ac83105df8e50809daea24e95dc7'
21 '7b0919ac447824199aff8c17b5a5799b46414818c6aed314506c5295d0ce9ccd')
22
23get_rust_target() {
24 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"])'
25}
26
27build() {
28 cd "db-${_db_version}/build_unix"
29
30 ../dist/configure \
31 --prefix=/ \
32 --disable-shared \
33 --enable-cxx \
34 --disable-replication \
35 --enable-option-checking \
36 --with-pic
37 make libdb_cxx-6.2.a libdb-6.2.a
38 make DESTDIR="${srcdir}/db-root" install
39
40 cd "${srcdir}/${pkgname}"
41
42 CPPFLAGS="${CPPFLAGS} -I${srcdir}/db-root/include -I/usr/include/utf8cpp"
43 LDFLAGS="${LDFLAGS} -L${srcdir}/db-root/lib"
44
45 export CC=/usr/bin/clang
46 export CXX=/usr/bin/clang++
47
48 ./autogen.sh
49 ./configure --prefix=/usr \
50 --enable-online-rust
51 cp /usr/share/cxxbridge/cxx.h src/rust/include/rust/
52 make RUST_TARGET="$(get_rust_target)"
53}
54
55package() {
56 cd ${pkgname}
57
58 make DESTDIR="${pkgdir}" RUST_TARGET="$(get_rust_target)" install
59
60 for ext in '-cli' '-tx' 'd'; do
61 install -Dm644 contrib/zcash${ext}.bash-completion \
62 "${pkgdir}"/usr/share/bash-completion/completions/zcash${ext}
63 done
64
65 install -Dm644 ../zcashd.service -t "${pkgdir}"/usr/lib/systemd/user
66 install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING
67}
68

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 Low 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion