discord-canary
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
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)
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# Contributor: Filipe Laíns (FFY00) <lains@archlinux.org>
# Contributor: Morgan <morganamilo@archlinux.org>
# Contributor: Robin Candau <antiz@archlinux.org>
# Contributor: Christian Heusel <gromit@archlinux.org>
# Contributor: T.J. Townsend <blakkheim@archlinux.org>
pkgname=discord-canary
_pkgname=DiscordCanary
pkgver=1.0.2421
pkgrel=1
pkgdesc="All-in-one voice and text chat for gamers - alpha build"
arch=('x86_64')
url='https://discord.com'
license=('custom')
options=(!debug !strip)
optdepends=('libpulse: PulseAudio support'
'libappindicator-gtk3: Systray indicator support'
'xdg-utils: For opening URLs and files')
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=('95787fd8119965dd857fd908514c1d30380745890bea5da34be0bf50dee54f82b22265dc59fe3bcffaca6bb67603adc9694d9f939a65cbd1465ec188bdec8c9b'
'SKIP'
'SKIP')
# Skip license hashes as they are unstable (discord#2)
# Since "updpkgsums"/"pkgctl version upgrade" overwrite the checksum array with
# literal hashes, set them to SKIP with indexed assignments (pacman-contrib#119)
# https://gitlab.archlinux.org/archlinux/packaging/packages/discord/-/issues/2
# https://gitlab.archlinux.org/pacman/pacman-contrib/-/issues/119
sha512sums[1]='SKIP'
sha512sums[2]='SKIP'
package() {
depends=('libnotify' 'libxss' 'nspr' 'nss' 'gtk3')
install -d "$pkgdir"/opt/$pkgname
cp -a $_pkgname/. "$pkgdir"/opt/$pkgname
chmod 755 "$pkgdir"/opt/$pkgname/$pkgname
rm "$pkgdir"/opt/$pkgname/postinst.sh
install -d "$pkgdir"/usr/bin
ln -s /opt/$pkgname/$pkgname "$pkgdir"/usr/bin/$pkgname
install -d "$pkgdir"/usr/share/applications
ln -s /opt/$pkgname/$pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
install -d "$pkgdir"/usr/share/icons/hicolor/256x256/apps
ln -s /opt/$pkgname/discord.png "$pkgdir"/usr/share/icons/hicolor/256x256/apps/$pkgname.png
install -Dm644 LICENSE-$pkgver.html "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.html
install -Dm644 OSS-LICENSES-$pkgver.html "$pkgdir"/usr/share/licenses/$pkgname/OSS-LICENSES.html
}
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) | Severity | Rules |
|---|---|---|
| 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 |