pressplay-iris-v2-nearlink
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
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)
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# Maintainer: dxnz <https://github.com/dxnz-id>
pkgname=pressplay-iris-v2-nearlink
pkgver=1.0.3
pkgrel=1
pkgdesc="Press Play IRIS V2 NearLink | Unofficial community mouse software driver for linux"
arch=('x86_64' 'arm64')
url="https://github.com/dxnz-id/pressplay-iris-v2-nearlink"
license=('MIT')
depends=('libnotify' 'libxtst' 'nss' 'atk' 'at-spi2-atk' 'libcups' 'libdrm' 'libxkbcommon' 'mesa' 'pango' 'alsa-lib')
makedepends=('npm' 'nodejs')
source=("git+${url}.git"
"${pkgname}.desktop"
"${pkgname}.sh"
"99-iris.rules")
sha256sums=('SKIP'
'SKIP'
'SKIP'
'SKIP')
prepare() {
cd "${pkgname}"
npm install
}
build() {
cd "${pkgname}"
# Run build script if necessary (e.g., vite build)
# Based on package.json, it seems to use electron-builder directly
# We use 'dir' target to get unpacked files
npx electron-builder --linux dir
}
package() {
# Install the main app files to /opt
install -d "${pkgdir}/opt/${pkgname}"
cp -r "${srcdir}/${pkgname}/build-out/linux-unpacked/." "${pkgdir}/opt/${pkgname}/"
# Install the launcher script
install -Dm755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
# Install the desktop entry
install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
# Install the icon
install -Dm644 "${srcdir}/${pkgname}/dist/logo/hhk.png" "${pkgdir}/usr/share/icons/hicolor/512x512/apps/${pkgname}.png"
# Install udev rules
install -Dm644 "${srcdir}/99-iris.rules" "${pkgdir}/usr/lib/udev/rules.d/99-iris.rules"
# Install license
install -Dm644 "${srcdir}/${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |