sakia

LOW
maintainer inso 3 votes scanned 2026-09-17 00:27:14.276658
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-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

Report a package

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

0 / 4000
Your suggestion