oblivion-desktop-git
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
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)
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# Maintainer: parhammed <parhammed@gmail.com>
# Contributor: Mohammadreza Abdollahzadeh <morealaz at gmail dot com>
_pkgname=oblivion-desktop
pkgname="${_pkgname}-git"
pkgver=3.11.0.r6.g9fdf217
pkgrel=2
pkgdesc="Unofficial Warp Client for Windows/Mac/Linux (GitHub Version)"
arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64')
url="https://github.com/bepass-org/oblivion-desktop"
license=("custom:${_pkgname}")
_electron=electron38
depends=('bash' "${_electron}")
makedepends=('gendesk' 'nvm' 'npm')
optdepends=('libappindicator-gtk3: systray and app indicator support')
provides=("${_pkgname}")
conflicts=(
"${_pkgname}"
"${_pkgname}-bin"
)
source=("${_pkgname}::git+${url}")
sha256sums=('SKIP')
pkgver() {
cd "${_pkgname%-git}"
git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
source /usr/share/nvm/init-nvm.sh
cd "${_pkgname}"
sed "s/process.resourcesPath/path.dirname(app.getAppPath())/" -i src/main/main.ts
gendesk -f -n \
--pkgname "${_pkgname}" \
--pkgdesc "${pkgdesc}" \
--name 'Oblivion Desktop' \
--categories 'Utility' \
--custom StartupWMClass='Oblivion Desktop'
nvm install 22
npm install
}
build() {
cd "${_pkgname}"
npm run build
npx electron-builder --linux --dir \
-c.electronDist="/usr/lib/${_electron}" \
-c.electronVersion="$(cat /usr/lib/${_electron}/version)"
}
package() {
cd "${_pkgname}"
install -d "${pkgdir}/usr/lib"
install -Dm755 /dev/null "${pkgdir}/usr/bin/${_pkgname}"
cat >> "${pkgdir}/usr/bin/${_pkgname}" << EOD
#! /usr/bin/sh
exec $_electron /usr/lib/oblivion-desktop/app.asar "\$@"
EOD
install -Dm644 release/build/linux-unpacked/resources/app.asar -t "${pkgdir}/usr/lib/${_pkgname}"
cp -r release/build/linux-unpacked/resources/assets "${pkgdir}/usr/lib/${_pkgname}"
install -Dm644 "${_pkgname}.desktop" -t "${pkgdir}/usr/share/applications"
install -Dm644 assets/icon.png "${pkgdir}/usr/share/pixmaps/${_pkgname}.png"
install -Dm644 LICENSE.md -t "${pkgdir}/usr/share/licenses/${_pkgname}"
}
# vim:set ts=4 sw=4 et:
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |