ntfy-alertmanager

maintainer xenrox · 2 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is a tarball from the maintainer's own git host, which is not on a standard whitelist but hosts the project's own release; building from source is normal for AUR, and no malicious behavior is evident.

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 the maintainer's own git host, which is not on a standard whitelist but hosts the project's own release; building from source is normal for AUR, and no malicious behavior is evident.

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.0
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=('4980f1c27488527d0655721c0fa9ed7f697516569ae1e6de4c37655e534febf3'
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-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