fcitx5-shorin-patched-git
LOW
maintainer shorin
0 votes
scanned 2026-11-01 00:21:48.120785
Why flagged
The non-standard host download is a data file (dictionary) for spell checking, not executable code, and is installed as static data; worst case is data tampering, not code execution.
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 non-standard host download is a data file (dictionary) for spell checking, not executable code, and is installed as static data; worst case is data tampering, not code execution.
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:20
"https://download.fcitx-im.org/data/en_dict-$_dictver.tar.gz"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: shorin <fcl709@outlook.com>
2
# Based on the official fcitx5 PKGBUILD by Felix Yan <felixonmars@archlinux.org>
3
4
_pkgname=fcitx5
5
pkgname=${_pkgname}-shorin-patched-git
6
pkgver=5.1.22
7
_dictver=20121020
8
pkgrel=2
9
pkgdesc="Next generation of fcitx (official build + XIM CJK character leak fix)"
10
arch=('x86_64')
11
url="https://github.com/fcitx/fcitx5"
12
license=('LGPL-2.1-or-later' 'Unicode-DFS-2016')
13
groups=('fcitx5-im')
14
depends=('cairo' 'enchant' 'iso-codes' 'libgl' 'libxkbcommon-x11' 'pango' 'systemd' 'wayland'
15
'xcb-imdkit' 'xcb-util-wm' 'libxkbfile' 'gdk-pixbuf2' 'librsvg' 'yoga')
16
makedepends=('git' 'extra-cmake-modules' 'ninja' 'nlohmann-json' 'plasma-wayland-protocols' 'wayland-protocols')
17
provides=("${_pkgname}=${pkgver}" "${_pkgname}-git")
18
conflicts=('fcitx' "${_pkgname}" "${_pkgname}-git")
19
source=("git+https://github.com/fcitx/fcitx5.git#tag=$pkgver?signed"
20
"https://download.fcitx-im.org/data/en_dict-$_dictver.tar.gz"
21
"0001-fix-xim-cjk-leak.patch")
22
noextract=("en_dict-$_dictver.tar.gz")
23
sha512sums=('aeb0d44fe37289f9a6b99142c5a8453ebfbd7cced79bb5d7dcbd8159de433de6027872d5eb7c6c6e74d33d1e34caef0cfa188c6b2c633cc0b265b01a0491c8a0'
24
'8418bd02492bfd786c0fab93be4400ef027ec8e9fac02220cc1f653f5eb67f54573a6a84a15baba19bb34ab892745c87df16499d6304ea75009131e2ab3b97f2'
25
'9033006db6b8530bce9b0ac4be296e691c5d7804aad4df2a297f5d56f6a2bd0502e735e509736da33b935d657fe0d7d926decf7e09ebe3b02419c41d78e2119d')
26
validpgpkeys=('2CC8A0609AD2A479C65B6D5C8E8B898CBF2412F9') # Weng Xuetian <wengxt@gmail.com>
27
options=('!debug')
28
29
prepare() {
30
mv en_dict-$_dictver.tar.gz fcitx5/src/modules/spell/en_dict-$_dictver.tar.gz
31
# grep to make sure the version is correct
32
grep "SPELL_EN_DICT_VER $_dictver" fcitx5/src/modules/spell/CMakeLists.txt
33
34
cd fcitx5
35
patch -Np1 -i "$srcdir/0001-fix-xim-cjk-leak.patch"
36
}
37
38
build() {
39
cd fcitx5
40
41
cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib \
42
-DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib \
43
-DUSE_SYSTEM_YOGA=ON .
44
ninja
45
}
46
47
check() {
48
cd fcitx5
49
ninja test
50
}
51
52
package() {
53
cd fcitx5
54
DESTDIR="$pkgdir" ninja install
55
install -Dm644 LICENSES/Unicode-DFS-2016.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
56
}
57
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |