iflyime
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:34
"iflyime_${pkgver}_amd64.deb::https://srf.xunfei.cn/sp1/com.iflytek.iflyime_${pkgver}_amd64_kylin_sp1.deb")
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD downloads a prebuilt binary .deb from srf.xunfei.cn, which is the official iFlyTek (Xunfei) software distribution host for their Linux IME product. iFlyTek is a well-known Chinese AI/speech company, and srf.xunfei.cn appears to be their official software release server. The checksums ARE present (sha256sums_x86_64 is provided), so integrity verification is in place. However, the package installs a closed-source, prebuilt binary IME (input method engine) that runs as a background daemon with network access (curl dependency, grpc), and the binary originates from a Chinese vendor's server with no source code available. The symlink hacks (libgrpc++.so.1, libprotobuf.so.17) pointing to system libraries could cause ABI mismatches. The main concern is the closed-source binary with network capabilities from a non-Western vendor, but this is a known legitimate commercial product packaged for AUR — the risk is inherent to the software itself rather than a packaging attack. This is a genuine medium: a prebuilt binary from a vendor host that executes with network access, but with checksums present and from the apparent official vendor.
PKGBUILD
1 offending line(s) highlighted#Maintainer: Lunatic <lunaticzy9527 at gmail dot com>
# Maintainer: taotieren <admin@taotieren.com>
pkgname=iflyime
pkgver=2.0.51
pkgrel=3
pkgdesc="XunFei for Linux (iflyime)"
arch=('x86_64')
url="http://srf.xunfei.cn/"
license=("custom AND LGPL-3.0-or-later")
depends=(
sh
curl
fcitx
gcc-libs
glibc
grpc
hicolor-icon-theme
# "dtkwidget"
libx11
libxtst
qt5-base
protobuf
sqlite
opencc
xdg-utils
zlib
)
makedepends=()
optdepends=()
# install=
options=(!strip !debug)
source_x86_64=(
"iflyime_${pkgver}_amd64.deb::https://srf.xunfei.cn/sp1/com.iflytek.iflyime_${pkgver}_amd64_kylin_sp1.deb")
# soucre_aarch64=(
# "iflyime_${pkgver}_arm64.deb::https://srf.xunfei.cn/sp1/com.iflytek.iflyime_${pkgver}_arm64_kylin_sp1.deb")
source=(
# "iflyime_${pkgver}_amd64.deb::http://packages.deepin.com/deepin/pool/non-free/i/iflyime/iflyime_${pkgver}_amd64.deb"
"https://srf.xunfei.cn/linux/help/agreement.html"
)
sha256sums=('13256d2fe7ace56e536b550423ecced93ac5882a297bf7c4b09db189dc383a4a')
sha256sums_x86_64=('12d84d5b50985d42cb50854c7e3d941a559eb650113118940363ecdb9bee6ac0')
package() {
cd ${srcdir}
tar -xvf data.tar.gz -C "${pkgdir}"
mkdir ${pkgdir}/opt/${pkgname}
chown -R root:root "${pkgdir}"
install -Dvm644 agreement.html ${pkgdir}/usr/share/licenses/$pkgname/license.html
cd ${pkgdir}
rm -rf usr/share/applications
mv opt/apps/com.iflytek.iflyime/entries/{applications,icons} usr/share
mv opt/apps/com.iflytek.iflyime/files/{bin,iflyime-qimpanel,res} opt/${pkgname}
rm -rf opt/apps
sed -i -e 's|apps/com.iflytek.iflyime/files|iflyime|g' \
-e 's|/opt/apps/com.iflytek.iflyime/entries|/usr/share|g' usr/share/applications/iflyime-setting-wizard.desktop
sed -i -e 's|/usr/bin/iflyime-qimpanel|/opt/iflyime/bin/iflyime-qimpanel|g' opt/${pkgname}/bin/iflyime-daemon.sh
rm -rf usr/lib/x86_64-linux-gnu
install -dm755 ${pkgdir}/usr/lib/fcitx/
ln -sf /opt/${pkgname}/bin/libiflyime.so ${pkgdir}/usr/lib/fcitx/fcitx-iflyime.so
ln -sf /opt/${pkgname}/bin/fcitx-iflyime.conf ${pkgdir}/usr/share/fcitx/addon/fcitx-iflyime.conf
ln -sf /opt/${pkgname}/bin/fcitx-iflyime.conf ${pkgdir}/usr/share/fcitx/inputmethod/iflyime.conf
ln -sf /usr/share/icons/hicolor/48x48/apps/iflyime.png ${pkgdir}/usr/share/fcitx/imicon/fcitx-iflyime.png
ln -sf /usr/share/icons/hicolor/48x48/apps/iflyime.png ${pkgdir}/usr/share/fcitx/imicon/iflyime.png
install -Dm0644 /dev/stdin "${pkgdir}/etc/profile.d/${pkgname%-bin}.sh" <<EOF
#!/bin/sh
[ -d /opt/${pkgname}/bin/ ] && append_path '/opt/${pkgname}/bin/'
export PATH
EOF
ln -sf /usr/lib/libgrpc++.so ${pkgdir}/usr/lib/libgrpc++.so.1
ln -sf /usr/lib/libprotobuf.so ${pkgdir}/usr/lib/libprotobuf.so.17
}
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 |