deezer-enhanced-git

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

The npx command runs electron-forge to build the package from the project's own source; this is a normal part of the build process and not an execution of 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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The npx command runs electron-forge to build the package from the project's own source; this is a normal part of the build process and not an execution of 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:27 npm i && npx electron-forge make --targets pacman

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: duzda <duzda@disroot.org>
2
3pkgname=deezer-enhanced-git
4_pkgname=deezer-enhanced
5# version.r0.g<gitcommit>
6pkgver=v1.5.1.r0.gb3c1416
7pkgrel=1
8pkgdesc='An unofficial application for Deezer with enhanced features, that is not just an electron wrapper.'
9arch=('x86_64' 'armv7h' 'aarch64')
10url="https://github.com/duzda/deezer-enhanced"
11license=('MIT')
12depends=('c-ares' 'ffmpeg' 'gtk3' 'http-parser' 'libevent' 'libvpx' 'libxslt' 'libxss' 'minizip' 'nss' 're2' 'snappy' 'libnotify' 'libappindicator-gtk3' 'libxcrypt-compat')
13makedepends=('git' 'npm' 'nodejs')
14provides=('deezer-enhanced')
15conflicts=('deezer-enhanced')
16options=('!debug')
17source=(git+https://github.com/duzda/deezer-enhanced)
18sha256sums=(SKIP)
19
20pkgver() {
21 cd "$srcdir/$_pkgname"
22 git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
23}
24
25build() {
26 cd "$srcdir/$_pkgname"
27 npm i && npx electron-forge make --targets pacman
28 realversion=$(echo $pkgver | sed 's/v//g;s/\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)\.\(r[0-9]\+\)\.\(g.*\)/\1.\2.\3/')
29 bash pacman-repack.sh $realversion
30}
31
32package() {
33 cd $_pkgname/out/make
34
35 # v0.1.0.r1.g47e2cc3 => 0.1.0
36 realversion=$(echo $pkgver | sed 's/v//g;s/\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)\.\(r[0-9]\+\)\.\(g.*\)/\1.\2.\3/')
37 tar --extract -f $_pkgname-$realversion.pacman
38
39 # Main program
40 install -d "${pkgdir}/opt"
41 cp -r opt "${pkgdir}"
42
43 # Desktop icon + icons
44 install -dm755 "${pkgdir}/usr/"
45 cp -r usr "${pkgdir}"
46
47 cd ../..
48 # License
49 install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
50
51 cd out/make
52 # Post install
53 install -d "$pkgdir/usr/bin"
54 ln -sf "/opt/deezer-enhanced/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
55
56 # SUID chrome-sandbox for Electron 5+
57 chmod 4755 "${pkgdir}/opt/deezer-enhanced/chrome-sandbox" || true
58}
59

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