phoenix-x-server-git

maintainer dbermond · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package builds from source hosted on the project's own domain and downloads a prebuilt Zig compiler matching the upstream version requirement; the non-whitelisted host is plausibly project-owned, and the Zig binary is used for building, not executed as a payload.

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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package builds from source hosted on the project's own domain and downloads a prebuilt Zig compiler matching the upstream version requirement; the non-whitelisted host is plausibly project-owned, and the Zig binary is used for building, not executed as a payload.

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:21 source=('phoenix-x-server'::'git+https://repo.dec05eba.com/phoenix'
  • PKGBUILD:22 "https://ziglang.org/download/${_zigver}/zig-${CARCH}-linux-${_zigver}.tar.xz"

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: Daniel Bermond <dbermond@archlinux.org>
2
3pkgname=phoenix-x-server-git
4pkgver=r311.c8dd856
5pkgrel=1
6_zigver=0.15.2
7pkgdesc='A new X server written from scratch designed to be a modern alternative to the Xorg server (git version)'
8arch=('x86_64')
9url='https://git.dec05eba.com/phoenix/'
10license=('GPL-3.0-only')
11depends=(
12 'glibc'
13 'libdrm'
14 'libgl'
15 'libxcb'
16 'libxkbcommon')
17makedepends=(
18 'git')
19provides=('phoenix-x-server')
20conflicts=('phoenix-x-server')
21source=('phoenix-x-server'::'git+https://repo.dec05eba.com/phoenix'
22 "https://ziglang.org/download/${_zigver}/zig-${CARCH}-linux-${_zigver}.tar.xz"
23 '010-phoenix-add-pie.patch')
24sha256sums=('SKIP'
25 '02aa270f183da276e5b5920b1dac44a63f1a49e55050ebde3aecc9eb82f93239'
26 '860e482dfb485bcbd753d8d8715c980069176e16ccf22045eb7a29aeab6f8e08')
27
28prepare() {
29 patch -d phoenix-x-server -Np1 -i "${srcdir}/010-phoenix-add-pie.patch"
30
31 local _zig_upstream_ver
32 _zig_upstream_ver="$(grep -oE '[Zz]ig[[:space:]][0-9]+\.[0-9]+(|\.[[0-9]+)' phoenix-x-server/README.md | head -n1 | awk '{ print $2 }')"
33
34 if [ "$_zigver" != "$_zig_upstream_ver" ]
35 then
36 printf '%s\n' "error: zig version in PKGBUILD must match the expected upstream version (${_zig_upstream_ver})"
37 exit 1
38 fi
39}
40
41pkgver() {
42 ( set -o pipefail
43 git -C phoenix-x-server describe --long --abbrev='7' 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//' ||
44 printf 'r%s.%s' "$(git -C phoenix-x-server rev-list --count HEAD)" "$(git -C phoenix-x-server rev-parse --short='7' HEAD)"
45 )
46}
47
48build() {
49 cd phoenix-x-server
50 export PATH="${srcdir}/zig-${CARCH}-linux-${_zigver}${PATH:+":${PATH}"}"
51 zig build -Doptimize='ReleaseSafe' --verbose
52}
53
54package() {
55 cd phoenix-x-server
56 export PATH="${srcdir}/zig-${CARCH}-linux-${_zigver}${PATH:+":${PATH}"}"
57 zig build install -p "${pkgdir}/usr" -Doptimize='ReleaseSafe'
58}
59

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion