fcitx5-git
LOW
maintainer Capricornus007
11 votes
scanned 2026-09-17 00:27:14.276658
Why flagged
The non-standard host hosts a data-only tarball (dictionary) that is checksum-verified and used as static input; 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 hosts a data-only tarball (dictionary) that is checksum-verified and used as static input; 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:23
"en_dict-${_SPELL_EN_DICT_VER}.tar.gz::http://download.fcitx-im.org/data/en_dict-${_SPELL_EN_DICT_VER}.tar.gz")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Capricornus007 <Capricornus007 at proton dot me>
2
# Co-Maintainer: Felix Yan <felixonmars@archlinux.org>
3
# Contributor: csslayer <wengxt AT gmail com>
4
5
_SPELL_EN_DICT_VER='20121020'
6
_SPELL_EN_DICT_SHA256='c44a5d7847925eea9e4d2d04748d442cd28dd9299a0b572ef7d91eac4f5a6ceb'
7
8
_pkgname=fcitx5
9
pkgname=${_pkgname}-git
10
pkgver=5.1.21.r55.g3b0f5e5f
11
pkgrel=1
12
pkgdesc="Next generation of fcitx"
13
arch=('i686' 'x86_64')
14
url="https://github.com/fcitx/fcitx5"
15
license=('GPL')
16
depends=('cairo' 'enchant' 'iso-codes' 'libgl' 'libxkbcommon-x11' 'pango' 'wayland'
17
'xcb-imdkit-git' 'xcb-util-wm' 'libxkbfile' 'fmt' 'gdk-pixbuf2')
18
makedepends=('extra-cmake-modules' 'git' 'ninja' 'wayland-protocols' 'plasma-wayland-protocols' 'nlohmann-json')
19
provides=($_pkgname)
20
conflicts=($_pkgname)
21
22
source=("git+$url.git"
23
"en_dict-${_SPELL_EN_DICT_VER}.tar.gz::http://download.fcitx-im.org/data/en_dict-${_SPELL_EN_DICT_VER}.tar.gz")
24
sha256sums=('SKIP'
25
'c44a5d7847925eea9e4d2d04748d442cd28dd9299a0b572ef7d91eac4f5a6ceb')
26
27
pkgver() {
28
cd fcitx5
29
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
30
}
31
32
prepare() {
33
cd fcitx5
34
git submodule update --init --recursive
35
36
cd src/modules/spell
37
cp "$srcdir/en_dict-${_SPELL_EN_DICT_VER}.tar.gz" .
38
}
39
40
build(){
41
cd fcitx5
42
43
cmake -GNinja \
44
-DCMAKE_INSTALL_PREFIX=/usr \
45
-DCMAKE_BUILD_TYPE=Release \
46
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
47
-DCMAKE_INSTALL_LIBEXECDIR=/usr/lib \
48
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
49
-DENABLE_SYSTEMD=OFF .
50
ninja
51
}
52
53
check(){
54
cd fcitx5
55
ninja test
56
}
57
58
package() {
59
cd fcitx5
60
DESTDIR="$pkgdir" ninja install
61
}
62
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |