utools-bin
maintainer zxp19821005
· 5 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a prebuilt .deb from the project's official domain (u-tools.cn), which is not on standard whitelists but plausibly legitimate; the source is a binary release from the vendor, not an obfuscated or untrusted payload, and no remote code execution occurs.
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 .deb from the project's official domain (u-tools.cn), which is not on standard whitelists but plausibly legitimate; the source is a binary release from the vendor, not an obfuscated or untrusted payload, and no remote code execution occurs.
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:22
"${pkgname%-bin}-${pkgver}.deb::https://open.u-tools.cn/download/${pkgname%-bin}_${pkgver}_amd64.deb"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
2
pkgname=utools-bin
3
_pkgname=uTools
4
# 更新日志 https://www.u-tools.cn/docs/guide/changelog.html
5
pkgver=7.8.0
6
_electronversion=22
7
pkgrel=1
8
pkgdesc="uTools Utilities.(Prebuilt version)新一代效率工具平台,自由组合插件应用,打造专属你的趁手工具集"
9
arch=('x86_64')
10
url="https://u.tools"
11
_ghurl="https://github.com/uTools-Labs"
12
license=('LicenseRef-custom')
13
conflicts=("${pkgname%-bin}")
14
provides=("${pkgname%-bin}=${pkgver}")
15
depends=(
16
"electron${_electronversion}"
17
)
18
options=(
19
'!strip'
20
)
21
source=(
22
"${pkgname%-bin}-${pkgver}.deb::https://open.u-tools.cn/download/${pkgname%-bin}_${pkgver}_amd64.deb"
23
"LICENSE-${pkgver}.html::${url}/agreement.html"
24
)
25
sha256sums=('38fd1a7d1b558c55756e1436bd58e7d6fd46eb0271319a4af2113a6188e1857b'
26
'986625f2970528f051391a41b1ede526de70c896209fc5bf818934b88cc12cfd')
27
_get_electron_version() {
28
_elec_ver="$(strings "${srcdir}/opt/${_pkgname}/${pkgname%-bin}" | grep '^Chrome/[0-9.]* Electron/[0-9]' | cut -d'/' -f3 | cut -d'.' -f1)"
29
echo -e "The electron version is: \033[1;31m${_elec_ver}\033[0m"
30
}
31
prepare() {
32
bsdtar -xf "${srcdir}/data."*
33
_get_electron_version
34
sed -i "s/\/opt\/${_pkgname}\///g" "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop"
35
_file_list=(chrome_100_percent.pak chrome_200_percent.pak chrome-sandbox icudtl.dat libEGL.so libffmpeg.so \
36
libGLESv2.so libvk_swiftshader.so libvulkan.so.1 resources.pak vk_swiftshader_icd.json)
37
for _files in "${_file_list[@]}";do
38
ln -sf "/usr/lib/electron${_electronversion}/${_files}" "${srcdir}/opt/${_pkgname}/${_files}"
39
done
40
}
41
package() {
42
install -Dm755 -d "${pkgdir}/usr/bin"
43
cp -Pr --no-preserve=ownership "${srcdir}/opt" "${pkgdir}"
44
ln -sf "/opt/${_pkgname}/${pkgname%-bin}" "${pkgdir}/usr/bin/${pkgname%-bin}"
45
install -Dm644 "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop" -t "${pkgdir}/usr/share/applications"
46
_icon_sizes=(16x16 32x32 48x48 64x64 128x128 256x256 512x512)
47
for _icons in "${_icon_sizes[@]}";do
48
install -Dm644 "${srcdir}/usr/share/icons/hicolor/${_icons}/apps/${pkgname%-bin}.png" \
49
-t "${pkgdir}/usr/share/icons/hicolor/${_icons}/apps"
50
done
51
install -Dm644 "${srcdir}/LICENSE-${pkgver}.html" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.html"
52
}
53
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 |