betasharp-git
Builds from the project's own git repository on git.gay (a legitimate Gitea forge), compiles with dotnet, and installs normally; the non-whitelisted host is plausibly the project's own infrastructure, and no unverifiable prebuilt binaries or obfuscated payloads are present. The SKIP'd checksums on a git source and a bundled desktop file are standard for VCS packages and pose minimal risk.
Triggered rules
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%): Builds from the project's own git repository on git.gay (a legitimate Gitea forge), compiles with dotnet, and installs normally; the non-whitelisted host is plausibly the project's own infrastructure, and no unverifiable prebuilt binaries or obfuscated payloads are present. The SKIP'd checksums on a git source and a bundled desktop file are standard for VCS packages and pose minimal risk.
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:13
source=("$pkgname::git+https://git.gay/betasharp-official/betasharp.git#branch=main"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Nicolas Vyčas Nery <vycasnicolas@gmail.com>
pkgname=betasharp-git
pkgver=r1160.g6033c372
pkgrel=2
pkgdesc="Enhanced recreation of Minecraft Beta 1.7.3 (launcher, client, server)"
arch=('x86_64')
url="https://git.gay/betasharp-official/betasharp"
license=('MIT')
depends=('gtk3' 'webkit2gtk-4.1')
makedepends=('dotnet-sdk' 'git')
provides=('betasharp')
conflicts=('betasharp')
source=("$pkgname::git+https://git.gay/betasharp-official/betasharp.git#branch=main"
"betasharp.desktop")
sha256sums=('SKIP'
'SKIP')
pkgver() {
cd "$pkgname"
printf "r%s.g%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$pkgname"
export DOTNET_CLI_TELEMETRY_OPTOUT=1
export DOTNET_NOLOGO=1
dotnet publish BetaSharp.Launcher \
--configuration Release \
--runtime linux-x64 \
--self-contained true \
--output publish
}
package() {
cd "$pkgname"
install -dm755 "$pkgdir/usr/lib/betasharp"
cp -r publish/. "$pkgdir/usr/lib/betasharp/"
find "$pkgdir/usr/lib/betasharp" -type f -exec chmod 644 {} \;
chmod 755 "$pkgdir/usr/lib/betasharp/BetaSharp.Launcher"
chmod 755 "$pkgdir/usr/lib/betasharp/Client/BetaSharp.Client"
chmod 755 "$pkgdir/usr/lib/betasharp/Server/BetaSharp.Server"
# Launcher writes the downloaded game jar next to its own binary
# (AppContext.BaseDirectory/Client|Server), which is read-only under
# /usr/lib. Stage a per-user writable copy in XDG_DATA_HOME and run
# from there instead; re-stage whenever the installed version changes.
install -dm755 "$pkgdir/usr/bin"
cat > "$pkgdir/usr/bin/betasharp" <<EOF
#!/bin/sh
set -e
PKGVER="$pkgver-$pkgrel"
DEST="\${XDG_DATA_HOME:-\$HOME/.local/share}/betasharp"
STAMP="\$DEST/.installed-version"
if [ ! -f "\$STAMP" ] || [ "\$(cat "\$STAMP")" != "\$PKGVER" ]; then
mkdir -p "\$DEST"
cp -rf /usr/lib/betasharp/. "\$DEST/"
echo "\$PKGVER" > "\$STAMP"
fi
cd "\$DEST"
exec "\$DEST/BetaSharp.Launcher" "\$@"
EOF
chmod 755 "$pkgdir/usr/bin/betasharp"
install -Dm644 "$srcdir/betasharp.desktop" \
"$pkgdir/usr/share/applications/betasharp.desktop"
install -Dm644 BetaSharp.Launcher/logo.png \
"$pkgdir/usr/share/pixmaps/betasharp.png"
install -Dm644 LICENSE.md \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |