jetty
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a legitimate Maven repository (trusted for Java projects), and the privileged install refers to standard systemd/sysusers setup, not malicious self-updates 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.11
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=('7e45cf8f23bac4567faf94624b3ac43e0aeb4925cb925409e76040990a1cbe9c'
'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-08-03 00:08:14 | LOW | 3 |
| 2026-08-02 00:16:08 | LOW | 3 |
| 2026-08-01 00:11:18 | LOW | 3 |
| 2026-07-31 00:14:10 | LOW | 3 |
| 2026-07-30 00:17:23 | LOW | 3 |
| 2026-07-29 00:25:53 | LOW | 3 |
| 2026-07-28 00:07:28 | LOW | 3 |
| 2026-07-27 00:24:32 | LOW | 3 |
| 2026-07-26 00:07:32 | LOW | 3 |
| 2026-07-25 00:13:44 | LOW | 3 |
| 2026-07-24 00:02:28 | LOW | 3 |
| 2026-07-23 00:14:47 | LOW | 3 |
| 2026-07-22 00:29:32 | LOW | 3 |
| 2026-07-21 00:24:15 | LOW | 3 |
| 2026-07-20 00:19:49 | LOW | 3 |
| 2026-07-19 00:17:08 | LOW | 3 |
| 2026-07-18 00:14:48 | LOW | 3 |
| 2026-07-17 00:06:16 | LOW | 3 |
| 2026-07-16 00:05:41 | LOW | 3 |
| 2026-07-15 00:09:25 | LOW | 3 |