gerrit
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
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)
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.2
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=('3ae33de96f7efb640a0f63b62309330e3981682f448ffe9178763f470ba3ba7a'
'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:
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 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 |