discord-canary

LOW
maintainer timschumi 36 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The package downloads a source tarball from a plausible project-owned host (dl-canary.discordapp.net) which is not on the standard whitelist but is a legitimate distribution domain for Discord Canary; the downloaded content is a prebuilt application, but from an official and expected source, making the risk low despite the non-whitelisted host.

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 source tarball from a plausible project-owned host (dl-canary.discordapp.net) which is not on the standard whitelist but is a legitimate distribution domain for Discord Canary; the downloaded content is a prebuilt application, but from an official and expected source, making the risk low despite the non-whitelisted host.

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.2421
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=('95787fd8119965dd857fd908514c1d30380745890bea5da34be0bf50dee54f82b22265dc59fe3bcffaca6bb67603adc9694d9f939a65cbd1465ec188bdec8c9b'
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-10-31 00:07
+++ PKGBUILD @ 2026-11-01 00:21
@@ -6,7 +6,7 @@
pkgname=discord-canary
_pkgname=DiscordCanary
-pkgver=1.0.2420
+pkgver=1.0.2421
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=('abd5385d041128746541f52bd0ecfdea5c69c0cdfe3720778bd05b77541a189826f87a20b34f002c0628968adcd71b7ef41389930047e4b731fc221271ba8223'
+sha512sums=('95787fd8119965dd857fd908514c1d30380745890bea5da34be0bf50dee54f82b22265dc59fe3bcffaca6bb67603adc9694d9f939a65cbd1465ec188bdec8c9b'
'SKIP'
'SKIP')

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Low 2
2026-10-31 17:58:44 Medium 1
2026-10-31 01:57:41 Medium 1
2026-10-31 00:07:41 Medium 2
2026-10-30 23:57:35 Medium 2
2026-10-30 21:57:10 Medium 1
2026-10-30 19:57:05 Medium 1
2026-10-30 17:56:37 Medium 1
2026-10-30 01:55:02 Medium 2
2026-10-30 00:29:30 Low 2
2026-10-29 23:54:04 Medium 1
2026-10-29 21:53:30 Medium 1
2026-10-29 19:53:24 Medium 1
2026-10-29 17:53:05 Medium 1
2026-10-29 15:52:51 Medium 1
2026-10-29 03:51:44 Medium 1
2026-10-29 01:51:16 Medium 1
2026-10-29 00:13:55 Medium 2
2026-10-28 23:51:05 Medium 2
2026-10-28 17:50:30 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