gerrit
The package downloads a prebuilt .war file from Google Cloud Storage, a plausible official release host for the project, and installs it as-is; the worst case of a swapped source is remote code execution within the app, but this is a standard distribution method for Java applications and the checksum is verified.
Triggered rules
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 Google Cloud Storage, a plausible official release host for the project, and installs it as-is; the worst case of a swapped source is remote code execution within the app, but this is a standard distribution method for Java applications and the checksum is verified.
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:20
"https://gerrit-releases.storage.googleapis.com/gerrit-$pkgver.war"
PKGBUILD
1 offending line(s) highlighted# Maintainer: tarball <bootctl@gmail.com>
# Contributor: Luis Martinez <luis dot martinez at disroot dot org>
# Contributor: Tyler Veness <calcmogul at gmail dot com>
# Contributor: Daniel Nagy <danielnagy at gmx de>
# Contributor: Thanh Ha <thanh.ha at alumni.carleton dot ca>
# Contributor: Marcel Huber <marcelhuberfoo at gmail dot com>
pkgname=gerrit
pkgver=3.14.5
pkgrel=1
pkgdesc='Web-based code review tool built on top of Git'
arch=('any')
url="https://gerritcodereview.com/"
license=('Apache-2.0')
depends=('java-runtime-headless>=21' 'libcups')
optdepends=('bcprov: Java cryptography APIs (Bouncy Castle)')
backup=('etc/default/gerritcodereview')
install=gerrit.install
source=(
"https://gerrit-releases.storage.googleapis.com/gerrit-$pkgver.war"
'gerrit.conf'
'gerrit.sh'
'gerrit.service'
'gerrit.sysusers'
)
sha256sums=('311fa24b2126a6c3ef0df6669cacba9e23b15b883468eac242e8972d23ee8316'
'35becf2754e3779c750b2889909349160c2b0584ec201f6cfb5cf2c42e6fc598'
'21a61acae9f30c6918754f5e81b95b19e3d27c15a3f5f194bf9f468f08726ff8'
'f69605bc325622bfc3e6e97ab076c253b7c3a3c415ffb4ac52b973041bf5b094'
'9f1dcfa057da72a8b4928f274920baedb2e9c4d1b3c08270720646e46a1799c6')
package() {
install -Dvm644 "$pkgname-$pkgver.war" "$pkgdir/usr/share/java/$pkgname/$pkgname.war"
install -Dvm644 "$pkgname.service" -t "$pkgdir/usr/lib/systemd/system/"
install -Dvm644 "$pkgname.conf" "$pkgdir/etc/default/gerritcodereview"
install -Dvm644 "$pkgname.sysusers" "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
install -Dvm755 "$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
}
# vim:set ts=2 sw=2 et:
Changes since previous scan
--- PKGBUILD @ 2026-10-23 00:02+++ PKGBUILD @ 2026-11-01 00:21@@ -6,7 +6,7 @@ # Contributor: Marcel Huber <marcelhuberfoo at gmail dot com> pkgname=gerrit-pkgver=3.14.4+pkgver=3.14.5 pkgrel=1 pkgdesc='Web-based code review tool built on top of Git' arch=('any')@@ -23,7 +23,7 @@ 'gerrit.service' 'gerrit.sysusers' )-sha256sums=('fac0065c142590414a31ee137f4c9f668e52766d4c114c4eb57037adf48d46a7'+sha256sums=('311fa24b2126a6c3ef0df6669cacba9e23b15b883468eac242e8972d23ee8316' '35becf2754e3779c750b2889909349160c2b0584ec201f6cfb5cf2c42e6fc598' '21a61acae9f30c6918754f5e81b95b19e3d27c15a3f5f194bf9f468f08726ff8' 'f69605bc325622bfc3e6e97ab076c253b7c3a3c415ffb4ac52b973041bf5b094'Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 15:37:50 | Medium | 1 |
| 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 |