fcitx5-chinese-addons-without-browser

LOW
maintainer xlucn 0 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The package downloads data files (not executables) from a project-associated domain (download.fcitx-im.org) used by the official project; the worst case of a swapped source is limited to data tampering, not code execution, and the files are verified via checksums.

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 package downloads data files (not executables) from a project-associated domain (download.fcitx-im.org) used by the official project; the worst case of a swapped source is limited to data tampering, not code execution, and the files are verified via checksums.

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/py_stroke-$_py_stroke_ver.tar.gz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Lu Xu <oliver_lew at outlook dot com>
2# Contributor: 1654755689 <1654755689 at qq dot com>
3
4_pkgname=fcitx5-chinese-addons
5pkgname=${_pkgname}-without-browser
6pkgver=5.1.14
7pkgrel=1
8_py_stroke_ver=20250329
9_py_table_ver=20121124
10pkgdesc='Addons related to Chinese, including IME previous bundled inside fcitx4, without webkit or webengine dependencies'
11arch=('x86_64')
12url='https://github.com/fcitx/fcitx5-chinese-addons'
13license=('LGPL-2.1-or-later' 'Unicode-DFS-2016')
14depends=('fcitx5-qt' 'libime' 'opencc' 'hicolor-icon-theme')
15makedepends=('boost' 'extra-cmake-modules' 'fcitx5-lua' 'fmt' 'ninja' 'nlohmann-json')
16optdepends=('fcitx5-lua: Lua and imeapi support from pinyin')
17provides=(${_pkgname})
18conflicts=(${_pkgname})
19source=("${_pkgname}_${pkgver}.tar.gz"::"${url}/archive/refs/tags/${pkgver}.tar.gz"
20 "https://download.fcitx-im.org/data/py_stroke-$_py_stroke_ver.tar.gz"
21 "https://download.fcitx-im.org/data/py_table-$_py_table_ver.tar.gz")
22sha256sums=('12be9ccbc0601f0848f0ec312dfd56ac1dc34318d2fb7927b90201793ec10ecf'
23 'c1a7ca7225d3614ab83353fc827503006a980447762018f53760425d7b5303a6'
24 '42146ac97de6c13d55f9e99ed873915f4c66739e9c11532a34556badf9792c04')
25noextract=("py_stroke-$_py_stroke_ver.tar.gz"
26 "py_table-$_py_table_ver.tar.gz")
27
28prepare() {
29 cd ${_pkgname}-${pkgver}
30
31 mv ../py_stroke-$_py_stroke_ver.tar.gz modules/pinyinhelper/
32 mv ../py_table-$_py_table_ver.tar.gz modules/pinyinhelper/
33 # grep to make sure the version is correct
34 grep "PY_STROKE_VER $_py_stroke_ver" modules/pinyinhelper/CMakeLists.txt
35 grep "PY_TABLE_VER $_py_table_ver" modules/pinyinhelper/CMakeLists.txt
36}
37
38build() {
39 cd ${_pkgname}-${pkgver}
40 cmake -Wno-dev -GNinja \
41 -DCMAKE_BUILD_TYPE=Release \
42 -DCMAKE_INSTALL_PREFIX=/usr \
43 -DCMAKE_INSTALL_LIBDIR=/usr/lib \
44 -DENABLE_BROWSER=off .
45 ninja
46}
47
48package() {
49 cd ${_pkgname}-${pkgver}
50 install -Dm644 COPYING.unicode "${pkgdir}/usr/share/licenses/${pkgname}/Unicode-DFS-2016.txt"
51 DESTDIR="$pkgdir" ninja install
52}
53

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion