steamachievementnotifier

LOW
maintainer hawkeye116477 0 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The npx commands are used to run TypeScript compiler and electron-builder on the locally checked-out source code, not to execute arbitrary remote packages; this is a standard part of the build process for Node.js projects.

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 commands are used to run TypeScript compiler and electron-builder on the locally checked-out source code, not to execute arbitrary remote packages; this is a standard part of the build process for Node.js projects.

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:32 npx tsc --build --clean && npx tsc && ./node_modules/.bin/electron-builder --linux --x64 --dir -c.electronDist=/usr/lib/$_electron/ -c.electronVersion=$(cat /usr/lib/$_electron/version)
  • PKGBUILD:32 npx tsc --build --clean && npx tsc && ./node_modules/.bin/electron-builder --linux --x64 --dir -c.electronDist=/usr/lib/$_electron/ -c.electronVersion=$(cat /usr/lib/$_electron/version)

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: hawkeye116477 <hawkeye11647 at gmail dot com>
2pkgname=steamachievementnotifier
3_pkgname="Steam Achievement Notifier"
4_mainver=1.9
5_subver=48
6pkgver="${_mainver}.${_subver}"
7_electron=electron44
8pkgrel=1
9pkgdesc="Shows fully customisable notifications when you unlock any achievement on Steam"
10arch=('x86_64')
11url="https://github.com/SteamAchievementNotifier/SteamAchievementNotifier"
12license=('LicenseRef-unknown')
13provides=("${pkgname}=${pkgver}")
14conflicts=("${pkgname}")
15depends=(
16 "${_electron}"
17)
18makedepends=(
19 'asar'
20 'git'
21 'nodejs-lts'
22 'npm'
23 'python'
24)
25source=("git+https://github.com/SteamAchievementNotifier/SteamAchievementNotifier.git#tag=${pkgver}")
26sha256sums=('SKIP')
27
28
29build() {
30 cd SteamAchievementNotifier
31 HOME="${srcdir}/.electron-gyp" npm install
32 npx tsc --build --clean && npx tsc && ./node_modules/.bin/electron-builder --linux --x64 --dir -c.electronDist=/usr/lib/$_electron/ -c.electronVersion=$(cat /usr/lib/$_electron/version)
33}
34
35package() {
36 cd "SteamAchievementNotifier"
37 install -d "${pkgdir}/usr/lib/${pkgname}"
38 cp -rf _release/linux-unpacked/resources/* "${pkgdir}/usr/lib/${pkgname}/"
39 install -Dm755 /dev/stdin "${pkgdir}/usr/bin/${pkgname}" <<EOF
40#!/usr/bin/bash
41exec $_electron /usr/lib/${pkgname}/app.asar --no-sandbox "\$@"
42EOF
43
44 for i in 32 512; do
45 install -d "$pkgdir/usr/share/icons/hicolor/${i}x${i}/apps"
46 done
47
48 ln -Ts /usr/lib/${pkgname}/img/sanlogo.png \
49 "$pkgdir/usr/share/icons/hicolor/512x512/apps/${pkgname}.png"
50 ln -Ts /usr/lib/${pkgname}/img/32x32.png \
51 "$pkgdir/usr/share/icons/hicolor/32x32/apps/${pkgname}.png"
52
53 install -Dm755 /dev/stdin "${pkgdir}/usr/share/applications/${pkgname}.desktop" <<EOF
54[Desktop Entry]
55Name=Steam Achievement Notifier
56Exec=steamachievementnotifier %U
57Terminal=false
58Type=Application
59Icon=steamachievementnotifier
60StartupWMClass=Steam Achievement Notifier
61Comment=Steam Achievement Notifier
62Categories=Utility;
63EOF
64}

Changes since previous scan

--- PKGBUILD @ 2026-10-27 00:23
+++ PKGBUILD @ 2026-11-01 00:21
@@ -2,9 +2,9 @@
pkgname=steamachievementnotifier
_pkgname="Steam Achievement Notifier"
_mainver=1.9
-_subver=46
+_subver=48
pkgver="${_mainver}.${_subver}"
-_electron=electron42
+_electron=electron44
pkgrel=1
pkgdesc="Shows fully customisable notifications when you unlock any achievement on Steam"
arch=('x86_64')

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 15:48:05 Medium 1
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

Report a package

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

0 / 4000
Your suggestion