bnetctl-git
Clones and builds the project's own source from the maintainer's self-hosted Gitea instance (git.bnema.dev), which is plausibly the project's own infrastructure; the non-whitelisted host and SKIP checksum are typical for a git+https VCS source in AUR packaging and pose no meaningful supply-chain risk beyond trusting the maintainer's server.
Triggered rules
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
llm_review
The static rules flagged this MEDIUM, but an AI model (anthropic/claude-sonnet-4.6) reviewed the full PKGBUILD and judged it LOW (confidence 80%): Clones and builds the project's own source from the maintainer's self-hosted Gitea instance (git.bnema.dev), which is plausibly the project's own infrastructure; the non-whitelisted host and SKIP checksum are typical for a git+https VCS source in AUR packaging and pose no meaningful supply-chain risk beyond trusting the maintainer's server.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:18
source=('git+https://git.bnema.dev/bnetctl.git')
PKGBUILD
1 offending line(s) highlighted# Maintainer: bnema <b at bnema dot dev>
pkgname=bnetctl-git
pkgver=1.1.0.r0.g16b1719
pkgrel=1
pkgdesc='CLI to install, manage, and run Battle.net on Linux via Wine (git version)'
arch=('x86_64' 'aarch64')
url='https://git.bnema.dev/bnetctl'
license=('MIT')
makedepends=('go>=2:1.26.0' 'git')
optdepends=('wine-staging: Wine runtime (>= 11.19 for Wayland)'
'wine: alternative Wine runtime'
'wine-cachyos-opt: fallback Wine runtime'
'dxvk-mingw-git: Direct3D 8/9/10/11 translation to Vulkan'
'vkd3d-proton-mingw-git: Direct3D 12 translation to Vulkan'
'icoutils: Battle.net icon for the .desktop entry')
provides=('bnetctl')
conflicts=('bnetctl' 'bnetctl-bin')
source=('git+https://git.bnema.dev/bnetctl.git')
sha256sums=('SKIP')
pkgver() {
cd bnetctl
git describe --long --tags --abbrev=7 --exclude='*-*' | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd bnetctl
export GOPATH="$srcdir/gopath" GOTOOLCHAIN=local
export GOFLAGS='-mod=readonly -modcacherw'
go mod download
}
build() {
cd bnetctl
export GOPATH="$srcdir/gopath" CGO_ENABLED=0 GOTOOLCHAIN=local
export GOFLAGS='-buildmode=pie -trimpath -mod=readonly -modcacherw'
go build -ldflags "-X github.com/bnema/bnetctl/cmd.version=$pkgver -X github.com/bnema/bnetctl/cmd.commit=$(git rev-parse --short HEAD)" -o bnetctl .
}
check() {
cd bnetctl
./bnetctl --version
}
package() {
cd bnetctl
install -Dm755 bnetctl "$pkgdir/usr/bin/bnetctl"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-02 18:05:06 | Low | 3 |
| 2026-11-02 18:02:51 | Medium | 2 |