vortex-v2

LOW
maintainer Doodcom 0 votes scanned 2026-09-17 00:27:14.276658
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-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

Report a package

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

0 / 4000
Your suggestion