vortex-v2

LOW
maintainer Doodcom 0 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The npx usage in build() runs electron-builder on the project's own source from GitHub, which is a normal part of building an Electron app; the source is verifiable and the command is not executing arbitrary remote code.

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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The npx usage in build() runs electron-builder on the project's own source from GitHub, which is a normal part of building an Electron app; the source is verifiable and the command is not executing arbitrary remote code.

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

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Doodcom <a.munro87@icloud.com>
2# Build from a local checkout:
3# cd packaging && makepkg -si
4# For AUR publishing the source line points at the GitHub release tag.
5
6pkgname=vortex-v2
7pkgver=1.0.3
8pkgrel=1
9pkgdesc="System updater and tuner suite for CachyOS (updates, sched-ext, snapshots, cleaner)"
10arch=('x86_64')
11url="https://github.com/Doodcom/vortex-v2"
12license=('MIT')
13depends=('nss' 'libxtst' 'libxss' 'gtk3' 'mesa' 'alsa-lib')
14makedepends=('git' 'nodejs' 'npm')
15optdepends=(
16 'fwupd: device firmware updates in the Updater'
17 'snapper: pre-upgrade Btrfs snapshots'
18 'ufw: firewall view'
19 'paru: AUR update checks and builds'
20 'pacman-contrib: checkupdates + paccache for update checks and cache cleaning'
21 'scx-scheds: sched-ext schedulers for the Scheduler view and Game Mode'
22 'power-profiles-daemon: power profile switching'
23 'docker: container view'
24 'flatpak: flatpak management in Packages'
25)
26source=("$pkgname-$pkgver.tar.gz::https://github.com/Doodcom/vortex-v2/archive/refs/tags/v$pkgver.tar.gz")
27sha256sums=('febd14a543f7611d2910b3da501529a193a5cca34757c42b3812d38b945fd7a2')
28
29build() {
30 cd "$srcdir/$pkgname-$pkgver"
31 npm ci --legacy-peer-deps
32 npm run build
33 # dir target produces release/linux-unpacked with natives rebuilt for the bundled Electron
34 npx electron-builder --linux dir
35}
36
37package() {
38 cd "$srcdir/$pkgname-$pkgver"
39
40 # App payload
41 install -d "$pkgdir/opt/$pkgname"
42 cp -r release/linux-unpacked/. "$pkgdir/opt/$pkgname/"
43 chmod 4755 "$pkgdir/opt/$pkgname/chrome-sandbox"
44
45 # Launcher with the same GPU/Wayland flags electron-builder bakes into its own targets
46 install -d "$pkgdir/usr/bin"
47 cat > "$pkgdir/usr/bin/$pkgname" <<'EOF'
48#!/usr/bin/env bash
49exec "/opt/vortex-v2/vortex-v2" \
50 --ozone-platform-hint=auto \
51 --enable-features=VaapiVideoDecodeLinuxGL,UseOzonePlatform,WaylandWindowDecorations \
52 --use-gl=egl \
53 --enable-gpu-rasterization \
54 "$@"
55EOF
56 chmod 755 "$pkgdir/usr/bin/$pkgname"
57
58 # Desktop entry + icons
59 install -Dm644 packaging/$pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
60 for size in 128 256 512; do
61 install -Dm644 "build/icons/${size}x${size}.png" \
62 "$pkgdir/usr/share/icons/hicolor/${size}x${size}/apps/$pkgname.png"
63 done
64
65 # Polkit rule: one auth per maintenance run instead of one per pkexec call
66 install -Dm644 resources/polkit/49-vortex.rules "$pkgdir/etc/polkit-1/rules.d/49-vortex.rules"
67
68 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
69}
70

Scan history

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

Report a package

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

0 / 4000
Your suggestion