watt-toolkit-bin-gitee
maintainer MartianReunion
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a prebuilt binary from Gitee, a non-whitelisted but plausible project-owned host; however, the source is checksummed, and the binary is from the official project maintainers, posing low risk.
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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a prebuilt binary from Gitee, a non-whitelisted but plausible project-owned host; however, the source is checksummed, and the binary is from the official project maintainers, posing low risk.
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:19
source_x86_64=("Steam++_${pkgver}_x86_64.tar.gz::https://gitee.com/rmbgame/SteamTools/releases/download/${_tag}/Steam%20%20_v${_tag}_linux_x64.tgz")
PKGBUILD
1 offending line(s) highlighted
1
#Maintainer: rmbgame<rmb@rmbgame.net>
2
#Maintainer: AigioL<https://github.com/AigioL>
3
#Maintainer: MartianReunion<martianreunion@zohomail.cn>
4
_tag=3.0.0-rc.9
5
pkgname=watt-toolkit-bin-gitee
6
pkgdesc=一个开源跨平台的多功能Steam工具箱。本包完全等同于watt-toolkit-bin,只是将下载源替换为了gitee。
7
pkgver=${_tag//-/.}
8
pkgrel=1
9
arch=('x86_64')
10
url=https://steampp.net/
11
license=('GPL-3.0-only')
12
provides=('steam++' 'watt-toolkit')
13
conflicts=('steam++' 'watt-toolkit')
14
options=('staticlibs' '!strip')
15
source=(
16
'watt-toolkit.desktop'
17
'set-cap.hook'
18
'watt-toolkit')
19
source_x86_64=("Steam++_${pkgver}_x86_64.tar.gz::https://gitee.com/rmbgame/SteamTools/releases/download/${_tag}/Steam%20%20_v${_tag}_linux_x64.tgz")
20
sha256sums=('0954edd9bf851e21c5ad4a5fdf8f182d30c4a93bebe97e8d932010e67875e747'
21
'2dbf57bb3cfbc45f3307f2db63ae86907364044b81137f2592363cd120da4f3e'
22
'9b5bb8387964688168e8d928fe6ecca31d9d545681f3a4b7cece444ae0f609a2')
23
sha256sums_x86_64=('b733c83aaba7bb6713c97b6c3fb1ec4651a0befea9341fb4ce6e6cda53945ce7')
24
25
package(){
26
depends=(
27
# runtime
28
'libcap' 'aspnet-runtime-8.0' 'nss' 'dotnet-runtime-8.0' 'sh' 'hicolor-icon-theme'
29
# e_sqlite3.so libHarfBuzzSharp.so libSkiaSharp.so
30
'glibc'
31
# Steam++.Accelerator
32
'gcc-libs'
33
# libSkiaSharp.so
34
'fontconfig' 'freetype2' 'expat' 'zlib' 'bzip2' 'libpng' 'harfbuzz' 'brotli' 'glib2' 'graphite' 'pcre2')
35
optdepends=('steam: need official or flatpak version of steam')
36
case ${CARCH} in
37
x86_64)
38
_arch=x64
39
;;
40
aarch64)
41
_arch=arm64
42
;;
43
armv7l)
44
_arch=arm
45
;;
46
*)
47
_arch=${CARCH}
48
;;
49
esac
50
mkdir -p "${pkgdir}/usr/lib/"
51
cp -r "${srcdir}/assemblies" "${pkgdir}/usr/lib/watt-toolkit"
52
cp -r "${srcdir}/native" "${pkgdir}/usr/lib/watt-toolkit"
53
cp -r "${srcdir}/modules" "${pkgdir}/usr/lib/watt-toolkit/modules"
54
# Fix permission
55
find "${pkgdir}/usr/lib/watt-toolkit" -type f -exec chmod 644 {} \;
56
find "${pkgdir}/usr/lib/watt-toolkit/modules" -type f -name 'Steam++.*' -exec chmod 755 {} \;
57
# Strip binary
58
find "${pkgdir}/usr/lib/watt-toolkit" -type f -name '*.dll' -exec strip $STRIP_STATIC {} \;
59
find "${pkgdir}/usr/lib/watt-toolkit" -type f -name '*.so' -exec strip $STRIP_SHARED {} \;
60
install -Dm644 "${srcdir}/Icons/Watt-Toolkit.png" "${pkgdir}/usr/share/icons/hicolor/512x512/apps/watt-toolkit.png"
61
install -Dm755 "${srcdir}/script/environment_check.sh" "${pkgdir}/usr/lib/watt-toolkit/script/environment_check.sh"
62
install -Dm755 "${srcdir}/watt-toolkit" "${pkgdir}/usr/bin/watt-toolkit"
63
install -Dm644 "${srcdir}/set-cap.hook" "${pkgdir}/usr/share/libalpm/hooks/watt-toolkit-set-cap.hook"
64
install -Dm644 "${srcdir}/watt-toolkit.desktop" "${pkgdir}/usr/share/applications/watt-toolkit.desktop"
65
}
66
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 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 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 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |