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-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 |