discord-latest-bin
maintainer SingleCore
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
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>
2
pkgname=discord-latest-bin
3
pkgver=1.0.151
4
pkgrel=1
5
pkgdesc="Discord - All-in-one voice, video and text communication (latest upstream .deb release)"
6
arch=('x86_64')
7
url="https://discord.com"
8
license=('LicenseRef-custom')
9
depends=('gtk3' 'nss' 'libxss' 'alsa-lib' 'libnotify' 'xdg-utils' 'libglvnd')
10
optdepends=(
11
'libappindicator-gtk3: systray support'
12
'libayatana-appindicator: systray support'
13
)
14
provides=('discord')
15
conflicts=('discord')
16
# Discord ships pre-built Electron binaries — stripping them breaks the app
17
options=('!strip' '!debug')
18
source=("discord-${pkgver}.deb::https://stable.dl2.discordapp.net/apps/linux/${pkgver}/discord-${pkgver}.deb")
19
sha256sums=('469a6460dad6c2738b358f3ebf44a5210f0298f795287419b93b0724e8e08bfe')
20
21
package() {
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
Changes since previous scan
--- PKGBUILD @ 2026-07-22 00:29+++ PKGBUILD @ 2026-08-03 00:08@@ -1,6 +1,6 @@ # Maintainer: Mathias DeWeerdt <your@email.com> pkgname=discord-latest-bin-pkgver=1.0.150+pkgver=1.0.151 pkgrel=1 pkgdesc="Discord - All-in-one voice, video and text communication (latest upstream .deb release)" arch=('x86_64')@@ -16,7 +16,7 @@ # Discord ships pre-built Electron binaries — stripping them breaks the app options=('!strip' '!debug') source=("discord-${pkgver}.deb::https://stable.dl2.discordapp.net/apps/linux/${pkgver}/discord-${pkgver}.deb")-sha256sums=('32c82b38fca50e0d2dce33c93d9d5da4fd772507d980eeb8916338ff38a9b027')+sha256sums=('469a6460dad6c2738b358f3ebf44a5210f0298f795287419b93b0724e8e08bfe') package() { cd "${srcdir}"Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 23:36:42 | MEDIUM | 1 |
| 2026-07-22 00:29:32 | CLEAN | 2 |
| 2026-07-21 01:15:36 | MEDIUM | 1 |
| 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 19:52:44 | MEDIUM | 1 |
| 2026-07-16 03:50:18 | MEDIUM | 1 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |
| 2026-07-14 00:09:48 | LOW | 2 |