slack-electron
maintainer carsme
· 35 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a Slack .deb from Slack's official domain (downloads.slack-edge.com), which is the project's legitimate release infrastructure; despite the static analyzer flag for a non-standard host, this is a normal and expected source for the software, and the checksums are provided and valid.
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 package downloads a Slack .deb from Slack's official domain (downloads.slack-edge.com), which is the project's legitimate release infrastructure; despite the static analyzer flag for a non-standard host, this is a normal and expected source for the software, and the checksums are provided and valid.
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:25
"$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: Carl Smedstad <carsme@archlinux.org>
2
# Contributor: Luis Martinez <luis dot martinez at disroot dot org>
3
# Contributor: Moon Sungjoon <sumoon at seoulsaram dot org>
4
# Contributor: Yurii Kolesnykov <root@yurikoles.com>
5
6
pkgname=slack-electron
7
pkgver=4.50.140
8
pkgrel=1
9
pkgdesc="Slack Desktop (Beta) for Linux, using the system Electron package"
10
arch=(x86_64)
11
url="https://slack.com/downloads/linux"
12
license=(LicenseRef-SlackProprietary)
13
_electronver=42
14
depends=(
15
"electron$_electronver"
16
glibc
17
libstdc++
18
libx11
19
libxkbfile
20
)
21
optdepends=('libappindicator-gtk3: for notification indicator in the status bar on GNOME')
22
provides=(slack-desktop)
23
conflicts=(slack-desktop)
24
source=(
25
"$pkgname-$pkgver.deb::https://downloads.slack-edge.com/desktop-releases/linux/x64/$pkgver/slack-desktop-$pkgver-amd64.deb"
26
"slack.sh"
27
)
28
noextract=("$pkgname-$pkgver.deb")
29
b2sums=(
30
'37d24bee70967c9611752711c52e6d5ced7e07f460120a4117280208ddfdbdb02046d95635b7dd516f187a0e0342e0546f97e24046ec01d7e0f97aad3ac8efcf'
31
'bfed1f29617c53e52a437203e06d1bd6fb6dc7057e329e92d1bb375a6b95646a7eaa5a9b4e49be22bc56f89b316279950ce7119f0970daf1ca12641a6751ae23'
32
)
33
34
_archive="$pkgname-$pkgver"
35
36
prepare() {
37
sed -i "s/@ELECTRON_VERSION@/$_electronver/" slack.sh
38
39
mkdir -p "$_archive"
40
bsdtar -xf "$pkgname-$pkgver.deb" -C "$_archive"
41
bsdtar -xf "$_archive/data.tar.xz" -C "$_archive"
42
43
cd "$_archive"
44
45
grep -q "^$_electronver" usr/lib/slack/version \
46
|| (
47
echo "Electron version mismatch"
48
exit 1
49
)
50
51
# Enable slack silent mode and fix icon
52
sed -ri \
53
-e 's|^(Exec=.+/slack)(.+)|\1 -s\2|' \
54
-e 's/^Icon=.+slack\.png/Icon=slack/' \
55
usr/share/applications/slack.desktop
56
57
# Slack is hard-coded to disable screen sharing on Wayland - remove this
58
# limitation.
59
sed -i 's|,"WebRTCPipeWireCapturer"|,"xxxxxxxxxxxxxxxxxxxxxx"|' \
60
usr/lib/slack/resources/app.asar
61
}
62
63
package() {
64
cd "$_archive"
65
66
install -vdm755 "$pkgdir/usr/lib/slack/resources/"
67
cp -va -t "$pkgdir/usr/lib/slack/resources/" usr/lib/slack/resources/*
68
69
install -vdm755 "$pkgdir/usr/lib/slack/locales/"
70
cp -va -t "$pkgdir/usr/lib/slack/locales/" usr/lib/slack/locales/*
71
72
install -vDm644 -t "$pkgdir/usr/lib/slack" \
73
usr/lib/slack/LICENSE \
74
usr/lib/slack/LICENSES-linux.json \
75
usr/lib/slack/resources.pak \
76
usr/lib/slack/version
77
78
install -vDm755 "$srcdir/slack.sh" "$pkgdir/usr/bin/slack"
79
80
install -vDm644 -t "$pkgdir/usr/share/applications" usr/share/applications/slack.desktop
81
install -vDm644 -t "$pkgdir/usr/share/pixmaps" usr/share/pixmaps/slack.png
82
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" usr/lib/slack/LICENSE
83
}
84
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 |