rime-pinyin-zhwiktionary-hant

maintainer orphaned · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads data (dictionary titles) from Wikimedia dumps, which is non-executable and used as input for building a Rime dictionary; the source is from an official project domain (dumps.wikimedia.org), so despite the static analyzer flag for non-standard host, it is a legitimate and trusted source for this use case.

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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads data (dictionary titles) from Wikimedia dumps, which is non-executable and used as input for building a Rime dictionary; the source is from an official project domain (dumps.wikimedia.org), so despite the static analyzer flag for non-standard host, it is a legitimate and trusted source for this use case.

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:16 https://dumps.wikimedia.org/zhwiktionary/$_zhwiktionaryver/zhwiktionary-$_zhwiktionaryver-all-titles-in-ns0.gz

PKGBUILD

1 offending line(s) highlighted
1# Contributor: Felix Yan <felixonmars@archlinux.org>
2# Contributor: Kasei Wang <kasei@kasei.im>
3# Maintainer: Kisaragi Hiu <mail@kisaragi-hiu.com>
4
5pkgname=rime-pinyin-zhwiktionary-hant
6_converter=rime-pinyin-zhwiktionary-hant-converter
7_zhwiktionaryver=latest
8pkgver=0.20240401
9pkgrel=1
10pkgdesc="Rime Pinyin (+ tones) Dictionary for zh.wiktionary.org (Traditional Chinese)"
11arch=('any')
12url="https://github.com/kisaragi-hiu/rime-pinyin-zhwiktionary-hant"
13license=('CC-BY-3.0' 'GFDL-1.3-only')
14makedepends=('opencc' 'pypinyin' 'git')
15source=(git+https://github.com/kisaragi-hiu/rime-pinyin-zhwiktionary-hant-converter
16 https://dumps.wikimedia.org/zhwiktionary/$_zhwiktionaryver/zhwiktionary-$_zhwiktionaryver-all-titles-in-ns0.gz
17 https://dumps.wikimedia.org/zhwiktionary/$_zhwiktionaryver/zhwiktionary-$_zhwiktionaryver-md5sums.txt
18 https://www.gnu.org/licenses/fdl-1.3.txt)
19sha512sums=('SKIP'
20 'SKIP'
21 'SKIP'
22 '22d46818d3998ad841f537af4de7c50440dd918099fb6c5d4ab324cd71dc03066bfe1b67210a5efde77abd1d97b88da3c3dbfc39a24ae7248ee2d64e7f0fe6bb')
23
24_make="make -L VERSION=$_zhwiktionaryver"
25
26pkgver() {
27 if [[ $(head -1 zhwiktionary-$_zhwiktionaryver-md5sums.txt) =~ [[:digit:]]{8} ]]; then
28 echo 0.${BASH_REMATCH[0]}
29 fi
30}
31
32prepare() {
33 cd $_converter
34 # Workaround pacman decompression
35 touch zhwiktionary-$_zhwiktionaryver-all-titles-in-ns0.gz
36 ln -sf ../zhwiktionary-$_zhwiktionaryver-all-titles-in-ns0
37}
38
39build() {
40 cd $_converter
41 $_make build
42}
43
44# package_fcitx5-pinyin-zhwiktionary-hant() {
45# cd $_converter
46# $_make DESTDIR="$pkgdir" install
47# install -Dm644 ../fdl-1.3.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
48# }
49
50package() {
51 cd $_converter
52 $_make DESTDIR="$pkgdir" install
53 install -Dm644 ../fdl-1.3.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
54}
55

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 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