gerrit
maintainer tarball
· 17 votes
· scanned 2026-08-03 00:08:14.047287
LOW
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
8
pkgname=gerrit
9
pkgver=3.14.2
10
pkgrel=1
11
pkgdesc='Web-based code review tool built on top of Git'
12
arch=('any')
13
url="https://gerritcodereview.com/"
14
license=('Apache-2.0')
15
depends=('java-runtime-headless>=21' 'libcups')
16
optdepends=('bcprov: Java cryptography APIs (Bouncy Castle)')
17
backup=('etc/default/gerritcodereview')
18
install=gerrit.install
19
source=(
20
"https://gerrit-releases.storage.googleapis.com/gerrit-$pkgver.war"
21
'gerrit.conf'
22
'gerrit.sh'
23
'gerrit.service'
24
'gerrit.sysusers'
25
)
26
sha256sums=('3ae33de96f7efb640a0f63b62309330e3981682f448ffe9178763f470ba3ba7a'
27
'35becf2754e3779c750b2889909349160c2b0584ec201f6cfb5cf2c42e6fc598'
28
'21a61acae9f30c6918754f5e81b95b19e3d27c15a3f5f194bf9f468f08726ff8'
29
'f69605bc325622bfc3e6e97ab076c253b7c3a3c415ffb4ac52b973041bf5b094'
30
'9f1dcfa057da72a8b4928f274920baedb2e9c4d1b3c08270720646e46a1799c6')
31
32
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |