oblivion-desktop-git

LOW
maintainer parhammed 3 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The npx command is used to run electron-builder locally after npm install, which is a standard part of building an Electron application from its source; the code is built from the project's own GitHub repository, and no remote executable code is fetched or run at runtime.

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 90%): The npx command is used to run electron-builder locally after npm install, which is a standard part of building an Electron application from its source; the code is built from the project's own GitHub repository, and no remote executable code is fetched or run at runtime.

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:50 npx electron-builder --linux --dir \

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: parhammed <parhammed@gmail.com>
2# Contributor: Mohammadreza Abdollahzadeh <morealaz at gmail dot com>
3
4_pkgname=oblivion-desktop
5pkgname="${_pkgname}-git"
6pkgver=3.11.0.r6.g9fdf217
7pkgrel=2
8pkgdesc="Unofficial Warp Client for Windows/Mac/Linux (GitHub Version)"
9arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64')
10url="https://github.com/bepass-org/oblivion-desktop"
11license=("custom:${_pkgname}")
12_electron=electron38
13depends=('bash' "${_electron}")
14makedepends=('gendesk' 'nvm' 'npm')
15optdepends=('libappindicator-gtk3: systray and app indicator support')
16provides=("${_pkgname}")
17conflicts=(
18 "${_pkgname}"
19 "${_pkgname}-bin"
20)
21source=("${_pkgname}::git+${url}")
22sha256sums=('SKIP')
23
24pkgver() {
25 cd "${_pkgname%-git}"
26 git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
27}
28
29prepare() {
30 source /usr/share/nvm/init-nvm.sh
31
32 cd "${_pkgname}"
33
34 sed "s/process.resourcesPath/path.dirname(app.getAppPath())/" -i src/main/main.ts
35
36 gendesk -f -n \
37 --pkgname "${_pkgname}" \
38 --pkgdesc "${pkgdesc}" \
39 --name 'Oblivion Desktop' \
40 --categories 'Utility' \
41 --custom StartupWMClass='Oblivion Desktop'
42
43 nvm install 22
44 npm install
45}
46
47build() {
48 cd "${_pkgname}"
49 npm run build
50 npx electron-builder --linux --dir \
51 -c.electronDist="/usr/lib/${_electron}" \
52 -c.electronVersion="$(cat /usr/lib/${_electron}/version)"
53}
54
55package() {
56 cd "${_pkgname}"
57 install -d "${pkgdir}/usr/lib"
58 install -Dm755 /dev/null "${pkgdir}/usr/bin/${_pkgname}"
59 cat >> "${pkgdir}/usr/bin/${_pkgname}" << EOD
60#! /usr/bin/sh
61exec $_electron /usr/lib/oblivion-desktop/app.asar "\$@"
62EOD
63 install -Dm644 release/build/linux-unpacked/resources/app.asar -t "${pkgdir}/usr/lib/${_pkgname}"
64 cp -r release/build/linux-unpacked/resources/assets "${pkgdir}/usr/lib/${_pkgname}"
65 install -Dm644 "${_pkgname}.desktop" -t "${pkgdir}/usr/share/applications"
66 install -Dm644 assets/icon.png "${pkgdir}/usr/share/pixmaps/${_pkgname}.png"
67 install -Dm644 LICENSE.md -t "${pkgdir}/usr/share/licenses/${_pkgname}"
68}
69# vim:set ts=4 sw=4 et:
70

Scan history

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

Report a package

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

0 / 4000
Your suggestion