sakia

LOW
maintainer inso 3 votes scanned 2026-11-01 00:21:48.120785
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-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

Report a package

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

0 / 4000
Your suggestion