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-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 |
| 2026-10-13 00:23:45 | Low | 2 |