slack-desktop-wayland-bin
maintainer fatihrey
· 9 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The .deb is downloaded from Slack's official CDN (downloads.slack-edge.com) with a b2sum checksum; the 'compressor' and patch files are local/bundled with no URL, so no unverifiable remote execution. The only mild concern is the bundled 'compressor' file whose purpose is unclear but has a checksum, and the package is new with few votes — overall low risk.
Triggered rules
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this MEDIUM, but an AI model (anthropic/claude-sonnet-4.6) reviewed the full PKGBUILD and judged it LOW (confidence 70%): The .deb is downloaded from Slack's official CDN (downloads.slack-edge.com) with a b2sum checksum; the 'compressor' and patch files are local/bundled with no URL, so no unverifiable remote execution. The only mild concern is the bundled 'compressor' file whose purpose is unclear but has a checksum, and the package is new with few votes — overall low risk.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:21
"https://downloads.slack-edge.com/desktop-releases/linux/x64/${pkgver}/${_original_pkgname}-${pkgver}-amd64.deb"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Chris Speck <chris.speck(at)annalise(dot)ai>
2
3
pkgname=slack-desktop-wayland-bin
4
_original_pkgname=slack-desktop
5
pkgver=4.49.89
6
pkgrel=1
7
pkgdesc="Slack Desktop (Beta) for Linux with Wayland Support"
8
arch=('x86_64')
9
url="https://slack.com/downloads"
10
license=('custom')
11
depends=('gtk3' 'libsecret' 'libxss' 'nss' 'pipewire' 'xdg-utils' 'xdg-desktop-portal')
12
optdepends=('libappindicator-gtk3: Systray indicator support'
13
'org.freedesktop.secrets: Keyring password store support'
14
'xdg-desktop-portal-gnome: xdg-desktop-portal support for GNOME'
15
'xdg-desktop-portal-gtk: xdg-desktop-portal support for GNOME and GTK'
16
'xdg-desktop-portal-kde: xdg-desktop-portal support for KDE'
17
'xdg-desktop-portal-lxqt: xdg-desktop-portal support for LXQt'
18
'xdg-desktop-portal-wlr: xdg-desktop-portal support for wlroots-based Wayland compositors'
19
)
20
source=(
21
"https://downloads.slack-edge.com/desktop-releases/linux/x64/${pkgver}/${_original_pkgname}-${pkgver}-amd64.deb"
22
'compressor'
23
"${_original_pkgname}.patch"
24
)
25
26
noextract=("${_original_pkgname}-${pkgver}-amd64.deb")
27
b2sums=('b90f618b90ad1fc0dfa92bc538beb5e44a5719852347db42babde2bdadc6613cead776cb0de54c2c830ba35fba40de58f1b28d3ede8d41a3fd8e206b2b0f8294'
28
'0e5318977aeb8033ec90495008f4d03b003f02fdd4bf764e8963e5b886169b87b65fac6b1b504100c27a30be1d4b923ef2b0212f6e73760737fb9d554f3df6ed')
29
provides=('slack-desktop')
30
conflicts=('slack-desktop' 'slack-electron')
31
32
package() {
33
bsdtar -O -xf "slack-desktop-${pkgver}"*.deb data.tar.xz | bsdtar -C "${pkgdir}" -xJf -
34
35
# Fix hardcoded icon path in .desktop file
36
patch -d "${pkgdir}" -p1 <"${_original_pkgname}".patch
37
38
# Permission fix
39
find "${pkgdir}" -type d -exec chmod 755 {} +
40
41
# Remove all unnecessary stuff
42
rm -rf "${pkgdir}/etc"
43
rm -rf "${pkgdir}/usr/lib/slack/src"
44
rm -rf "${pkgdir}/usr/share/lintian"
45
rm -rf "${pkgdir}/usr/share/doc"
46
47
# Move license
48
install -dm755 "${pkgdir}/usr/share/licenses/${_original_pkgname}"
49
mv "${pkgdir}/usr/lib/slack/LICENSE" "${pkgdir}/usr/share/licenses/${_original_pkgname}"
50
ln -s "/usr/share/licenses/${_original_pkgname}/LICENSE" "${pkgdir}/usr/lib/slack/LICENSE"
51
52
# patch the asar file to fix/enable pipewire
53
# see https://github.com/flathub/com.slack.Slack/issues/101#issuecomment-1807073763
54
sed -i -e 's/,"WebRTCPipeWireCapturer"/,"_ebRTCPipeWireCapturer"/' "${pkgdir}/usr/lib/slack/resources/app.asar"
55
}
56
57
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 11:24:03 | LOW | 3 |
| 2026-08-01 11:20:22 | MEDIUM | 2 |