pressplay-iris-v2-nearlink

maintainer dxnz · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The npx command runs electron-builder on the project's own source code from a git checkout, which is a standard part of building an Electron app; this is not executing arbitrary remote code but running a declared dev dependency against local, auditable source.

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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The npx command runs electron-builder on the project's own source code from a git checkout, which is a standard part of building an Electron app; this is not executing arbitrary remote code but running a declared dev dependency against local, auditable source.

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

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: dxnz <https://github.com/dxnz-id>
2pkgname=pressplay-iris-v2-nearlink
3pkgver=1.0.3
4pkgrel=1
5pkgdesc="Press Play IRIS V2 NearLink | Unofficial community mouse software driver for linux"
6arch=('x86_64' 'arm64')
7url="https://github.com/dxnz-id/pressplay-iris-v2-nearlink"
8license=('MIT')
9depends=('libnotify' 'libxtst' 'nss' 'atk' 'at-spi2-atk' 'libcups' 'libdrm' 'libxkbcommon' 'mesa' 'pango' 'alsa-lib')
10makedepends=('npm' 'nodejs')
11source=("git+${url}.git"
12 "${pkgname}.desktop"
13 "${pkgname}.sh"
14 "99-iris.rules")
15sha256sums=('SKIP'
16 'SKIP'
17 'SKIP'
18 'SKIP')
19
20prepare() {
21 cd "${pkgname}"
22 npm install
23}
24
25build() {
26 cd "${pkgname}"
27 # Run build script if necessary (e.g., vite build)
28 # Based on package.json, it seems to use electron-builder directly
29 # We use 'dir' target to get unpacked files
30 npx electron-builder --linux dir
31}
32
33package() {
34 # Install the main app files to /opt
35 install -d "${pkgdir}/opt/${pkgname}"
36 cp -r "${srcdir}/${pkgname}/build-out/linux-unpacked/." "${pkgdir}/opt/${pkgname}/"
37
38 # Install the launcher script
39 install -Dm755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
40
41 # Install the desktop entry
42 install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
43
44 # Install the icon
45 install -Dm644 "${srcdir}/${pkgname}/dist/logo/hhk.png" "${pkgdir}/usr/share/icons/hicolor/512x512/apps/${pkgname}.png"
46
47 # Install udev rules
48 install -Dm644 "${srcdir}/99-iris.rules" "${pkgdir}/usr/lib/udev/rules.d/99-iris.rules"
49
50 # Install license
51 install -Dm644 "${srcdir}/${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
52}
53

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 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