spotify-edge

MEDIUM
maintainer Gobidev 12 votes scanned 2026-09-10 21:21:21.441781
View on AUR
Why flagged

The package downloads a prebuilt snap binary from api.snapcraft.io, which is not a standard AUR source host; while the domain is legitimate, the unverifiable binary payload from a third-party service presents a supply-chain risk if the source were compromised or redirected.

Triggered rules

Medium source=() URL on a non-standard host source_untrusted_domain

One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).

  • PKGBUILD:29 "https://api.snapcraft.io/api/v1/snaps/download/${_snapid}_${_snaprev}.snap"
Medium AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is MEDIUM (confidence 95%): The package downloads a prebuilt snap binary from api.snapcraft.io, which is not a standard AUR source host; while the domain is legitimate, the unverifiable binary payload from a third-party service presents a supply-chain risk if the source were compromised or redirected.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Adrian Groh <adrian[dot]groh[at]t[dash]online[dot]de>
2# Contributor: theRealPadster <padspambox at gmail dot com>
3# Based on the authy and spotify AUR packages
4# https://aur.archlinux.org/packages/authy
5# https://aur.archlinux.org/packages/spotify
6# https://unix.stackexchange.com/questions/560065/how-can-i-manually-download-a-snap-package-for-example-with-wget
7
8pkgname=spotify-edge
9pkgver=1.2.96.518
10_commit=g366879e1
11pkgrel=2
12pkgdesc='A proprietary music streaming service. Edge version.'
13arch=('x86_64')
14url='https://www.spotify.com'
15provides=('spotify')
16conflicts=('spotify')
17license=('custom')
18depends=('alsa-lib>=1.0.14' 'gtk3' 'libxss' 'desktop-file-utils' 'openssl' 'nss' 'at-spi2-atk' 'libcurl-gnutls' 'libsm' 'libayatana-appindicator' 'libayatana-indicator')
19optdepends=('ffmpeg4.4: Adds support for playback of local files'
20 'zenity: Adds support for importing local files'
21 'libnotify: Desktop notifications')
22makedepends=('squashfs-tools')
23_snapid='pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7'
24_snaprev='101'
25source=(
26 'spotify.sh'
27 'spotify.protocol'
28 'LICENSE'
29 "https://api.snapcraft.io/api/v1/snaps/download/${_snapid}_${_snaprev}.snap"
30)
31sha512sums=('da48b628a4ea925dd8521133ebf364b261b11aed252d264dde6605d915cdb631919ffe672c58534bcdb60869e5d87a49a60a8198780b99517123f0031e83fdb1'
32 '999abe46766a4101e27477f5c9f69394a4bb5c097e2e048ec2c6cb93dfa1743eb436bde3768af6ba1b90eaac78ea8589d82e621f9cbe7d9ab3f41acee6e8ca20'
33 '2e16f7c7b09e9ecefaa11ab38eb7a792c62ae6f33d95ab1ff46d68995316324d8c5287b0d9ce142d1cf15158e61f594e930260abb8155467af8bc25779960615'
34 '130f79bdeb57aa13fcb38c086a889373f108f2f37fc6b20b4574db28c034518d3812187a099630c73c3ea984bf898dfe20a19e4aeb2b389e9e2efd9ad432b8ab')
35
36prepare() {
37 echo 'Extracting snap file...'
38 unsquashfs -q -f -d "${srcdir}/${pkgname}" "${_snapid}_${_snaprev}.snap"
39}
40
41package() {
42 # Install files
43 install -d "${pkgdir}/opt/spotify"
44 install -d "${pkgdir}/usr/share"
45 install -d "${pkgdir}/usr/bin"
46
47 # copy /usr/share/spotify into /opt/spotify
48 cp -r "${srcdir}/${pkgname}/usr/share/spotify/." "${pkgdir}/opt/spotify"
49
50 # Enable spotify to open URLs from the webapp
51 sed -i 's/^Exec=.*/Exec=spotify --uri=%U/' "${pkgdir}"/opt/spotify/spotify.desktop
52
53 # Fix the icon
54 sed -i 's/^Icon=.*/Icon=spotify-client/' "${pkgdir}"/opt/spotify/spotify.desktop
55
56 # Desktop Entry
57 install -Dm 644 "${pkgdir}"/opt/spotify/spotify.desktop "${pkgdir}"/usr/share/applications/spotify.desktop
58
59 # Copy icons
60 install -Dm 644 "${pkgdir}"/opt/spotify/icons/spotify-linux-512.png "${pkgdir}"/usr/share/pixmaps/spotify-client.png
61
62 for size in 22 24 32 48 64 128 256 512; do
63 install -Dm 644 "${pkgdir}/opt/spotify/icons/spotify-linux-$size.png" \
64 "${pkgdir}/usr/share/icons/hicolor/${size}x${size}/apps/spotify.png"
65 done
66
67 # Copy launch script which allows the use of custom flags
68 install -Dm 755 spotify.sh "${pkgdir}/usr/bin/spotify"
69
70 # Copy protocol file for KDE
71 install -Dm 644 "${srcdir}/spotify.protocol" "${pkgdir}/usr/share/kservices5/spotify.protocol"
72
73 # Install license
74 # https://www.spotify.com/legal/end-user-agreement
75 # TODO: should this be in a folder called spotify or spotify-edge?
76 install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
77
78 # Fix permissions
79 chmod -R go-w "${pkgdir}"
80}
81

