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
6pkgname=slack-electron
7pkgver=4.50.140
8pkgrel=1
9pkgdesc="Slack Desktop (Beta) for Linux, using the system Electron package"
10arch=(x86_64)
11url="https://slack.com/downloads/linux"
12license=(LicenseRef-SlackProprietary)
13_electronver=42
14depends=(
15 "electron$_electronver"
16 glibc
17 libstdc++
18 libx11
19 libxkbfile
20)
21optdepends=('libappindicator-gtk3: for notification indicator in the status bar on GNOME')
22provides=(slack-desktop)
23conflicts=(slack-desktop)
24source=(
25 "$pkgname-$pkgver.deb::https://downloads.slack-edge.com/desktop-releases/linux/x64/$pkgver/slack-desktop-$pkgver-amd64.deb"
26 "slack.sh"
27)
28noextract=("$pkgname-$pkgver.deb")
29b2sums=(
30 '37d24bee70967c9611752711c52e6d5ced7e07f460120a4117280208ddfdbdb02046d95635b7dd516f187a0e0342e0546f97e24046ec01d7e0f97aad3ac8efcf'
31 'bfed1f29617c53e52a437203e06d1bd6fb6dc7057e329e92d1bb375a6b95646a7eaa5a9b4e49be22bc56f89b316279950ce7119f0970daf1ca12641a6751ae23'
32)
33
34_archive="$pkgname-$pkgver"
35
36prepare() {
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
63package() {
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)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion