discord-latest-bin

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

The package downloads a prebuilt .deb from Discord's official distribution domain (dl2.discordapp.net), which is plausibly controlled by the project; although the host is not a standard code forge, it is an official release endpoint for Discord, making the supply chain 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 prebuilt .deb from Discord's official distribution domain (dl2.discordapp.net), which is plausibly controlled by the project; although the host is not a standard code forge, it is an official release endpoint for Discord, making the supply chain 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:18 source=("discord-${pkgver}.deb::https://stable.dl2.discordapp.net/apps/linux/${pkgver}/discord-${pkgver}.deb")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Mathias DeWeerdt <your@email.com>
2pkgname=discord-latest-bin
3pkgver=1.0.151
4pkgrel=1
5pkgdesc="Discord - All-in-one voice, video and text communication (latest upstream .deb release)"
6arch=('x86_64')
7url="https://discord.com"
8license=('LicenseRef-custom')
9depends=('gtk3' 'nss' 'libxss' 'alsa-lib' 'libnotify' 'xdg-utils' 'libglvnd')
10optdepends=(
11 'libappindicator-gtk3: systray support'
12 'libayatana-appindicator: systray support'
13)
14provides=('discord')
15conflicts=('discord')
16# Discord ships pre-built Electron binaries — stripping them breaks the app
17options=('!strip' '!debug')
18source=("discord-${pkgver}.deb::https://stable.dl2.discordapp.net/apps/linux/${pkgver}/discord-${pkgver}.deb")
19sha256sums=('469a6460dad6c2738b358f3ebf44a5210f0298f795287419b93b0724e8e08bfe')
20
21package() {
22 cd "${srcdir}"
23 ar x "discord-${pkgver}.deb"
24
25 local data_tar
26 data_tar=$(find . -maxdepth 1 -name 'data.tar.*' | head -1)
27 [[ -n "${data_tar}" ]] || { echo "error: data.tar.* not found in .deb"; exit 1; }
28 tar xf "${data_tar}" -C "${pkgdir}"
29
30 # Install license — search common locations since path varies between releases
31 local license_file
32 license_file=$(find "${pkgdir}/usr/share/discord" -name 'LICENSE.html' | head -1 || true)
33 if [[ -n "${license_file}" ]]; then
34 install -Dm644 "${license_file}" \
35 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.html"
36 fi
37}
38

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 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