discord-canary

maintainer timschumi · 36 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads a prebuilt tarball from Discord's own CDN domain, which is plausibly official and expected for this application; the worst case of a swapped source would be code execution, but the host is legitimate and the package otherwise behaves normally.

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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a prebuilt tarball from Discord's own CDN domain, which is plausibly official and expected for this application; the worst case of a swapped source would be code execution, but the host is legitimate and the package otherwise behaves normally.

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:19 source=("https://dl-canary.discordapp.net/apps/linux/$pkgver/$pkgname-$pkgver.tar.gz"
  • PKGBUILD:20 "LICENSE-$pkgver.html::https://discordapp.com/terms"

PKGBUILD

2 offending line(s) highlighted
1# Contributor: Filipe Laíns (FFY00) <lains@archlinux.org>
2# Contributor: Morgan <morganamilo@archlinux.org>
3# Contributor: Robin Candau <antiz@archlinux.org>
4# Contributor: Christian Heusel <gromit@archlinux.org>
5# Contributor: T.J. Townsend <blakkheim@archlinux.org>
6
7pkgname=discord-canary
8_pkgname=DiscordCanary
9pkgver=1.0.1572
10pkgrel=1
11pkgdesc="All-in-one voice and text chat for gamers - alpha build"
12arch=('x86_64')
13url='https://discord.com'
14license=('custom')
15options=(!debug !strip)
16optdepends=('libpulse: PulseAudio support'
17 'libappindicator-gtk3: Systray indicator support'
18 'xdg-utils: For opening URLs and files')
19source=("https://dl-canary.discordapp.net/apps/linux/$pkgver/$pkgname-$pkgver.tar.gz"
20 "LICENSE-$pkgver.html::https://discordapp.com/terms"
21 "OSS-LICENSES-$pkgver.html::https://discordapp.com/licenses")
22sha512sums=('54b75921fe23e672bc69d26887190d3bb4c1b0b2b7ed024f2211d24a79aef1a2ff5ce016b9275ea51c68be8f6730e910217f47c86531e686f81efe035250164f'
23 'SKIP'
24 'SKIP')
25
26# Skip license hashes as they are unstable (discord#2)
27# Since "updpkgsums"/"pkgctl version upgrade" overwrite the checksum array with
28# literal hashes, set them to SKIP with indexed assignments (pacman-contrib#119)
29# https://gitlab.archlinux.org/archlinux/packaging/packages/discord/-/issues/2
30# https://gitlab.archlinux.org/pacman/pacman-contrib/-/issues/119
31sha512sums[1]='SKIP'
32sha512sums[2]='SKIP'
33
34package() {
35 depends=('libnotify' 'libxss' 'nspr' 'nss' 'gtk3')
36 install -d "$pkgdir"/opt/$pkgname
37 cp -a $_pkgname/. "$pkgdir"/opt/$pkgname
38
39 chmod 755 "$pkgdir"/opt/$pkgname/$pkgname
40
41 rm "$pkgdir"/opt/$pkgname/postinst.sh
42
43 install -d "$pkgdir"/usr/bin
44 ln -s /opt/$pkgname/$pkgname "$pkgdir"/usr/bin/$pkgname
45
46 install -d "$pkgdir"/usr/share/applications
47 ln -s /opt/$pkgname/$pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
48
49 install -d "$pkgdir"/usr/share/icons/hicolor/256x256/apps
50 ln -s /opt/$pkgname/discord.png "$pkgdir"/usr/share/icons/hicolor/256x256/apps/$pkgname.png
51
52 install -Dm644 LICENSE-$pkgver.html "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.html
53 install -Dm644 OSS-LICENSES-$pkgver.html "$pkgdir"/usr/share/licenses/$pkgname/OSS-LICENSES.html
54}
55

Changes since previous scan

--- PKGBUILD @ 2026-08-01 00:11
+++ PKGBUILD @ 2026-08-03 00:08
@@ -6,7 +6,7 @@
pkgname=discord-canary
_pkgname=DiscordCanary
-pkgver=1.0.1571
+pkgver=1.0.1572
pkgrel=1
pkgdesc="All-in-one voice and text chat for gamers - alpha build"
arch=('x86_64')
@@ -19,7 +19,7 @@
source=("https://dl-canary.discordapp.net/apps/linux/$pkgver/$pkgname-$pkgver.tar.gz"
"LICENSE-$pkgver.html::https://discordapp.com/terms"
"OSS-LICENSES-$pkgver.html::https://discordapp.com/licenses")
-sha512sums=('b43d2e0c7a4ca4f18411a31c276119890998ca4e35902da2838b1395cbf36d17810d5a3d813e22300ccaff5717e593aa970eee94df4dd1539ce029fd26005d5a'
+sha512sums=('54b75921fe23e672bc69d26887190d3bb4c1b0b2b7ed024f2211d24a79aef1a2ff5ce016b9275ea51c68be8f6730e910217f47c86531e686f81efe035250164f'
'SKIP'
'SKIP')

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 01:19:40 MEDIUM 1
2026-08-01 00:11:18 LOW 2
2026-07-31 19:18:43 MEDIUM 1
2026-07-31 03:17:12 MEDIUM 1
2026-07-31 00:14:10 LOW 2
2026-07-30 23:17:02 MEDIUM 1
2026-07-30 21:16:48 MEDIUM 1
2026-07-30 19:16:23 MEDIUM 1
2026-07-30 01:13:52 MEDIUM 1
2026-07-30 00:17:23 LOW 2
2026-07-29 23:13:22 MEDIUM 1
2026-07-29 21:12:47 MEDIUM 1
2026-07-29 19:12:33 MEDIUM 1
2026-07-29 01:40:32 MEDIUM 1
2026-07-29 00:25:53 LOW 2
2026-07-28 23:39:52 MEDIUM 1
2026-07-28 21:39:42 MEDIUM 1
2026-07-28 19:39:35 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