deezer-enhanced-git

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