oblivion-desktop-git
maintainer parhammed
· 3 votes
· scanned 2026-08-03 00:08:14.047287
LOW
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
5
pkgname="${_pkgname}-git"
6
pkgver=3.11.0.r6.g9fdf217
7
pkgrel=2
8
pkgdesc="Unofficial Warp Client for Windows/Mac/Linux (GitHub Version)"
9
arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64')
10
url="https://github.com/bepass-org/oblivion-desktop"
11
license=("custom:${_pkgname}")
12
_electron=electron38
13
depends=('bash' "${_electron}")
14
makedepends=('gendesk' 'nvm' 'npm')
15
optdepends=('libappindicator-gtk3: systray and app indicator support')
16
provides=("${_pkgname}")
17
conflicts=(
18
"${_pkgname}"
19
"${_pkgname}-bin"
20
)
21
source=("${_pkgname}::git+${url}")
22
sha256sums=('SKIP')
23
24
pkgver() {
25
cd "${_pkgname%-git}"
26
git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
27
}
28
29
prepare() {
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
47
build() {
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
55
package() {
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
61
exec $_electron /usr/lib/oblivion-desktop/app.asar "\$@"
62
EOD
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) | Severity | Rules |
|---|---|---|
| 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 |