Changes since previous scan

--- PKGBUILD @ 2026-06-20 16:03
+++ PKGBUILD @ 2026-09-10 21:21
@@ -6,22 +6,22 @@
# https://unix.stackexchange.com/questions/560065/how-can-i-manually-download-a-snap-package-for-example-with-wget
pkgname=spotify-edge
-pkgver=1.2.86.502
-_commit=g8cd7fb22
-pkgrel=1
+pkgver=1.2.96.518
+_commit=g366879e1
+pkgrel=2
pkgdesc='A proprietary music streaming service. Edge version.'
arch=('x86_64')
url='https://www.spotify.com'
provides=('spotify')
conflicts=('spotify')
license=('custom')
-depends=('alsa-lib>=1.0.14' 'gtk3' 'libxss' 'desktop-file-utils' 'openssl' 'nss' 'at-spi2-atk' 'libcurl-gnutls' 'libsm' 'libayatana-appindicator')
+depends=('alsa-lib>=1.0.14' 'gtk3' 'libxss' 'desktop-file-utils' 'openssl' 'nss' 'at-spi2-atk' 'libcurl-gnutls' 'libsm' 'libayatana-appindicator' 'libayatana-indicator')
optdepends=('ffmpeg4.4: Adds support for playback of local files'
'zenity: Adds support for importing local files'
'libnotify: Desktop notifications')
makedepends=('squashfs-tools')
_snapid='pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7'
-_snaprev='94'
+_snaprev='101'
source=(
'spotify.sh'
'spotify.protocol'
@@ -31,7 +31,7 @@
sha512sums=('da48b628a4ea925dd8521133ebf364b261b11aed252d264dde6605d915cdb631919ffe672c58534bcdb60869e5d87a49a60a8198780b99517123f0031e83fdb1'
'999abe46766a4101e27477f5c9f69394a4bb5c097e2e048ec2c6cb93dfa1743eb436bde3768af6ba1b90eaac78ea8589d82e621f9cbe7d9ab3f41acee6e8ca20'
'2e16f7c7b09e9ecefaa11ab38eb7a792c62ae6f33d95ab1ff46d68995316324d8c5287b0d9ce142d1cf15158e61f594e930260abb8155467af8bc25779960615'
- 'c29f831cb149335c96869d963429ef52b2c9521756a81ecebe422e9632cd9a69439b44fed15b7eff3632c7fa46095aa1bf9cf3325e9efb7da13c3fde9473000c')
+ '130f79bdeb57aa13fcb38c086a889373f108f2f37fc6b20b4574db28c034518d3812187a099630c73c3ea984bf898dfe20a19e4aeb2b389e9e2efd9ad432b8ab')
prepare() {
echo 'Extracting snap file...'

Scan history

Scanned at (UTC)SeverityRules
2026-09-10 21:21:21 Medium 2
2026-06-20 16:03:41 Clean 2
2026-06-20 00:50:07 Medium 2
2026-06-20 00:18:46 Medium 2
2026-06-19 23:51:18 Medium 2
2026-06-19 19:07:35 Medium 2
2026-06-18 16:11:54 Medium 1

Report a package

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

0 / 4000
Your suggestion