barnard-git

maintainer stormdragon2976 · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is a git repository from a project-maintainer-owned domain used to build the project's own code, which is a normal AUR practice; the non-whitelisted host is plausibly official, and no untrusted prebuilt binaries are executed.

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 git repository from a project-maintainer-owned domain used to build the project's own code, which is a normal AUR practice; the non-whitelisted host is plausibly official, and no untrusted prebuilt binaries are executed.

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:15 source=("barnard::git+https://git.stormux.org/storm/barnard")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Storm Dragon <storm_dragon@stormux.org>
2# Maintainer: Michael Taboada <michael@2mb.solutions>
3
4pkgname="barnard-git"
5pkgver=r42.5ac6703
6pkgrel=1
7epoch=2
8pkgdesc="A command line mumble client."
9arch=('aarch64' 'armv7h' 'x86_64')
10url="https://git.stormux.org/storm/barnard"
11license=('GPL2')
12depends=('openal' 'opus' 'opusfile' 'rnnoise')
13optdepends=('dialog: for barnard-ui')
14makedepends=('git' 'go')
15source=("barnard::git+https://git.stormux.org/storm/barnard")
16install="${pkgname}.install"
17sha512sums=('SKIP')
18
19prepare(){
20 cd "${pkgname%-git}"
21 mkdir -p build/
22}
23
24pkgver() {
25 cd "${srcdir}/barnard"
26 printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
27}
28
29build() {
30 cd "${pkgname%-git}"
31 export CGO_CPPFLAGS="${CPPFLAGS}"
32 export CGO_CFLAGS="${CFLAGS}"
33 export CGO_CXXFLAGS="${CXXFLAGS}"
34 export CGO_LDFLAGS="${LDFLAGS}"
35 export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
36 go build -o build
37}
38
39package() {
40 cd "${pkgname%-git}"
41 install -Dm755 build/barnard "$pkgdir"/usr/bin/barnard
42 install -m755 "$srcdir/barnard/barnard-ui" "$pkgdir/usr/bin"
43 install -Dm755 "$srcdir/barnard/extras/barnard-sound.sh" "$pkgdir/usr/share/barnard/barnard-sound.sh"
44 install -Dm644 "$srcdir/barnard/README.md" "$pkgdir/usr/share/doc/barnard"
45}
46
47# vim:set ts=2 sw=2 et:
48

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