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