jetty
The source is a legitimate Jetty release from Maven Central, a trusted repository; the 'privileged install' refers to standard systemd/sysusers setup, not malicious self-update or setuid abuse.
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 source is a legitimate Jetty release from Maven Central, a trusted repository; the 'privileged install' refers to standard systemd/sysusers setup, not malicious self-update or setuid abuse.
2 higher static findings 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:18
source=(https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-home/$pkgver/$_distname.tar.gz
privileged_install
The package grants elevated privileges or installs an update path outside pacman: a /etc/sudoers.d rule (often passwordless), a setuid/setgid binary, or a self-update script/service that can fetch and run future code with no checksum verification. The initial install may be verified, but the ongoing privilege + update surface is a real supply-chain / privilege-escalation risk.
-
PKGBUILD:43
find "$pkgdir/etc/$pkgname" -type f -exec chmod 640 {} + -o -type d -exec chmod 2755 {} +
PKGBUILD
2 offending line(s) highlighted# Maintainer: Rafael Dominiquini <rafaeldominiquini at gmail dor com>
# Contributor: Holger Schramm <dev@strace.it>
# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
# Contributor: Yegorius <yegorius@domic.us>
# Contributor: Sergey Shatunov <me@prok.pw>
pkgname=jetty
pkgver=12.1.12
pkgrel=1
pkgdesc="A pure Java-based HTTP server and Java Servlet container"
arch=('any')
url="http://www.eclipse.org/jetty/"
license=('Apache-2.0' 'EPL-2.0')
depends=('java-environment')
options=('!strip')
_distname="$pkgname-home-$pkgver"
source=(https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-home/$pkgver/$_distname.tar.gz
jetty.default
jetty.logrotate
jetty.service
jetty.sysusers
jetty.tmpfiles)
sha256sums=('eec07131a682bcbfbb0411232932a72196b58f187412862962af07adebb777bc'
'd3190c73096fdb9f3c2aeef00b568c75431b0fbc0c322a2b21b06e829ce1852f'
'da0402440e0a3b66e55387700b2c178c294dc65cc4a7bd079c622343845adecb'
'b27ef0342c3b22fbf1e3e7d104e23670b53eab9b648c1882cf295bd82ccadc66'
'5664891275f3e489f85efd85b9740e36265f5ed3cf9512d245c500bdc31b568a'
'a69fa966c33343cb42394d80796ebfb29f5325c7610d8214657cdd17c58cc8d3')
package() {
cd "$srcdir/$_distname"
install -dm2755 "$pkgdir/etc/$pkgname"
install -dm755 "$pkgdir/usr/bin"
install -dm2755 "$pkgdir/var/log/$pkgname"
install -dm2755 "$pkgdir/var/lib/$pkgname/webapps"
install -Dm755 bin/jetty.sh "$pkgdir/usr/share/$pkgname/bin/jetty.sh"
cp -r etc/* "$pkgdir/etc/$pkgname"
find "$pkgdir/etc/$pkgname" -type f -exec chmod 640 {} + -o -type d -exec chmod 2755 {} +
cp -r {lib,modules,start.jar,README.adoc} "$pkgdir/usr/share/$pkgname/"
install -dm2755 "$pkgdir/etc/$pkgname/start.d"
install -dm2755 "$pkgdir/etc/$pkgname/resources"
install -dm2755 "$pkgdir/var/lib/$pkgname/webapps"
ln -s /etc/$pkgname "$pkgdir/usr/share/$pkgname/etc"
ln -s etc/start.d "$pkgdir/usr/share/$pkgname/start.d"
ln -s etc/resources "$pkgdir/usr/share/$pkgname/resources"
ln -s /usr/share/$pkgname/bin/jetty.sh "$pkgdir/usr/bin/$pkgname"
ln -s /var/lib/$pkgname/webapps "$pkgdir/usr/share/$pkgname/webapps"
ln -s /var/log/$pkgname "$pkgdir/usr/share/$pkgname/logs"
install -Dm644 "$srcdir/jetty.default" "$pkgdir/etc/default/$pkgname"
install -Dm644 "$srcdir/jetty.logrotate" "$pkgdir/etc/logrotate.d/$pkgname"
install -Dm644 "$srcdir/jetty.service" "$pkgdir/usr/lib/systemd/system/$pkgname.service"
install -Dm644 "$srcdir/jetty.sysusers" "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
install -Dm644 "$srcdir/jetty.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
sed -i 's|su - |su -s /bin/sh - |' "$pkgdir/usr/share/$pkgname/bin/jetty.sh"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 3 |
| 2026-09-16 00:03:17 | Low | 3 |
| 2026-09-15 00:25:31 | Low | 3 |
| 2026-09-14 00:27:57 | Low | 3 |
| 2026-09-13 00:19:54 | Low | 3 |
| 2026-09-12 00:25:17 | Low | 3 |
| 2026-09-11 00:19:22 | Low | 3 |
| 2026-09-10 00:22:44 | Low | 3 |
| 2026-09-09 00:04:09 | Low | 3 |
| 2026-09-08 00:18:08 | Low | 3 |
| 2026-09-07 05:13:32 | Medium | 2 |
| 2026-09-07 00:30:15 | Low | 3 |
| 2026-09-06 00:17:06 | Low | 3 |
| 2026-09-05 00:16:27 | Low | 3 |
| 2026-09-04 00:03:13 | Low | 3 |
| 2026-09-03 00:15:47 | Low | 3 |
| 2026-09-02 00:02:31 | Low | 3 |
| 2026-09-01 00:11:19 | Low | 3 |
| 2026-08-31 00:19:57 | Low | 3 |
| 2026-08-30 00:04:14 | Low | 3 |