streamcontroller

LOW
maintainer NOSDuco 6 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

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

Low AI review downgraded a static finding 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)
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:29 pip install -r requirements.txt

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: nosduco <nosduco at gmail dot com>
2pkgname=streamcontroller
3pkgver=1.5.0beta15
4pkgrel=1
5_pkgver=1.5.0-beta.15
6_reponame=StreamController-$_pkgver
7_pkgname=${pkgname}
8pkgdesc="An elegant Linux app for the Elgato Stream Deck with support for plugins"
9arch=('any')
10url="https://github.com/StreamController/StreamController"
11license=('GPL-3')
12depends=('python' 'xdg-desktop-portal' 'xdg-desktop-portal-gtk' 'libportal' 'libportal-gtk4' 'libadwaita' 'gobject-introspection')
13makedepends=('python-pip')
14source=("$pkgname-$pkgver.tar.gz::https://github.com/StreamController/StreamController/archive/refs/tags/$_pkgver.tar.gz")
15sha256sums=('a32c4bb58468ffff48f217f0e3fa82b27871c8d2e758f1139e8b7856293f7e74')
16provides=('streamcontroller')
17conflicts=('streamcontroller-git')
18
19prepare() {
20 sed s'|==|>=|g' -i ${_reponame}/requirements.txt
21}
22
23package() {
24 # Create virtualenv with dependencies
25 mkdir -p "$pkgdir/usr/lib/$_pkgname/venv"
26 python -m venv "$pkgdir/usr/lib/$_pkgname/venv"
27 source "$pkgdir/usr/lib/$_pkgname/venv/bin/activate"
28 cd "$srcdir/$_reponame"
29 pip install -r requirements.txt
30 deactivate
31
32 # Ensure correct venv is used after install
33 cd "$pkgdir/usr/lib/$_pkgname/venv/bin"
34 sed -i "s|$pkgdir||g" *
35 cd "$srcdir/$_reponame"
36
37 # Install source files
38 mkdir -p "$pkgdir/usr/lib/$_pkgname"
39 cp -r "$srcdir/$_reponame"/* "$pkgdir/usr/lib/$_pkgname/"
40
41 # Install launch script to /usr/bin
42 mkdir -p "$pkgdir/usr/bin"
43 cat <<EOF > "$pkgdir/usr/bin/$_pkgname"
44#!/bin/bash
45cd /usr/lib/$_pkgname
46source /usr/lib/$_pkgname/venv/bin/activate
47exec python main.py "\$@"
48EOF
49 chmod +x "$pkgdir/usr/bin/$_pkgname"
50
51 # Install application entry (use upstream desktop file with corrected Exec and StartupWMClass)
52 sed -e 's|Exec=.*|Exec=streamcontroller|' \
53 -e 's|^Categories=Utility$|Categories=Utility;|' \
54 "$srcdir/$_reponame/flatpak/launch.desktop" > "$srcdir/sc.desktop"
55 # Upstream's launch.desktop has no trailing newline; the leading \n keeps
56 # StartupWMClass from being appended onto the Categories line
57 printf '\nStartupWMClass=com.core447.StreamController\n' >> "$srcdir/sc.desktop"
58 install -Dm644 "$srcdir/sc.desktop" "$pkgdir/usr/share/applications/com.core447.StreamController.desktop"
59
60 # Install icon under reverse-domain name matching the app's GApplication ID
61 install -Dm644 "$srcdir/$_reponame/flatpak/icon_256.png" "$pkgdir/usr/share/icons/hicolor/256x256/apps/com.core447.StreamController.png"
62}
63

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion