rime-pinyin-zhwiktionary-hant
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
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)
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# Contributor: Felix Yan <felixonmars@archlinux.org>
# Contributor: Kasei Wang <kasei@kasei.im>
# Maintainer: Kisaragi Hiu <mail@kisaragi-hiu.com>
pkgname=rime-pinyin-zhwiktionary-hant
_converter=rime-pinyin-zhwiktionary-hant-converter
_zhwiktionaryver=latest
pkgver=0.20240401
pkgrel=1
pkgdesc="Rime Pinyin (+ tones) Dictionary for zh.wiktionary.org (Traditional Chinese)"
arch=('any')
url="https://github.com/kisaragi-hiu/rime-pinyin-zhwiktionary-hant"
license=('CC-BY-3.0' 'GFDL-1.3-only')
makedepends=('opencc' 'pypinyin' 'git')
source=(git+https://github.com/kisaragi-hiu/rime-pinyin-zhwiktionary-hant-converter
https://dumps.wikimedia.org/zhwiktionary/$_zhwiktionaryver/zhwiktionary-$_zhwiktionaryver-all-titles-in-ns0.gz
https://dumps.wikimedia.org/zhwiktionary/$_zhwiktionaryver/zhwiktionary-$_zhwiktionaryver-md5sums.txt
https://www.gnu.org/licenses/fdl-1.3.txt)
sha512sums=('SKIP'
'SKIP'
'SKIP'
'22d46818d3998ad841f537af4de7c50440dd918099fb6c5d4ab324cd71dc03066bfe1b67210a5efde77abd1d97b88da3c3dbfc39a24ae7248ee2d64e7f0fe6bb')
_make="make -L VERSION=$_zhwiktionaryver"
pkgver() {
if [[ $(head -1 zhwiktionary-$_zhwiktionaryver-md5sums.txt) =~ [[:digit:]]{8} ]]; then
echo 0.${BASH_REMATCH[0]}
fi
}
prepare() {
cd $_converter
# Workaround pacman decompression
touch zhwiktionary-$_zhwiktionaryver-all-titles-in-ns0.gz
ln -sf ../zhwiktionary-$_zhwiktionaryver-all-titles-in-ns0
}
build() {
cd $_converter
$_make build
}
# package_fcitx5-pinyin-zhwiktionary-hant() {
# cd $_converter
# $_make DESTDIR="$pkgdir" install
# install -Dm644 ../fdl-1.3.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
# }
package() {
cd $_converter
$_make DESTDIR="$pkgdir" install
install -Dm644 ../fdl-1.3.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
}
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 |