i4tools-bin

maintainer maoyaotang1 · 1 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged This PKGBUILD installs a prebuilt proprietary binary application (i4tools, an iOS device management tool from a Chinese vendor) downloaded from d-updater.i4.cn, which is a subdomain of the vendor's own domain (i4.cn). The host is not a random personal server — it appears to be the vendor's own update/distribution CDN. A SHA256 checksum is present. However, the core concern remains: this is a closed-source, prebuilt binary from a proprietary Chinese vendor being installed system-wide with full user privileges, and the binary is not reproducible or auditable. The supply-chain risk is real (if the CDN is compromised or the vendor pushes a malicious update, users are affected), but this is the standard risk profile for any proprietary binary package in the AUR (e.g., zoom, discord, etc.). The cheaper model's concern about the host being 'non-whitelisted' is somewhat overstated since d-updater.i4.cn is the vendor's own infrastructure. The medium rating is still appropriate given the opaque prebuilt binary nature and the fact that it installs executables that run with user privileges, but this is not elevated to high as there is no evidence of active malice or obfuscation.

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: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"
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): This PKGBUILD installs a prebuilt proprietary binary application (i4tools, an iOS device management tool from a Chinese vendor) downloaded from d-updater.i4.cn, which is a subdomain of the vendor's own domain (i4.cn). The host is not a random personal server — it appears to be the vendor's own update/distribution CDN. A SHA256 checksum is present. However, the core concern remains: this is a closed-source, prebuilt binary from a proprietary Chinese vendor being installed system-wide with full user privileges, and the binary is not reproducible or auditable. The supply-chain risk is real (if the CDN is compromised or the vendor pushes a malicious update, users are affected), but this is the standard risk profile for any proprietary binary package in the AUR (e.g., zoom, discord, etc.). The cheaper model's concern about the host being 'non-whitelisted' is somewhat overstated since d-updater.i4.cn is the vendor's own infrastructure. The medium rating is still appropriate given the opaque prebuilt binary nature and the fact that it installs executables that run with user privileges, but this is not elevated to high as there is no evidence of active malice or obfuscation.

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.01.003
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=('aec5ceff17c09bb6ac8741684198702f451c0de14c7bbc250d42b7527bc8fa03'
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-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 00:05:41 MEDIUM 2
2026-07-15 00:09:25 MEDIUM 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion