ezra-bible-app-git

LOW
maintainer alerque 1 votes scanned 2026-11-02 00:26:00.633185
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-11-02 00:26:00 Low 2
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

Report a package

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

0 / 4000
Your suggestion