sakia

maintainer inso · 3 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The pip install commands are used to install build dependencies (pyinstaller and requirements.txt) from PyPI as part of a standard build process for a Python application, which is normal and expected in AUR packages; the sources are from the official project repository and the installed packages are not from untrusted or obfuscated sources.

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 commands are used to install build dependencies (pyinstaller and requirements.txt) from PyPI as part of a standard build process for a Python application, which is normal and expected in AUR packages; the sources are from the official project repository and the installed packages are not from untrusted or obfuscated sources.

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:39 pip install pyinstaller
  • PKGBUILD:40 pip install -r requirements.txt

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: inso <insomniak.fr@gmail.com>
2pkgname=sakia
3pkgver=0.33.0rc7
4pkgrel=1
5epoch=
6pkgdesc="A Python/Qt client for Duniter network"
7arch=("x86_64" "i686")
8url=""
9license=('GPL')
10groups=()
11depends=('qt5-base>=5.5' 'qt5-svg>=5.5' 'expat' 'bzip2' 'gdbm' 'openssl-1.0' 'libffi' 'zlib' 'sqlite')
12makedepends=('qt5-tools>=5.5' 'python-pyqt5')
13checkdepends=()
14optdepends=('gtk3')
15provides=()
16conflicts=()
17replaces=()
18backup=()
19options=()
20install=
21changelog=
22source=("https://github.com/duniter/sakia/archive/$pkgver.tar.gz")
23noextract=()
24sha256sums=("1c2a6dc31f7c13d7145ac199a9630289064500b03de41c3d08accc9338850f42")
25validpgpkeys=()
26
27PYENV_PYTHON_VERSION=3.5.4
28
29prepare() {
30 cd "$pkgname-$pkgver"
31 git clone https://github.com/yyuu/pyenv.git "$srcdir/pyenv"
32 export PYENV_ROOT="$srcdir/pyenv"
33 export PATH="$PYENV_ROOT/bin:$PATH"
34 eval "$(pyenv init -)"
35 echo $PATH
36 PYTHON_CONFIGURE_OPTS="--enable-shared" CFLAGS="-I/usr/include/openssl-1.0" LDFLAGS="-L/usr/lib/openssl-1.0" pyenv install $PYENV_PYTHON_VERSION
37 pyenv shell $PYENV_PYTHON_VERSION
38 which python
39 pip install pyinstaller
40 pip install -r requirements.txt
41 rm "$PYENV_ROOT/versions/$PYENV_PYTHON_VERSION/bin/pyuic5"
42}
43
44build() {
45 export PYENV_ROOT="$srcdir/pyenv"
46 export PATH="$PYENV_ROOT/bin:$PATH"
47 eval "$(pyenv init -)"
48 echo $PATH
49 cd "$pkgname-$pkgver"
50 pyenv shell $PYENV_PYTHON_VERSION
51 which python
52 python gen_resources.py
53 python gen_translations.py
54 pyinstaller -y sakia.spec
55
56}
57
58package() {
59 export PYENV_ROOT="$srcdir/pyenv"
60 export PATH="$PYENV_ROOT/bin:$PATH"
61 eval "$(pyenv init -)"
62 echo $PATH
63 pyenv shell $PYENV_PYTHON_VERSION
64 which python
65 cd "$pkgname-$pkgver"
66 mkdir -p "$pkgdir/opt/"
67 mkdir -p "$pkgdir/usr/bin/"
68 cp -r dist/sakia "$pkgdir/opt/sakia"
69 cp $srcdir/$pkgname-$pkgver/sakia.png $pkgdir/opt/sakia/
70 cp -r "$srcdir/$pkgname-$pkgver/res/linux/usr" "$pkgdir"
71 ln -s /opt/sakia/sakia.bin $pkgdir/usr/bin/sakia
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