sakia
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
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)
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# Maintainer: inso <insomniak.fr@gmail.com>
pkgname=sakia
pkgver=0.33.0rc7
pkgrel=1
epoch=
pkgdesc="A Python/Qt client for Duniter network"
arch=("x86_64" "i686")
url=""
license=('GPL')
groups=()
depends=('qt5-base>=5.5' 'qt5-svg>=5.5' 'expat' 'bzip2' 'gdbm' 'openssl-1.0' 'libffi' 'zlib' 'sqlite')
makedepends=('qt5-tools>=5.5' 'python-pyqt5')
checkdepends=()
optdepends=('gtk3')
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("https://github.com/duniter/sakia/archive/$pkgver.tar.gz")
noextract=()
sha256sums=("1c2a6dc31f7c13d7145ac199a9630289064500b03de41c3d08accc9338850f42")
validpgpkeys=()
PYENV_PYTHON_VERSION=3.5.4
prepare() {
cd "$pkgname-$pkgver"
git clone https://github.com/yyuu/pyenv.git "$srcdir/pyenv"
export PYENV_ROOT="$srcdir/pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
echo $PATH
PYTHON_CONFIGURE_OPTS="--enable-shared" CFLAGS="-I/usr/include/openssl-1.0" LDFLAGS="-L/usr/lib/openssl-1.0" pyenv install $PYENV_PYTHON_VERSION
pyenv shell $PYENV_PYTHON_VERSION
which python
pip install pyinstaller
pip install -r requirements.txt
rm "$PYENV_ROOT/versions/$PYENV_PYTHON_VERSION/bin/pyuic5"
}
build() {
export PYENV_ROOT="$srcdir/pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
echo $PATH
cd "$pkgname-$pkgver"
pyenv shell $PYENV_PYTHON_VERSION
which python
python gen_resources.py
python gen_translations.py
pyinstaller -y sakia.spec
}
package() {
export PYENV_ROOT="$srcdir/pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
echo $PATH
pyenv shell $PYENV_PYTHON_VERSION
which python
cd "$pkgname-$pkgver"
mkdir -p "$pkgdir/opt/"
mkdir -p "$pkgdir/usr/bin/"
cp -r dist/sakia "$pkgdir/opt/sakia"
cp $srcdir/$pkgname-$pkgver/sakia.png $pkgdir/opt/sakia/
cp -r "$srcdir/$pkgname-$pkgver/res/linux/usr" "$pkgdir"
ln -s /opt/sakia/sakia.bin $pkgdir/usr/bin/sakia
}
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 |