sonic-win-bin
This PKGBUILD downloads a prebuilt binary package (a compiled kwin-x11 fork) from x11libre.net, which is a third-party/community host rather than an official upstream release infrastructure (e.g., GitHub releases, official distro mirrors). The binary is then extracted and installed directly into the system. While a sha256sum is provided (providing some integrity check), the trust anchor is only as strong as the host itself — if x11libre.net is compromised or the maintainer of that host acts maliciously, arbitrary code could be executed with root privileges during installation. The package installs into /usr, meaning it replaces system kwin components. This is a genuine supply-chain concern: an executed/installed binary from a non-official personal/community host. The sha256 does not mitigate the risk of the host serving a malicious binary from the start. MEDIUM is the correct rating.
Triggered rules
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:13
source=("https://x11libre.net/repo/arch_based/x86_64/sonicde/${_pkgname2}-${pkgver}-${pkgrel}-x86_64.pkg.tar.zst")
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 82%): This PKGBUILD downloads a prebuilt binary package (a compiled kwin-x11 fork) from x11libre.net, which is a third-party/community host rather than an official upstream release infrastructure (e.g., GitHub releases, official distro mirrors). The binary is then extracted and installed directly into the system. While a sha256sum is provided (providing some integrity check), the trust anchor is only as strong as the host itself — if x11libre.net is compromised or the maintainer of that host acts maliciously, arbitrary code could be executed with root privileges during installation. The package installs into /usr, meaning it replaces system kwin components. This is a genuine supply-chain concern: an executed/installed binary from a non-official personal/community host. The sha256 does not mitigate the risk of the host serving a malicious binary from the start. MEDIUM is the correct rating.
PKGBUILD
1 offending line(s) highlighted# Maintainer: artist for XLibre <artist4xlibre@proton.me>
_pkgname1=kwin-x11
_pkgname2=sonic-win
pkgname="${_pkgname2}-bin"
pkgver=6.6.4.1
pkgrel=1.1
pkgdesc="kwin-x11 with ports from kwin-wayland, bug fixes, and maybe other improvements, for XLibre"
arch=(x86_64)
url="https://github.com/Sonic-DE/${_pkgname2}"
license=('GPL-2.0-or-later')
options=(!strip)
source=("https://x11libre.net/repo/arch_based/x86_64/sonicde/${_pkgname2}-${pkgver}-${pkgrel}-x86_64.pkg.tar.zst")
noextract=("${_pkgname1}-${pkgver}-${pkgrel}-x86_64.pkg.tar.zst")
depends=(aurorae
breeze
gcc-libs
glibc
plasma-activities
kauth
kcmutils
kcolorscheme
kconfig
kcoreaddons
kcrash
kdeclarative
kdecoration
kglobalaccel
kglobalacceld
kguiaddons
ki18n
kirigami
kitemmodels
knewstuff
knotifications
kpackage
kquickcharts
kscreenlocker
kservice
ksvg
kwidgetsaddons
kwindowsystem
kxmlgui
lcms2
libcanberra
libdisplay-info
libdrm
systemd-libs
libepoxy
libplasma=$_pkgver
libqaccessibilityclient-qt6
libx11
libxcb
libxi
libxkbcommon
libxkbcommon-x11
mesa
plasma-x11-session-sonic
qt6-5compat
qt6-base
qt6-declarative
qt6-sensors
qt6-svg
qt6-tools
qt6-wayland
wayland
xcb-util-cursor
xcb-util-keysyms
xcb-util-wm)
provides=($_pkgname kwin-x11 "${_pkgname1}-sonic-bin")
conflicts=($_pkgname kwin-x11 "${_pkgname1}-sonic-bin")
replaces=("${_pkgname1}-sonic-bin")
sha256sums=('bd61b3ca48345d2177446271a7ed5856815fff4d466d2b27f2368484ff9a4889')
package() {
tar -xf "${_pkgname1}-${pkgver}-${pkgrel}-x86_64.pkg.tar.zst" -C "${pkgdir}" usr
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Medium | 2 |
| 2026-09-16 00:03:17 | Medium | 2 |
| 2026-09-15 00:25:31 | Medium | 2 |
| 2026-09-14 00:27:57 | Medium | 2 |
| 2026-09-13 00:19:54 | Medium | 2 |
| 2026-09-12 00:25:17 | Medium | 2 |
| 2026-09-11 00:19:22 | Medium | 2 |
| 2026-09-10 00:22:44 | Medium | 2 |
| 2026-09-09 00:04:09 | Medium | 2 |
| 2026-09-08 00:18:08 | Medium | 2 |
| 2026-09-07 00:30:15 | Medium | 2 |
| 2026-09-06 00:17:06 | Medium | 2 |
| 2026-09-05 00:16:27 | Medium | 2 |
| 2026-09-04 00:03:13 | Medium | 2 |
| 2026-09-03 00:15:47 | Medium | 2 |
| 2026-09-02 00:02:31 | Medium | 2 |
| 2026-09-01 00:11:19 | Medium | 2 |
| 2026-08-31 00:19:57 | Medium | 2 |
| 2026-08-30 00:04:14 | Medium | 2 |
| 2026-08-29 00:29:17 | Medium | 2 |