grayjay-bin
The package downloads a prebuilt binary from the project's own update server, which is not on a standard forge but plausibly official; the binary is not executed directly during build/install and is instead copied to the user's home directory on first run, limiting supply-chain risk to post-install execution, which is typical for such applications.
Triggered rules
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 package downloads a prebuilt binary from the project's own update server, which is not on a standard forge but plausibly official; the binary is not executed directly during build/install and is instead copied to the user's home directory on first run, limiting supply-chain risk to post-install execution, which is typical for such applications.
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:14
source=("${_filename}.zip::https://updater.grayjay.app/Apps/Grayjay.Desktop/${pkgver}/${_filename}.zip")
PKGBUILD
1 offending line(s) highlighted# Maintainer: Nathan Chere <aur@nathanchere.com.au>
pkgname=grayjay-bin
pkgver=17
pkgrel=2
pkgdesc="Grayjay Desktop - follow creators, not platforms (privacy- and freedom-respecting client for YouTube, Rumble, Twitch, Spotify etc)"
arch=('x86_64')
url="https://grayjay.app/desktop/"
license=('Source First License 1.1')
depends=('gtk3' 'unzip' 'libnotify' 'nss' 'libxss' 'libxtst' 'xdg-utils' 'at-spi2-core' 'libsecret' 'libappindicator-gtk3')
provides=('grayjay')
conflicts=('grayjay' 'grayjay-git')
options=(!strip)
_filename="Grayjay.Desktop-linux-x64-v${pkgver}"
source=("${_filename}.zip::https://updater.grayjay.app/Apps/Grayjay.Desktop/${pkgver}/${_filename}.zip")
sha256sums=('29a5b953a26c30af10dafa1727b588f19cea93c74073882fa7e1f2a9336757d4')
prepare() {
mkdir -p "${srcdir}/grayjay"
unzip -q "${srcdir}/${_filename}.zip" -d "${srcdir}/grayjay"
}
package() {
cd "${srcdir}/grayjay/${_filename}"
# Create necessary directories
install -dm755 "${pkgdir}/usr/share/grayjay"
install -dm755 "${pkgdir}/usr/bin"
install -dm755 "${pkgdir}/usr/share/applications"
install -dm755 "${pkgdir}/usr/share/icons/hicolor/512x512/apps"
# Create launcher script that copies app to user directory on first run
cat > "${pkgdir}/usr/bin/grayjay" << 'EOF'
#!/bin/sh
APP_DIR="$HOME/.local/share/grayjay"
# Check if app is already installed in user directory
if [ ! -d "$APP_DIR" ]; then
echo "First run - installing Grayjay to $APP_DIR"
mkdir -p "$APP_DIR"
cp -r /usr/share/grayjay/* "$APP_DIR/"
chmod u+w -R "$APP_DIR"
fi
exec sh -c "cd '$APP_DIR' && exec ./Grayjay \"\$@\"" -- "$@"
EOF
chmod 755 "${pkgdir}/usr/bin/grayjay"
# Copy application files to system directory (will be copied to user dir on first run)
cp -r ./* "${pkgdir}/usr/share/grayjay/"
# Create desktop entry
cat > "${pkgdir}/usr/share/applications/grayjay.desktop" << EOF
[Desktop Entry]
Name=Grayjay
Comment=Privacy-respecting client for YouTube, Rumble, Twitch, Spotify etc
Exec=/usr/bin/grayjay
Icon=grayjay
Terminal=false
Type=Application
Categories=Network;Video;AudioVideo;
EOF
# Install icon
install -Dm644 "grayjay.png" \
"${pkgdir}/usr/share/icons/hicolor/512x512/apps/grayjay.png"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |