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