i4tools-bin
Triggered rules
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"
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# Maintainer: MYT1 <MYT1 @ QQ .com>
# Maintainer: i4 <admin@i4.cn>
# Maintainer: taotieren <admin@taotieren.com>
pkgname=i4tools-bin
_pkgname=cn.i4Tools
pkgver=9.01.003
pkgrel=1
epoch=1
pkgdesc='爱思助手是一款集“高效管理 iOS 设备数据”,“智能刷机”和“免费下载海量应用游戏、铃声壁纸”等为一体的 iOS 设备管理工具。'
arch=('x86_64')
url="https://www.i4.cn/pro_pc.html"
license=('custom')
depends=(
'bash'
'brotli'
'curl'
'expat'
'gcc-libs'
'glib2'
'glibc'
'hicolor-icon-theme'
'libffi'
'libp11-kit'
'openssl'
'sqlite'
'util-linux-libs'
'zlib'
'usbmuxd'
'libusbmuxd'
'libimobiledevice'
'libimobiledevice-glue')
source=(
"${_pkgname}_${pkgver}_amd64.deb::https://d-updater.i4.cn/i4tools9/download/linux/x64/${_pkgname}_${pkgver}_amd64.deb"
"https://www.i4.cn/copyright.html"
)
sha256sums=('aec5ceff17c09bb6ac8741684198702f451c0de14c7bbc250d42b7527bc8fa03'
'79bf7500e724fda34fb534fe2b1e84e16cf39bb1e661e5368534f004dab729a5')
install=i4Tools.install
prepare() {
tar -Jxf data.tar.xz -C "${srcdir}"
}
package() {
install -m755 -d "${pkgdir}/opt/${pkgname%-bin}"
install -m755 -d "${pkgdir}/usr/share/pixmaps"
install -m755 -d "${pkgdir}/usr/share/icons/hicolor/scalable/apps"
install -m755 -d "${pkgdir}/usr/bin"
# install -Dm755 "${srcdir}/opt/apps/cn.i4Tools/"run.sh "${pkgdir}/usr/bin/"${pkgname%-bin}
install -Dm644 "${srcdir}/opt/apps/cn.i4Tools/"cn.i4Tools.desktop $pkgdir/usr/share/applications/${pkgname%-bin}.desktop
install -Dm644 ${srcdir}/copyright.html "$pkgdir/usr/share/licenses/${pkgname%-bin}/copyright.html"
cp -r "${srcdir}/opt/apps/cn.i4Tools/"* "${pkgdir}/opt/${pkgname%-bin}/"
sed -i 's|/opt/apps/cn.i4Tools/run.sh|i4tools %u|g' \
"$pkgdir/usr/share/applications/"${pkgname%-bin}.desktop
sed -i 's|/opt/apps/cn.i4Tools/resources/logo.svg|i4tools|g' \
"$pkgdir/usr/share/applications/"${pkgname%-bin}.desktop
sed -i 's|utils|Utility;|g' \
"$pkgdir/usr/share/applications/"${pkgname%-bin}.desktop
# sed '7s/.*/ cd \/opt\/i4tools/g' -i "${pkgdir}/opt/i4tools/"run.sh
sed -i 's|export QT_AUTO_SCREEN_SCALE_FACTOR=0|export QT_AUTO_SCREEN_SCALE_FACTOR=1|g' \
"${pkgdir}/opt/i4tools/"run.sh
# sed -i '8i\ export LD_LIBRARY_PATH=\/opt\/i4tools\/lib:$LD_LIBRARY_PATH' "${pkgdir}/opt/i4tools/"run.sh
# cp -r "${srcdir}/opt/apps/cn.i4Tools/"* "${pkgdir}/opt/${pkgname%-bin}/"
cd "${srcdir}/opt/apps/cn.i4Tools/resources"
# cp logo.png "$pkgdir"/usr/share/pixmaps/${pkgname%-bin}.png
cp logo.svg "$pkgdir"/usr/share/icons/hicolor/scalable/apps/${pkgname%-bin}.svg
ln -s /opt/i4tools/run.sh "${pkgdir}/usr/bin/"${pkgname%-bin}
rm -r ${pkgdir}/opt/i4tools/cn.i4Tools.desktop
rm -r ${pkgdir}/opt/i4tools/share
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |