super-productivity-git
The npx command runs electron-builder on the locally checked-out project source, which is a standard part of building the application; it does not execute arbitrary remote code.
Triggered rules
llm_review
The static rules flagged this HIGH, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The npx command runs electron-builder on the locally checked-out project source, which is a standard part of building the application; it does not execute arbitrary remote code.
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.
-
PKGBUILD:54
npx electron-builder --linux --dir \
PKGBUILD
1 offending line(s) highlighted# Maintainer: Jonathan Grotelüschen <tippfehlr@archlinux.org>
# Contributor: Mahdi Sarikhani <mahdisarikhani@outlook.com>
# Contributor: Anna <morganamilo@gmail.com>
pkgname=super-productivity-git
_name=super-productivity
pkgver=18.8.0.r82.gfcc421639
pkgrel=1
pkgdesc="An advanced todo list app with timeboxing and time tracking capabilities"
arch=('any')
url="https://super-productivity.com"
license=('MIT')
_electron=electron41
depends=('bash' $_electron 'hicolor-icon-theme')
makedepends=('cargo' 'nvm' 'git')
provides=($_name 'superproductivity')
conflicts=($_name 'superproductivity')
source=(
"git+https://github.com/super-productivity/super-productivity"
"$_name.desktop"
"$_name.sh"
)
sha256sums=('SKIP'
'195157267a8c6159a7ecbf47930431f46913d1e06edb96ed200e3a77f9e8ee45'
'6d4e3f28b3be0530a473af6a6f6270045cc2c60cac8cf02a9a3bd43036ccd448')
_ensure_local_nvm() {
which nvm >/dev/null 2>&1 && nvm deactivate && nvm unload
export NVM_DIR="$srcdir/.nvm"
source /usr/share/nvm/init-nvm.sh || [[ $? != 1 ]]
}
prepare() {
_ensure_local_nvm
sed -i "s/@ELECTRON@/$_electron/" $_name.sh
cd $_name
nvm install
}
pkgver() {
cd $_name
git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
_ensure_local_nvm
cd $_name
export ELECTRON_SKIP_BINARY_DOWNLOAD=1
npm install
npm run build
npx electron-builder --linux --dir \
--config.electronDist="/usr/lib/$_electron" \
--config.electronVersion="$(cat /usr/lib/$_electron/version)"
}
package() {
install -Dm755 $_name.sh "$pkgdir/usr/bin/$_name"
install -Dm644 $_name.desktop -t "$pkgdir/usr/share/applications/"
cd $_name
install -Dm644 .tmp/app-builds/linux-unpacked/resources/app.asar -t "$pkgdir/usr/lib/$_name/"
for i in 16 32 48 64 128 256 512 1024; do
install -Dm644 "build/icons/${i}x${i}.png" "$pkgdir/usr/share/icons/hicolor/${i}x${i}/apps/$_name.png"
done
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
}
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 |