ntfy-alertmanager

LOW
maintainer xenrox 2 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The source is a versioned tarball from the maintainer's own git server, which hosts the project; building from this source is normal for AUR packages and poses low risk 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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a versioned tarball from the maintainer's own git server, which hosts the project; building from this source is normal for AUR packages and poses low risk 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:17 "https://git.xenrox.net/~xenrox/ntfy-alertmanager/refs/download/v$pkgver/$pkgname-$pkgver.tar.gz"{,.sig}

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Thorben Günther <admin@xenrox.net>
2
3pkgname=ntfy-alertmanager
4pkgver=1.0.1
5pkgrel=1
6pkgdesc='A bridge between ntfy and Alertmanager'
7arch=('x86_64')
8url='https://hub.xenrox.net/~xenrox/ntfy-alertmanager'
9license=('AGPL3')
10makedepends=('go')
11optdepends=(
12 'redis: Persistent cache with Redis'
13)
14options=('!lto')
15backup=('etc/ntfy-alertmanager/config')
16source=(
17 "https://git.xenrox.net/~xenrox/ntfy-alertmanager/refs/download/v$pkgver/$pkgname-$pkgver.tar.gz"{,.sig}
18 "ntfy-alertmanager.service"
19 "sysusers.conf"
20)
21sha256sums=('2f95b227e3b8e4e280c1d84c19bfa3fd4412cf5f67c1d531edb133c91b0df23d'
22 'SKIP'
23 '3c87f8d84854f04d362892b2a74660d0d48ca65030c0ab659827e9b32e532172'
24 '7d9183eac94bedc9c82b4abcb6b50b262599f079d2d078cdafe5bb6019464da4')
25validpgpkeys=('BBC78A8FF5467A292893AE702698363BB3DBBAEE')
26
27prepare() {
28 cd "$pkgname-$pkgver"
29 export GOPATH="${srcdir}"
30 go mod download
31}
32
33build() {
34 cd "$pkgname-$pkgver"
35 export CGO_CPPFLAGS="${CPPFLAGS}"
36 export CGO_CFLAGS="${CFLAGS}"
37 export CGO_CXXFLAGS="${CXXFLAGS}"
38 export CGO_LDFLAGS="${LDFLAGS}"
39 export GOPATH="${srcdir}"
40
41 go build \
42 -buildmode=pie \
43 -trimpath \
44 -mod=readonly \
45 -modcacherw \
46 -ldflags "-linkmode external -X main.version=v${pkgver} -extldflags \"${LDFLAGS}\"" \
47 -o ntfy-alertmanager
48}
49
50check() {
51 cd "$pkgname-$pkgver"
52 go test ./...
53}
54
55package() {
56 cd "$pkgname-$pkgver"
57 install -Dm755 ntfy-alertmanager "$pkgdir"/usr/bin/ntfy-alertmanager
58 install -Dm644 ../ntfy-alertmanager.service -t "$pkgdir"/usr/lib/systemd/system/
59 install -Dm644 ../sysusers.conf "$pkgdir"/usr/lib/sysusers.d/ntfy-alertmanager.conf
60}
61

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 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