jetty
The source is a legitimate Jetty release from Maven Central, a trusted repository; the privileged installs are standard systemd/sysusers/tmpfiles configurations for proper service operation, not malicious activity.
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 installs are standard systemd/sysusers/tmpfiles configurations for proper service operation, not malicious activity.
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.14
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=('f269b7b98691a48647e54ca5bce9d1042c0eb5f12a0887879974f418f70baa23'
'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-11-01 00:21:48 | Low | 3 |
| 2026-10-31 00:07:41 | Low | 3 |
| 2026-10-30 00:29:30 | Low | 3 |
| 2026-10-29 00:13:55 | Low | 3 |
| 2026-10-28 00:06:54 | Low | 3 |
| 2026-10-27 00:23:28 | Low | 3 |
| 2026-10-26 00:12:40 | Low | 3 |
| 2026-10-25 00:20:48 | Low | 3 |
| 2026-10-24 00:14:55 | Low | 3 |
| 2026-10-23 00:02:19 | Low | 3 |
| 2026-10-22 00:13:10 | Low | 3 |
| 2026-10-21 00:12:50 | Low | 3 |
| 2026-10-20 00:10:31 | Low | 3 |
| 2026-10-19 00:03:55 | Low | 3 |
| 2026-10-18 00:06:55 | Low | 3 |
| 2026-10-17 00:21:55 | Low | 3 |
| 2026-10-16 00:12:47 | Low | 3 |
| 2026-10-15 00:28:05 | Low | 3 |
| 2026-10-14 00:06:47 | Low | 3 |
| 2026-10-13 00:23:45 | Low | 3 |