deezer-enhanced-git
maintainer duzda
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
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
3
pkgname=deezer-enhanced-git
4
_pkgname=deezer-enhanced
5
# version.r0.g<gitcommit>
6
pkgver=v1.5.1.r0.gb3c1416
7
pkgrel=1
8
pkgdesc='An unofficial application for Deezer with enhanced features, that is not just an electron wrapper.'
9
arch=('x86_64' 'armv7h' 'aarch64')
10
url="https://github.com/duzda/deezer-enhanced"
11
license=('MIT')
12
depends=('c-ares' 'ffmpeg' 'gtk3' 'http-parser' 'libevent' 'libvpx' 'libxslt' 'libxss' 'minizip' 'nss' 're2' 'snappy' 'libnotify' 'libappindicator-gtk3' 'libxcrypt-compat')
13
makedepends=('git' 'npm' 'nodejs')
14
provides=('deezer-enhanced')
15
conflicts=('deezer-enhanced')
16
options=('!debug')
17
source=(git+https://github.com/duzda/deezer-enhanced)
18
sha256sums=(SKIP)
19
20
pkgver() {
21
cd "$srcdir/$_pkgname"
22
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
23
}
24
25
build() {
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
32
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |