open-nomad
maintainer pbazaah
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from a personal domain, but it is built from Go source code in a standard way, and the host appears to be a legitimate maintainer-controlled domain; the realistic risk is low despite the non-whitelisted host.
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 source is a tarball from a personal domain, but it is built from Go source code in a standard way, and the host appears to be a legitimate maintainer-controlled domain; the realistic risk is low despite the non-whitelisted host.
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:27
source=("${pkgname}-${pkgver}.tar.gz::https://git.st8l.com/luxolus/${pkgname}/archive/${_commit}.tar.gz"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Paul Stemmet <aur@luxolus.com>
2
# Contributor: George Rawlinson <grawlinson@archlinux.org>
3
# Maintainer: Morten Linderud <foxboron@archlinux.org>
4
# Maintainer: Justin Kromlinger <hashworks@archlinux.org>
5
6
pkgname=open-nomad
7
_commit=6d44ce9f0914871a22403dfe24efaf0ad9148709
8
pkgver=1.6.5
9
pkgrel=1
10
pkgdesc='A simple and flexible workload orchestrator'
11
provides=('nomad')
12
conflicts=('nomad')
13
arch=('x86_64')
14
url='https://developer.hashicorp.com/nomad/docs/v1.6.x'
15
license=('MPL2')
16
depends=('glibc' 'gcc-libs' 'iptables')
17
makedepends=('go')
18
optdepends=('docker: for docker driver'
19
'java-runtime: for java driver'
20
'java-runtime-headless: for java driver - headless'
21
'qemu: for qemu driver'
22
'nomad-driver-nspawn: for systemd-nspawn driver'
23
'nomad-driver-podman: for podman driver'
24
'nomad-driver-lxc: for lxc driver'
25
'nomad-driver-containerd: for containerd driver')
26
options=('!lto')
27
source=("${pkgname}-${pkgver}.tar.gz::https://git.st8l.com/luxolus/${pkgname}/archive/${_commit}.tar.gz"
28
'systemd.service'
29
'tmpfiles.conf'
30
'defaults.hcl')
31
backup=('etc/nomad.d/defaults.hcl')
32
sha512sums=('SKIP'
33
'4fe233272e6872cb9ec0c594944a3c701d93ee59952688a4bc45b126442ecf973d23e50b3c4c9c5c62778d0c555ace2e2781955448239249d39fe21d184c8f1b'
34
'398724820ee6f1ffa7860b8dd0013b671ba97ffb001331a10e7795148e3e6ff711a06f2156187c23b71bfccb13dac70828df5a29d59441706753cc17afd1e3d7'
35
'9bc9dc93b2683c848e94d5d7a59102ceebd6c4b64f14c85591b9502bc44e3c74589425f1f278ef21407d10c4a9a82abd95e2c748d347d76836bdb741bbff7f7c')
36
37
export CGO_LDFLAGS="${LDFLAGS}"
38
export CGO_CFLAGS="${CFLAGS}"
39
export CGO_CPPFLAGS="${CPPFLAGS}"
40
export CGO_CXXFLAGS="${CXXFLAGS}"
41
42
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
43
44
prepare() {
45
cd "${srcdir}/${pkgname}"
46
47
mkdir -p build
48
49
local filename
50
for filename in "${source[@]}"; do
51
if [[ "$filename" =~ \.patch$ ]]; then
52
patch -p1 -N -l -i "$srcdir/${filename##*/}"
53
fi
54
done
55
56
go mod download
57
}
58
59
build() {
60
cd "${srcdir}/${pkgname}"
61
62
local _BUILD_TAGS=('ui' 'release')
63
local _LDFLAGS=(
64
'-linkmode external'
65
'-compressdwarf=false'
66
"-X main.GitCommit=${pkgver}"
67
)
68
69
go build -v \
70
-tags "${_BUILD_TAGS[*]}" \
71
-ldflags "${_LDFLAGS[*]}" \
72
-o build \
73
.
74
}
75
76
package() {
77
cd "${srcdir}/${pkgname}"
78
79
# configuration
80
install -D -m644 -t "${pkgdir}/etc/nomad.d" "${srcdir}/defaults.hcl"
81
install -D -m644 "${srcdir}/systemd.service" "${pkgdir}/usr/lib/systemd/system/nomad.service"
82
install -D -m644 "${srcdir}/tmpfiles.conf" "${pkgdir}/usr/lib/tmpfiles.d/nomad.conf"
83
84
install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
85
86
# binaries
87
install -D -m755 "build/nomad" "${pkgdir}/usr/bin/nomad"
88
}
89
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 |