streamcontroller
The pip install is used to install declared Python dependencies from requirements.txt within a contained venv during packaging; it does not execute untrusted remote code or install packages from ambiguous external sources beyond the project's own dependency list.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The pip install is used to install declared Python dependencies from requirements.txt within a contained venv during packaging; it does not execute untrusted remote code or install packages from ambiguous external sources beyond the project's own dependency list.
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:29
pip install -r requirements.txt
PKGBUILD
1 offending line(s) highlighted# Maintainer: nosduco <nosduco at gmail dot com>
pkgname=streamcontroller
pkgver=1.5.0beta15
pkgrel=1
_pkgver=1.5.0-beta.15
_reponame=StreamController-$_pkgver
_pkgname=${pkgname}
pkgdesc="An elegant Linux app for the Elgato Stream Deck with support for plugins"
arch=('any')
url="https://github.com/StreamController/StreamController"
license=('GPL-3')
depends=('python' 'xdg-desktop-portal' 'xdg-desktop-portal-gtk' 'libportal' 'libportal-gtk4' 'libadwaita' 'gobject-introspection')
makedepends=('python-pip')
source=("$pkgname-$pkgver.tar.gz::https://github.com/StreamController/StreamController/archive/refs/tags/$_pkgver.tar.gz")
sha256sums=('a32c4bb58468ffff48f217f0e3fa82b27871c8d2e758f1139e8b7856293f7e74')
provides=('streamcontroller')
conflicts=('streamcontroller-git')
prepare() {
sed s'|==|>=|g' -i ${_reponame}/requirements.txt
}
package() {
# Create virtualenv with dependencies
mkdir -p "$pkgdir/usr/lib/$_pkgname/venv"
python -m venv "$pkgdir/usr/lib/$_pkgname/venv"
source "$pkgdir/usr/lib/$_pkgname/venv/bin/activate"
cd "$srcdir/$_reponame"
pip install -r requirements.txt
deactivate
# Ensure correct venv is used after install
cd "$pkgdir/usr/lib/$_pkgname/venv/bin"
sed -i "s|$pkgdir||g" *
cd "$srcdir/$_reponame"
# Install source files
mkdir -p "$pkgdir/usr/lib/$_pkgname"
cp -r "$srcdir/$_reponame"/* "$pkgdir/usr/lib/$_pkgname/"
# Install launch script to /usr/bin
mkdir -p "$pkgdir/usr/bin"
cat <<EOF > "$pkgdir/usr/bin/$_pkgname"
#!/bin/bash
cd /usr/lib/$_pkgname
source /usr/lib/$_pkgname/venv/bin/activate
exec python main.py "\$@"
EOF
chmod +x "$pkgdir/usr/bin/$_pkgname"
# Install application entry (use upstream desktop file with corrected Exec and StartupWMClass)
sed -e 's|Exec=.*|Exec=streamcontroller|' \
-e 's|^Categories=Utility$|Categories=Utility;|' \
"$srcdir/$_reponame/flatpak/launch.desktop" > "$srcdir/sc.desktop"
# Upstream's launch.desktop has no trailing newline; the leading \n keeps
# StartupWMClass from being appended onto the Categories line
printf '\nStartupWMClass=com.core447.StreamController\n' >> "$srcdir/sc.desktop"
install -Dm644 "$srcdir/sc.desktop" "$pkgdir/usr/share/applications/com.core447.StreamController.desktop"
# Install icon under reverse-domain name matching the app's GApplication ID
install -Dm644 "$srcdir/$_reponame/flatpak/icon_256.png" "$pkgdir/usr/share/icons/hicolor/256x256/apps/com.core447.StreamController.png"
}
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 |