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