ustoat
The pip install is used to install dependencies from the project's own requirements.txt within a contained venv, which is a standard and safe practice for Python applications; the source is from the project's official Git repository.
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 pip install is used to install dependencies from the project's own requirements.txt within a contained venv, which is a standard and safe practice for Python applications; the source is from the project's official Git repository.
1 higher static finding superseded - not the current verdict (shown for transparency)
pip_install_external
`pip install <package>` fetches an unpinned package from PyPI at build time, outside source=() and makepkg's checksums.
-
PKGBUILD:33
"$appdir/venv/bin/python" -m pip install --upgrade pip setuptools wheel
PKGBUILD
1 offending line(s) highlighted# Maintainer: Spyro24 <minerpi16@gmail.com>
export DEBUGPKG=0
pkgname=ustoat
pkgver=0.4.0
pkgrel=1
pkgdesc="UStoat — A custom stoat client written in python with the use of pygame-ce"
url="https://github.com/Spyro24/UStoat"
license=(GPL)
arch=(x86_64)
depends=(python tk)
makedepends=(git imagemagick python-virtualenv)
optdepends=()
provides=()
conflicts=()
replaces=()
source=("git+https://github.com/Spyro24/UStoat.git")
sha512sums=('SKIP')
build() {
cd "$srcdir/UStoat" || return 1
return 0
}
package() {
cd "$srcdir/UStoat" || return 1
appdir="$pkgdir/usr/lib/$pkgname"
mkdir -p "$appdir"
cp -a "$srcdir/UStoat/." "$appdir/"
# create venv and install requirements (including recursive deps)
python -m venv "$appdir/venv"
"$appdir/venv/bin/python" -m pip install --upgrade pip setuptools wheel
if [[ -f "$appdir/requirements.txt" ]]; then
"$appdir/venv/bin/pip" install -r "$appdir/requirements.txt"
fi
# wrapper that activates venv and runs main.pyw
install -Dm755 /dev/null "$pkgdir/usr/bin/$pkgname"
cat > "$pkgdir/usr/bin/$pkgname" <<'EOF'
#!/bin/sh
VENV="/usr/lib/ustoat/venv"
export PATH="$VENV/bin:$PATH"
exec python /usr/lib/ustoat/main.pyw "$@"
EOF
# desktop file
install -d "$pkgdir/usr/share/applications"
cat > "$pkgdir/usr/share/applications/$pkgname.desktop" <<'EOF'
[Desktop Entry]
Type=Application
Name=UStoat
Exec=/usr/bin/ustoat
Icon=ustoat
Terminal=false
Categories=Utility;
EOF
# install icon and license
install -d "$pkgdir/usr/share/icons/hicolor/256x256/apps" "$pkgdir/usr/share/icons/hicolor/48x48/apps"
if [[ -f "$srcdir/UStoat/res/icons/app_icon_x384.png" ]]; then
if command -v convert >/dev/null 2>&1; then
convert "$srcdir/UStoat/res/icons/app_icon_x384.png" -resize 256x256 "$pkgdir/usr/share/icons/hicolor/256x256/apps/$pkgname.png"
convert "$srcdir/UStoat/res/icons/app_icon_x384.png" -resize 48x48 "$pkgdir/usr/share/icons/hicolor/48x48/apps/$pkgname.png"
else
cp "$srcdir/UStoat/res/icons/app_icon_x384.png" "$pkgdir/usr/share/icons/hicolor/256x256/apps/$pkgname.png"
cp "$srcdir/UStoat/res/icons/app_icon_x384.png" "$pkgdir/usr/share/icons/hicolor/48x48/apps/$pkgname.png"
fi
fi
install -Dm644 "$srcdir/UStoat/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" || true
}
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 |