ustoat

maintainer Spyro24 · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged 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

LOW AI review downgraded a static finding 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)
MEDIUM pip install of an external package 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
1# Maintainer: Spyro24 <minerpi16@gmail.com>
2export DEBUGPKG=0
3pkgname=ustoat
4pkgver=0.4.0
5pkgrel=1
6pkgdesc="UStoat — A custom stoat client written in python with the use of pygame-ce"
7url="https://github.com/Spyro24/UStoat"
8license=(GPL)
9arch=(x86_64)
10depends=(python tk)
11makedepends=(git imagemagick python-virtualenv)
12optdepends=()
13provides=()
14conflicts=()
15replaces=()
16source=("git+https://github.com/Spyro24/UStoat.git")
17sha512sums=('SKIP')
18
19build() {
20 cd "$srcdir/UStoat" || return 1
21 return 0
22}
23
24package() {
25 cd "$srcdir/UStoat" || return 1
26
27 appdir="$pkgdir/usr/lib/$pkgname"
28 mkdir -p "$appdir"
29 cp -a "$srcdir/UStoat/." "$appdir/"
30
31 # create venv and install requirements (including recursive deps)
32 python -m venv "$appdir/venv"
33 "$appdir/venv/bin/python" -m pip install --upgrade pip setuptools wheel
34 if [[ -f "$appdir/requirements.txt" ]]; then
35 "$appdir/venv/bin/pip" install -r "$appdir/requirements.txt"
36 fi
37
38 # wrapper that activates venv and runs main.pyw
39 install -Dm755 /dev/null "$pkgdir/usr/bin/$pkgname"
40 cat > "$pkgdir/usr/bin/$pkgname" <<'EOF'
41#!/bin/sh
42VENV="/usr/lib/ustoat/venv"
43export PATH="$VENV/bin:$PATH"
44exec python /usr/lib/ustoat/main.pyw "$@"
45EOF
46
47 # desktop file
48 install -d "$pkgdir/usr/share/applications"
49 cat > "$pkgdir/usr/share/applications/$pkgname.desktop" <<'EOF'
50[Desktop Entry]
51Type=Application
52Name=UStoat
53Exec=/usr/bin/ustoat
54Icon=ustoat
55Terminal=false
56Categories=Utility;
57EOF
58
59 # install icon and license
60 install -d "$pkgdir/usr/share/icons/hicolor/256x256/apps" "$pkgdir/usr/share/icons/hicolor/48x48/apps"
61 if [[ -f "$srcdir/UStoat/res/icons/app_icon_x384.png" ]]; then
62 if command -v convert >/dev/null 2>&1; then
63 convert "$srcdir/UStoat/res/icons/app_icon_x384.png" -resize 256x256 "$pkgdir/usr/share/icons/hicolor/256x256/apps/$pkgname.png"
64 convert "$srcdir/UStoat/res/icons/app_icon_x384.png" -resize 48x48 "$pkgdir/usr/share/icons/hicolor/48x48/apps/$pkgname.png"
65 else
66 cp "$srcdir/UStoat/res/icons/app_icon_x384.png" "$pkgdir/usr/share/icons/hicolor/256x256/apps/$pkgname.png"
67 cp "$srcdir/UStoat/res/icons/app_icon_x384.png" "$pkgdir/usr/share/icons/hicolor/48x48/apps/$pkgname.png"
68 fi
69 fi
70
71 install -Dm644 "$srcdir/UStoat/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" || true
72}
73

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 LOW 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion