stremio-enhanced-git
maintainer bobpaul
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The npx command runs electron-builder on the locally checked-out project source, which is a standard build step for Electron apps and does not execute arbitrary remote code.
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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The npx command runs electron-builder on the locally checked-out project source, which is a standard build step for Electron apps and does not execute arbitrary remote code.
1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM
npx/bunx/deno executes a remote package
remote_code_tool
`npx`/`bunx`/`pnpm dlx`/`deno run <url>` downloads AND runs a remote package at build time — the moral equivalent of piping a download into a shell. Severity downgraded: Node.js consumer context.
-
PKGBUILD:29
npx electron-builder --linux --x64 --dir
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: bobpaul <90864+bobpaul@users.noreply.github.com>
2
pkgname=stremio-enhanced-git
3
pkgver=1.1.5
4
pkgrel=1
5
pkgdesc="Unofficial Stremio desktop client with plugins and themes (git version)"
6
arch=('x86_64')
7
url="https://github.com/REVENGE977/stremio-enhanced"
8
license=('MIT')
9
depends=('electron')
10
makedepends=('git' 'npm')
11
source=(
12
"git+https://github.com/REVENGE977/stremio-enhanced.git"
13
"stremio-enhanced.desktop"
14
)
15
sha256sums=('SKIP'
16
'09c04a9886c2afb115f88dd7c2e74ca438bc089c5f73b76efdcc54652ce70ac6')
17
provides=("stremio-enhanced=${pkgver}")
18
conflicts=("stremio-enhanced" "stremio-enhanced-bin")
19
20
pkgver() {
21
cd "${pkgname%-git}"
22
git describe --tags --always --exclude='v20[0-9][0-9]*' | sed 's/^v//;s/\([^-]*\)-\([0-9]*\)-g\([0-9a-f]*\)/\1.r\2.g\3/;s/-/./g'
23
}
24
25
build() {
26
cd "${pkgname%-git}"
27
npm install
28
npm run dist
29
npx electron-builder --linux --x64 --dir
30
}
31
32
package() {
33
install -d "${pkgdir}/usr/lib/stremio-enhanced"
34
install -d "${pkgdir}/usr/bin"
35
36
install -Dm644 "${srcdir}/${pkgname%-git}/release-builds/linux-unpacked/resources/app.asar" "${pkgdir}/usr/lib/stremio-enhanced/app.asar"
37
38
cat << EOF | install -Dm755 /dev/stdin "${pkgdir}/usr/bin/stremio-enhanced"
39
#!/bin/bash
40
exec electron /usr/lib/stremio-enhanced/app.asar "\$@"
41
EOF
42
43
install -Dm644 stremio-enhanced.desktop "${pkgdir}/usr/share/applications/stremio-enhanced.desktop"
44
install -Dm644 "${srcdir}/${pkgname%-git}/images/icon.png" "${pkgdir}/usr/share/icons/hicolor/512x512/apps/stremio-enhanced.png"
45
install -Dm644 "${srcdir}/${pkgname%-git}/LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
46
}
47
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |