i4tools-bin

LOW
maintainer maoyaotang1 1 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package downloads a prebuilt .deb from the official i4.cn domain, which is plausibly the project's own release infrastructure; the downloaded file is unpacked and installed without executing remote code or introducing untrusted dependencies.

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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a prebuilt .deb from the official i4.cn domain, which is plausibly the project's own release infrastructure; the downloaded file is unpacked and installed without executing remote code or introducing untrusted dependencies.

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:33 "${_pkgname}_${pkgver}_amd64.deb::https://d-updater.i4.cn/i4tools9/download/linux/x64/${_pkgname}_${pkgver}_amd64.deb"
  • PKGBUILD:34 "https://www.i4.cn/copyright.html"

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: MYT1 <MYT1 @ QQ .com>
2# Maintainer: i4 <admin@i4.cn>
3# Maintainer: taotieren <admin@taotieren.com>
4pkgname=i4tools-bin
5_pkgname=cn.i4Tools
6pkgver=9.02.009
7pkgrel=1
8epoch=1
9pkgdesc='爱思助手是一款集“高效管理 iOS 设备数据”,“智能刷机”和“免费下载海量应用游戏、铃声壁纸”等为一体的 iOS 设备管理工具。'
10arch=('x86_64')
11url="https://www.i4.cn/pro_pc.html"
12license=('custom')
13depends=(
14 'bash'
15 'brotli'
16 'curl'
17 'expat'
18 'gcc-libs'
19 'glib2'
20 'glibc'
21 'hicolor-icon-theme'
22 'libffi'
23 'libp11-kit'
24 'openssl'
25 'sqlite'
26 'util-linux-libs'
27 'zlib'
28 'usbmuxd'
29 'libusbmuxd'
30 'libimobiledevice'
31 'libimobiledevice-glue')
32source=(
33 "${_pkgname}_${pkgver}_amd64.deb::https://d-updater.i4.cn/i4tools9/download/linux/x64/${_pkgname}_${pkgver}_amd64.deb"
34 "https://www.i4.cn/copyright.html"
35)
36sha256sums=('aa24bf05f013ee514e9e6ff62af9feb6190ccf64b791a3108b0d09487ede7c09'
37 '79bf7500e724fda34fb534fe2b1e84e16cf39bb1e661e5368534f004dab729a5')
38
39install=i4Tools.install
40
41prepare() {
42 tar -Jxf data.tar.xz -C "${srcdir}"
43}
44
45package() {
46 install -m755 -d "${pkgdir}/opt/${pkgname%-bin}"
47 install -m755 -d "${pkgdir}/usr/share/pixmaps"
48 install -m755 -d "${pkgdir}/usr/share/icons/hicolor/scalable/apps"
49 install -m755 -d "${pkgdir}/usr/bin"
50# install -Dm755 "${srcdir}/opt/apps/cn.i4Tools/"run.sh "${pkgdir}/usr/bin/"${pkgname%-bin}
51 install -Dm644 "${srcdir}/opt/apps/cn.i4Tools/"cn.i4Tools.desktop $pkgdir/usr/share/applications/${pkgname%-bin}.desktop
52 install -Dm644 ${srcdir}/copyright.html "$pkgdir/usr/share/licenses/${pkgname%-bin}/copyright.html"
53 cp -r "${srcdir}/opt/apps/cn.i4Tools/"* "${pkgdir}/opt/${pkgname%-bin}/"
54 sed -i 's|/opt/apps/cn.i4Tools/run.sh|i4tools %u|g' \
55 "$pkgdir/usr/share/applications/"${pkgname%-bin}.desktop
56 sed -i 's|/opt/apps/cn.i4Tools/resources/logo.svg|i4tools|g' \
57 "$pkgdir/usr/share/applications/"${pkgname%-bin}.desktop
58 sed -i 's|utils|Utility;|g' \
59 "$pkgdir/usr/share/applications/"${pkgname%-bin}.desktop
60# sed '7s/.*/ cd \/opt\/i4tools/g' -i "${pkgdir}/opt/i4tools/"run.sh
61 sed -i 's|export QT_AUTO_SCREEN_SCALE_FACTOR=0|export QT_AUTO_SCREEN_SCALE_FACTOR=1|g' \
62 "${pkgdir}/opt/i4tools/"run.sh
63# sed -i '8i\ export LD_LIBRARY_PATH=\/opt\/i4tools\/lib:$LD_LIBRARY_PATH' "${pkgdir}/opt/i4tools/"run.sh
64# cp -r "${srcdir}/opt/apps/cn.i4Tools/"* "${pkgdir}/opt/${pkgname%-bin}/"
65 cd "${srcdir}/opt/apps/cn.i4Tools/resources"
66# cp logo.png "$pkgdir"/usr/share/pixmaps/${pkgname%-bin}.png
67 cp logo.svg "$pkgdir"/usr/share/icons/hicolor/scalable/apps/${pkgname%-bin}.svg
68 ln -s /opt/i4tools/run.sh "${pkgdir}/usr/bin/"${pkgname%-bin}
69 rm -r ${pkgdir}/opt/i4tools/cn.i4Tools.desktop
70 rm -r ${pkgdir}/opt/i4tools/share
71}
72

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 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