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-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 |