ezra-bible-app-git

maintainer alerque · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged 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

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 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)
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:46 npx electron-rebuild -f --version="$_electron"
  • PKGBUILD:49 npx electron-packager ./ "${pkgname%-git}" \

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: Caleb Maclennan <caleb@alerque.com>
2
3pkgname=ezra-bible-app-git
4pkgver=1.12.0.r183.gb129450
5pkgrel=1
6pkgdesc='A user-friendly Bible study tool focussing on topical study based on keywords/tags'
7arch=(x86_64)
8url="https://github.com/${pkgname%-git}/${pkgname%-git}"
9license=(GPL3)
10depends=(electron
11 icu
12 nodejs)
13makedepends=(git
14 jq
15 moreutils
16 node-gyp
17 node-prune
18 nodejs-addon-api # run time dep but gets baked into electron asar
19 nodejs-pug-cli
20 nodejs-sword-interface # run time dep but gets baked into electron asar
21 npm)
22provides=("${pkgname%-git}=$pkgver")
23conflicts=("${pkgname%-git}" ezra-project-git)
24replaces=(ezra-project-git)
25source=("git+$url.git"
26 "${pkgname%-git}.sh")
27sha256sums=('SKIP'
28 'e135a382166ce27cf1348750767e157b2d292d4a189940f0fa874af29bc6540b')
29
30prepare() {
31 cd "${pkgname%-git}"
32 jq 'del(.dependencies["node-addon-api", "node-sword-interface"], .devDependencies["electron", "electron-osx-sign", "node-abi", "node-gyp", "pug-cli", "sequelize-cli"])' package.json |
33 sponge package.json
34 rm -rf node_modules/{node-addon-api,node-sword-interface}
35 npm install --cache "$srcdir/npm-cache" --no-audit --no-fund --ignore-scripts
36}
37
38pkgver() {
39 cd "${pkgname%-git}"
40 git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
41}
42
43build() {
44 cd "${pkgname%-git}"
45 local _electron="$(electron --version | sed 's/^v//')"
46 npx electron-rebuild -f --version="$_electron"
47 node-prune node_modules
48 _ep () {
49 npx electron-packager ./ "${pkgname%-git}" \
50 --electron-version="$_electron" \
51 --overwrite \
52 --platform=linux \
53 --arch=x64 $@
54 }
55 _ep
56 ./build_scripts/purge_build_artifacts.sh
57 npm link node-addon-api node-sword-interface
58 _ep --asar
59}
60
61package() {
62 cd "${pkgname%-git}"
63 install -Dm755 "../${pkgname%-git}.sh" "$pkgdir/usr/bin/${pkgname%-git}"
64 install -Dm644 -t "$pkgdir/usr/share/applications/" "${pkgname%-git}.desktop"
65 install -Dm644 -t "$pkgdir/usr/lib/${pkgname%-git}/resources/" "${pkgname%-git}-linux-x64/resources/app.asar"
66 install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
67 install -Dm644 -t "$pkgdir/usr/share/doc/${pkgname%-git}/" {CHANGELOG,README,TECH,LOC_METRICS}.md
68 install -Dm644 icons/ezra.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/${pkgname%-git}.svg"
69}
70

Scan history

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

Report a package

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

0 / 4000
Your suggestion