watt-toolkit-bin-gitee

LOW
maintainer MartianReunion 0 votes scanned 2026-11-01 00:21:48.120785
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
5pkgname=watt-toolkit-bin-gitee
6pkgdesc=一个开源跨平台的多功能Steam工具箱。本包完全等同于watt-toolkit-bin,只是将下载源替换为了gitee。
7pkgver=${_tag//-/.}
8pkgrel=1
9arch=('x86_64')
10url=https://steampp.net/
11license=('GPL-3.0-only')
12provides=('steam++' 'watt-toolkit')
13conflicts=('steam++' 'watt-toolkit')
14options=('staticlibs' '!strip')
15source=(
16 'watt-toolkit.desktop'
17 'set-cap.hook'
18 'watt-toolkit')
19source_x86_64=("Steam++_${pkgver}_x86_64.tar.gz::https://gitee.com/rmbgame/SteamTools/releases/download/${_tag}/Steam%20%20_v${_tag}_linux_x64.tgz")
20sha256sums=('0954edd9bf851e21c5ad4a5fdf8f182d30c4a93bebe97e8d932010e67875e747'
21 '2dbf57bb3cfbc45f3307f2db63ae86907364044b81137f2592363cd120da4f3e'
22 '9b5bb8387964688168e8d928fe6ecca31d9d545681f3a4b7cece444ae0f609a2')
23sha256sums_x86_64=('b733c83aaba7bb6713c97b6c3fb1ec4651a0befea9341fb4ce6e6cda53945ce7')
24
25package(){
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)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