ttf-fangzheng
The package installs font files from a mix of CDN and official project domains; while some hosts are non-standard, the files are non-executable data assets with checksums provided (one skipped), and the worst case is limited to data tampering, not code execution.
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 installs font files from a mix of CDN and official project domains; while some hosts are non-standard, the files are non-executable data assets with checksums provided (one skipped), and the worst case is limited to data tampering, not code execution.
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:27
source=("https://imgcdn.umiwi.com/ttf/fangzhengfangsong_gbk.ttf" -
PKGBUILD:29
"https://cdn1.foundertype.com/Public/Uploads/ttf/FZHTK.TTF" -
PKGBUILD:31
"license.html::https://www.foundertype.com/index.php/About/bookAuth/key/my_grfs.html")
PKGBUILD
3 offending line(s) highlighted# Maintainer: Rongbo Wu <wurongbo2012@hotmail.com>
# Contributor: Junfeng Qiao <qiaojunfeng at outlook.com>
# This PKGBUILD helps you install FangZheng GBK fonts for Chinese.
pkgname=ttf-fangzheng
pkgdesc="FangZheng GBK fonts;方正字体"
pkgver=20170101
pkgrel=1
arch=(any)
url='https://www.foundertype.com/heji_i/42.html'
license=(custom)
depends=(fontconfig xorg-fonts-encodings xorg-mkfontscale xorg-mkfontdir)
provides=(ttf-fangzheng)
_ttf_fangzheng=(
#########################################################################################
#文件名 字体名 编码 字体格式 字数 版本号 更新时间
#########################################################################################
fangzhengfangsong_gbk.ttf # 方正仿宋_GBK GBK TTF 21003 5.30 2015-09-02
fangzhengkaiti_gbk.ttf # 方正楷体_GBK GBK TTF 21003 5.30 2015-09-02
FZSSK.TTF # 方正书宋_GBK GBK TTF 21003 5.30 2015-09-02
FZHTK.TTF # 方正黑体_GBK GBK TTF 21003 5.30 2015-09-02
)
DLAGENTS=("https::/usr/bin/curl -A 'Mozilla' -fLC - --retry 3 -o %o %u")
source=("https://imgcdn.umiwi.com/ttf/fangzhengfangsong_gbk.ttf"
"https://imgcdn.umiwi.com/ttf/fangzhengkaiti_gbk.ttf"
"https://cdn1.foundertype.com/Public/Uploads/ttf/FZHTK.TTF"
"https://cdn1.foundertype.com/Public/Uploads/ttf/FZSSK.TTF"
"license.html::https://www.foundertype.com/index.php/About/bookAuth/key/my_grfs.html")
sha256sums=('ef84cfa29b89f5cb7936306ddec54819d7667fec6d028b820cf80794635c043f'
'6527f1a53414d9d1dcdb64f7f26cc451ef7ab2c57a2a2b1a06e5255e97f2d894'
'5be63dbc864f04b012f83db53b2e0ea4a2c70311c4a42cc33c6206ae9cd47ef0'
'00fdbfb433aaf4c00dd02b79319bbfe94ffca399dba1be9e6455e4bb650e0273'
'SKIP')
package() {
install -m755 -d "$pkgdir/usr/share/fonts/fangzheng"
install -m644 ${_ttf_fangzheng[@]} -t "$pkgdir/usr/share/fonts/fangzheng"
install -Dm644 license.html "$pkgdir/usr/share/licenses/$pkgname/license.html"
}
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 |