pressplay-iris-v2-nearlink

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