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-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 |