gerrit

LOW
maintainer tarball 17 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package downloads a prebuilt .war file from a Google Cloud Storage bucket used by the official Gerrit project; while the host is non-standard, it is plausibly official and the file is not executed directly in the PKGBUILD, with worst-case impact limited to supply-chain risk on an already-trusted project artifact.

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 package downloads a prebuilt .war file from a Google Cloud Storage bucket used by the official Gerrit project; while the host is non-standard, it is plausibly official and the file is not executed directly in the PKGBUILD, with worst-case impact limited to supply-chain risk on an already-trusted project artifact.

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:20 "https://gerrit-releases.storage.googleapis.com/gerrit-$pkgver.war"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: tarball <bootctl@gmail.com>
2# Contributor: Luis Martinez <luis dot martinez at disroot dot org>
3# Contributor: Tyler Veness <calcmogul at gmail dot com>
4# Contributor: Daniel Nagy <danielnagy at gmx de>
5# Contributor: Thanh Ha <thanh.ha at alumni.carleton dot ca>
6# Contributor: Marcel Huber <marcelhuberfoo at gmail dot com>
7
8pkgname=gerrit
9pkgver=3.14.2
10pkgrel=1
11pkgdesc='Web-based code review tool built on top of Git'
12arch=('any')
13url="https://gerritcodereview.com/"
14license=('Apache-2.0')
15depends=('java-runtime-headless>=21' 'libcups')
16optdepends=('bcprov: Java cryptography APIs (Bouncy Castle)')
17backup=('etc/default/gerritcodereview')
18install=gerrit.install
19source=(
20 "https://gerrit-releases.storage.googleapis.com/gerrit-$pkgver.war"
21 'gerrit.conf'
22 'gerrit.sh'
23 'gerrit.service'
24 'gerrit.sysusers'
25)
26sha256sums=('3ae33de96f7efb640a0f63b62309330e3981682f448ffe9178763f470ba3ba7a'
27 '35becf2754e3779c750b2889909349160c2b0584ec201f6cfb5cf2c42e6fc598'
28 '21a61acae9f30c6918754f5e81b95b19e3d27c15a3f5f194bf9f468f08726ff8'
29 'f69605bc325622bfc3e6e97ab076c253b7c3a3c415ffb4ac52b973041bf5b094'
30 '9f1dcfa057da72a8b4928f274920baedb2e9c4d1b3c08270720646e46a1799c6')
31
32package() {
33 install -Dvm644 "$pkgname-$pkgver.war" "$pkgdir/usr/share/java/$pkgname/$pkgname.war"
34 install -Dvm644 "$pkgname.service" -t "$pkgdir/usr/lib/systemd/system/"
35 install -Dvm644 "$pkgname.conf" "$pkgdir/etc/default/gerritcodereview"
36 install -Dvm644 "$pkgname.sysusers" "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
37 install -Dvm755 "$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
38}
39
40# vim:set ts=2 sw=2 et:
41

Scan history

Scanned at (UTC)SeverityRules
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 11:14:32 Medium 1
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

Report a package

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

0 / 4000
Your suggestion