slack-electron
MEDIUM
maintainer furai
34 votes
scanned 2026-10-26 11:44:54.928123
Why flagged
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
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:26
"$pkgname-$pkgver.deb::https://downloads.slack-edge.com/desktop-releases/linux/x64/$pkgver/slack-desktop-$pkgver-amd64.deb"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Andrew Simmons <agsimmons0 at gmail dot com>
2
# Contributor: Carl Smedstad <carsme@archlinux.org>
3
# Contributor: Luis Martinez <luis dot martinez at disroot dot org>
4
# Contributor: Moon Sungjoon <sumoon at seoulsaram dot org>
5
# Contributor: Yurii Kolesnykov <root@yurikoles.com>
6
7
pkgname=slack-electron
8
pkgver=4.52.182
9
pkgrel=1
10
pkgdesc="Slack Desktop (Beta) for Linux, using the system Electron package"
11
arch=(x86_64)
12
url="https://slack.com/downloads/linux"
13
license=(LicenseRef-SlackProprietary)
14
_electronver=44
15
depends=(
16
"electron$_electronver"
17
glibc
18
libstdc++
19
libx11
20
libxkbfile
21
)
22
optdepends=('libappindicator-gtk3: for notification indicator in the status bar on GNOME')
23
provides=(slack-desktop)
24
conflicts=(slack-desktop)
25
source=(
26
"$pkgname-$pkgver.deb::https://downloads.slack-edge.com/desktop-releases/linux/x64/$pkgver/slack-desktop-$pkgver-amd64.deb"
27
"slack.sh"
28
)
29
noextract=("$pkgname-$pkgver.deb")
30
sha256sums=(
31
'568f9e76a143a5ead69645192e38131897f85af7645d7d81897f36fdaac8f700'
32
'1b2229fa419ede9858fb0af5351add8f65ddc573abb043d44b4ef979a8bbd996'
33
)
34
35
_archive="$pkgname-$pkgver"
36
37
prepare() {
38
sed -i "s/@ELECTRON_VERSION@/$_electronver/" slack.sh
39
40
mkdir -p "$_archive"
41
bsdtar -xf "$pkgname-$pkgver.deb" -C "$_archive"
42
bsdtar -xf "$_archive/data.tar.xz" -C "$_archive"
43
44
cd "$_archive"
45
46
grep -q "^$_electronver" usr/lib/slack/version \
47
|| (
48
echo "Electron version mismatch"
49
exit 1
50
)
51
52
# Enable slack silent mode and fix icon
53
sed -ri \
54
-e 's|^(Exec=.+/slack)(.+)|\1 -s\2|' \
55
-e 's/^Icon=.+slack\.png/Icon=slack/' \
56
usr/share/applications/slack.desktop
57
58
# Slack is hard-coded to disable screen sharing on Wayland - remove this
59
# limitation.
60
sed -i 's|,"WebRTCPipeWireCapturer"|,"xxxxxxxxxxxxxxxxxxxxxx"|' \
61
usr/lib/slack/resources/app.asar
62
}
63
64
package() {
65
cd "$_archive"
66
67
install -vdm755 "$pkgdir/usr/lib/slack/resources/"
68
cp -va -t "$pkgdir/usr/lib/slack/resources/" usr/lib/slack/resources/*
69
70
install -vdm755 "$pkgdir/usr/lib/slack/locales/"
71
cp -va -t "$pkgdir/usr/lib/slack/locales/" usr/lib/slack/locales/*
72
73
install -vDm644 -t "$pkgdir/usr/lib/slack" \
74
usr/lib/slack/LICENSE \
75
usr/lib/slack/LICENSES-linux.json \
76
usr/lib/slack/resources.pak \
77
usr/lib/slack/version
78
79
install -vDm755 "$srcdir/slack.sh" "$pkgdir/usr/bin/slack"
80
81
install -vDm644 -t "$pkgdir/usr/share/applications" usr/share/applications/slack.desktop
82
install -vDm644 -t "$pkgdir/usr/share/pixmaps" usr/share/pixmaps/slack.png
83
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" usr/lib/slack/LICENSE
84
}
85
Changes since previous scan
--- PKGBUILD @ 2026-09-17 00:27+++ PKGBUILD @ 2026-10-26 11:44@@ -5,7 +5,7 @@ # Contributor: Yurii Kolesnykov <root@yurikoles.com> pkgname=slack-electron-pkgver=4.52.155+pkgver=4.52.182 pkgrel=1 pkgdesc="Slack Desktop (Beta) for Linux, using the system Electron package" arch=(x86_64)@@ -28,7 +28,7 @@ ) noextract=("$pkgname-$pkgver.deb") sha256sums=(- '966536026f5afcd1c75a395dddd87b9596580931f659b40cebb21ab3add71b2f'+ '568f9e76a143a5ead69645192e38131897f85af7645d7d81897f36fdaac8f700' '1b2229fa419ede9858fb0af5351add8f65ddc573abb043d44b4ef979a8bbd996' ) Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-26 11:44:54 | Medium | 1 |
| 2026-09-17 00:27:14 | Clean | 3 |
| 2026-09-16 13:22:46 | Medium | 2 |
| 2026-09-16 00:03:17 | Low | 3 |
| 2026-09-15 00:25:31 | Low | 3 |
| 2026-09-14 00:27:57 | Low | 3 |
| 2026-09-13 00:19:54 | Low | 3 |
| 2026-09-12 00:25:17 | Low | 3 |
| 2026-09-11 00:19:22 | Low | 3 |
| 2026-09-10 00:22:44 | Low | 3 |
| 2026-09-09 00:04:09 | Low | 3 |
| 2026-09-08 00:18:08 | Low | 3 |
| 2026-09-07 00:30:15 | Low | 3 |
| 2026-09-06 15:12:20 | Medium | 2 |
| 2026-09-06 13:11:32 | Medium | 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 |