steamachievementnotifier

LOW
maintainer hawkeye116477 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The npx commands are used to build the project from its own source code, which is fetched from the official GitHub repository; this is a normal part of the build process and does not execute untrusted remote code.

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 build the project from its own source code, which is fetched from the official GitHub repository; this is a normal part of the build process and does not execute untrusted remote code.

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=46
6pkgver="${_mainver}.${_subver}"
7_electron=electron42
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-09-16 00:03
+++ PKGBUILD @ 2026-09-17 00:27
@@ -2,7 +2,7 @@
pkgname=steamachievementnotifier
_pkgname="Steam Achievement Notifier"
_mainver=1.9
-_subver=44
+_subver=46
pkgver="${_mainver}.${_subver}"
_electron=electron42
pkgrel=1

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 13:22:46 Medium 1
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

Report a package

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

0 / 4000
Your suggestion