freeshow-git
The npx command runs electron-builder on the locally checked-out project source, which is a standard part of building an Electron app; this is not executing arbitrary remote code but rather a normal build step for the project being packaged.
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 90%): The npx command runs electron-builder on the locally checked-out project source, which is a standard part of building an Electron app; this is not executing arbitrary remote code but rather a normal build step for the project being packaged.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:37
npx electron-builder --config config/building/electron-builder.yaml --publish never --linux dir
PKGBUILD
1 offending line(s) highlighted# Maintainer: Jørgen Stråbø <aur@jorgen-10.no>
pkgname='freeshow-git'
pkgver='1.6.0.beta.1.r0.ga973aac'
pkgrel='1'
pkgdesc="A software with a friendly interface and powerful features for making slideshows"
arch=('x86_64')
provides=('freeshow')
conflicts=('freeshow-electron-bin' 'freeshow-bin' 'freeshow')
url="https://github.com/ChurchApps/FreeShow"
options=('!debug' '!strip')
license=('GPL-3.0-or-later')
depends=('alsa-lib' 'at-spi2-core' 'cairo' 'dbus' 'expat' 'gcc-libs' 'glib2' 'glibc' 'gtk3' 'libcups' 'libdrm' 'libx11' 'libxcb' 'libxcomposite' 'libxdamage' 'libxext' 'libxfixes' 'libxkbcommon' 'libxrandr' 'mesa' 'nspr' 'nss' 'pango')
makedepends=('npm' 'fakeroot' 'git' 'python')
source=("$pkgname::git+https://github.com/ChurchApps/FreeShow.git" "freeshow.desktop" "freeshow")
sha256sums=('SKIP' '5f141e1d28ec7b2ddfed43855a7d3cceca6b710887fbecc0fbfea1e56f9f05f5' '622f64c95c31f467fc7fcd63c13f1afe149506a14c9a9a810a52b758a9f04968' )
pkgver() {
cd "$pkgname"
# cutting off 'v' prefix that presents in the git tag
git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
# Build Process
prepare() {
cd "$pkgname"
# Install node packages
npm install --cache "${srcdir}/npm-cache"
}
build() {
cd "$pkgname"
# runs build
npm run build
# Ensures that Appimage and .deb package isnt built (also avoids github releases)
npx electron-builder --config config/building/electron-builder.yaml --publish never --linux dir
}
package() {
cd "$pkgname"
# Installation directory
install -dm755 "$pkgdir/opt/freeshow"
# Copy the contents of dist (from build) into /opt/freeshow
mv "$srcdir/$pkgname/dist/linux-unpacked/"* "$pkgdir/opt/freeshow/"
# Empties out the node_modules directory due to errors from /build/freeshow-git/src/freeshow-git/node_modules/@napi-rs/canvas-android-arm64 during rebuilds
rm -rf "$srcdir/$pkgname/node_modules"
# Install the freeshow executable to /usr/bin
install -Dm755 "../freeshow" "$pkgdir/usr/bin/freeshow"
# Install the license
install -Dm644 "$srcdir/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/freeshow/LICENSE"
# Install the .desktop file for launcher integration (if you have one)
install -Dm644 "../freeshow.desktop" "$pkgdir/usr/share/applications/freeshow.desktop"
# Install application icon
install -Dm644 "$srcdir/$pkgname/src/server/icon.png" "$pkgdir/usr/share/icons/hicolor/256x256/apps/freeshow.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 |