pressplay-iris-v2-nearlink

LOW
maintainer dxnz 0 votes scanned 2026-11-01 00:21:48.120785
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-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