wooting-bg-service
maintainer parzival-space
· 4 votes
· scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged
The package downloads a prebuilt AppImage from a non-whitelisted but project-related API domain; while the checksum is verified, the source is an unverifiable binary executable from a non-standard host, posing a potential supply-chain risk if the host were compromised.
Triggered rules
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=("${_appImageFile}::https://api.wooting.io/public/bg-service/download-installer?target=linux&version=${pkgver}")
MEDIUM
AI review
llm_review
An AI model (qwen/qwen3-235b-a22b-07-25) reviewed this and agrees it is MEDIUM (confidence 95%): The package downloads a prebuilt AppImage from a non-whitelisted but project-related API domain; while the checksum is verified, the source is an unverifiable binary executable from a non-standard host, posing a potential supply-chain risk if the host were compromised.
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Malte Linke <me@parzival.space>
2
3
pkgname=wooting-bg-service
4
pkgdesc='Wooting Background Service for Wootility'
5
pkgver=0.4.8
6
pkgrel=2
7
arch=('x86_64')
8
url="https://wooting.io/wootility"
9
license=(unknown)
10
provides=('wooting-bg-service')
11
conflicts=('wooting-bg-service')
12
depends=(glibc fuse2 hicolor-icon-theme zlib)
13
options=(!strip)
14
15
_appImageFile="${pkgname}-${pkgver}.AppImage"
16
_desktopFile="Wooting Background Service.desktop"
17
18
noextract=("${_appImageFile}")
19
source=("${_appImageFile}::https://api.wooting.io/public/bg-service/download-installer?target=linux&version=${pkgver}")
20
sha256sums=('b327b3871dcc139c05c4b6dadd6ebe51dacf1740df6f109dd6efbac970abeb32')
21
22
prepare() {
23
# create copy of appimage file in case the build dir is mounted with noexec
24
cp "${_appImageFile}" "${_appImageFile}.copy"
25
chmod +x "${_appImageFile}.copy"
26
27
# extract the appimage
28
./${_appImageFile}.copy --appimage-extract "usr/share/applications"
29
./${_appImageFile}.copy --appimage-extract "usr/share/icons"
30
rm ${_appImageFile}.copy
31
}
32
33
build() {
34
# Adjust .desktop so it will work outside of AppImage container, add Utility category
35
sed -i -E "s|Exec=AppRun|Exec=env DESKTOPINTEGRATION=false /usr/bin/${pkgname}|" "squashfs-root/usr/share/applications/${_desktopFile}"
36
echo "Categories=Utility;" >> "squashfs-root/usr/share/applications/${_desktopFile}"
37
38
# Fix permissions; .AppImage permissions are 700 for all directories
39
chmod -R a-x+rX squashfs-root/usr
40
}
41
42
package() {
43
install -Dm755 ${_appImageFile} -t "${pkgdir}/opt/${pkgname}"
44
45
# Symlink executable
46
install -d "${pkgdir}/usr/bin/"
47
ln -s /opt/${pkgname}/${_appImageFile} "${pkgdir}/usr/bin/${pkgname}"
48
49
# Install desktop entry and icons
50
install -Dm644 "squashfs-root/usr/share/applications/${_desktopFile}" -t "${pkgdir}/usr/share/applications"
51
install -d "${pkgdir}/usr/share/"
52
cp -a squashfs-root/usr/share/icons "${pkgdir}/usr/share/"
53
}
54
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | MEDIUM | 2 |
| 2026-08-02 00:16:08 | MEDIUM | 2 |
| 2026-08-01 00:11:18 | MEDIUM | 2 |
| 2026-07-31 00:14:10 | MEDIUM | 2 |
| 2026-07-30 00:17:23 | MEDIUM | 2 |
| 2026-07-29 00:25:53 | MEDIUM | 2 |
| 2026-07-28 00:07:28 | MEDIUM | 2 |
| 2026-07-27 00:24:32 | MEDIUM | 2 |
| 2026-07-26 00:07:32 | MEDIUM | 2 |
| 2026-07-25 00:13:44 | MEDIUM | 2 |
| 2026-07-24 00:02:28 | MEDIUM | 2 |
| 2026-07-23 00:14:47 | MEDIUM | 2 |
| 2026-07-22 00:29:32 | MEDIUM | 2 |
| 2026-07-21 00:24:15 | MEDIUM | 2 |
| 2026-07-20 00:19:49 | MEDIUM | 2 |
| 2026-07-19 00:17:08 | MEDIUM | 2 |
| 2026-07-18 00:14:48 | MEDIUM | 2 |
| 2026-07-17 00:06:16 | MEDIUM | 2 |
| 2026-07-16 07:51:00 | MEDIUM | 2 |
| 2026-07-16 00:05:41 | MEDIUM | 2 |