ezra-bible-app-git
The npx commands are used to run build tools (electron-rebuild, electron-packager) on the project's own source code, not to execute arbitrary remote code; this is a normal part of building an Electron app and does not represent a supply-chain risk.
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 95%): The npx commands are used to run build tools (electron-rebuild, electron-packager) on the project's own source code, not to execute arbitrary remote code; this is a normal part of building an Electron app and does not represent a supply-chain risk.
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:46
npx electron-rebuild -f --version="$_electron" -
PKGBUILD:49
npx electron-packager ./ "${pkgname%-git}" \
PKGBUILD
2 offending line(s) highlighted# Maintainer: Caleb Maclennan <caleb@alerque.com>
pkgname=ezra-bible-app-git
pkgver=1.12.0.r183.gb129450
pkgrel=1
pkgdesc='A user-friendly Bible study tool focussing on topical study based on keywords/tags'
arch=(x86_64)
url="https://github.com/${pkgname%-git}/${pkgname%-git}"
license=(GPL3)
depends=(electron
icu
nodejs)
makedepends=(git
jq
moreutils
node-gyp
node-prune
nodejs-addon-api # run time dep but gets baked into electron asar
nodejs-pug-cli
nodejs-sword-interface # run time dep but gets baked into electron asar
npm)
provides=("${pkgname%-git}=$pkgver")
conflicts=("${pkgname%-git}" ezra-project-git)
replaces=(ezra-project-git)
source=("git+$url.git"
"${pkgname%-git}.sh")
sha256sums=('SKIP'
'e135a382166ce27cf1348750767e157b2d292d4a189940f0fa874af29bc6540b')
prepare() {
cd "${pkgname%-git}"
jq 'del(.dependencies["node-addon-api", "node-sword-interface"], .devDependencies["electron", "electron-osx-sign", "node-abi", "node-gyp", "pug-cli", "sequelize-cli"])' package.json |
sponge package.json
rm -rf node_modules/{node-addon-api,node-sword-interface}
npm install --cache "$srcdir/npm-cache" --no-audit --no-fund --ignore-scripts
}
pkgver() {
cd "${pkgname%-git}"
git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${pkgname%-git}"
local _electron="$(electron --version | sed 's/^v//')"
npx electron-rebuild -f --version="$_electron"
node-prune node_modules
_ep () {
npx electron-packager ./ "${pkgname%-git}" \
--electron-version="$_electron" \
--overwrite \
--platform=linux \
--arch=x64 $@
}
_ep
./build_scripts/purge_build_artifacts.sh
npm link node-addon-api node-sword-interface
_ep --asar
}
package() {
cd "${pkgname%-git}"
install -Dm755 "../${pkgname%-git}.sh" "$pkgdir/usr/bin/${pkgname%-git}"
install -Dm644 -t "$pkgdir/usr/share/applications/" "${pkgname%-git}.desktop"
install -Dm644 -t "$pkgdir/usr/lib/${pkgname%-git}/resources/" "${pkgname%-git}-linux-x64/resources/app.asar"
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
install -Dm644 -t "$pkgdir/usr/share/doc/${pkgname%-git}/" {CHANGELOG,README,TECH,LOC_METRICS}.md
install -Dm644 icons/ezra.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/${pkgname%-git}.svg"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-18 00:17:11 | Low | 2 |
| 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 |