ttf-fangzheng
maintainer Rainbowu
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
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
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 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)
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: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
1
# Maintainer: Rongbo Wu <wurongbo2012@hotmail.com>
2
# Contributor: Junfeng Qiao <qiaojunfeng at outlook.com>
3
4
# This PKGBUILD helps you install FangZheng GBK fonts for Chinese.
5
6
pkgname=ttf-fangzheng
7
pkgdesc="FangZheng GBK fonts;方正字体"
8
pkgver=20170101
9
pkgrel=1
10
arch=(any)
11
url='https://www.foundertype.com/heji_i/42.html'
12
license=(custom)
13
depends=(fontconfig xorg-fonts-encodings xorg-mkfontscale xorg-mkfontdir)
14
provides=(ttf-fangzheng)
15
16
_ttf_fangzheng=(
17
#########################################################################################
18
#文件名 字体名 编码 字体格式 字数 版本号 更新时间
19
#########################################################################################
20
fangzhengfangsong_gbk.ttf # 方正仿宋_GBK GBK TTF 21003 5.30 2015-09-02
21
fangzhengkaiti_gbk.ttf # 方正楷体_GBK GBK TTF 21003 5.30 2015-09-02
22
FZSSK.TTF # 方正书宋_GBK GBK TTF 21003 5.30 2015-09-02
23
FZHTK.TTF # 方正黑体_GBK GBK TTF 21003 5.30 2015-09-02
24
)
25
26
DLAGENTS=("https::/usr/bin/curl -A 'Mozilla' -fLC - --retry 3 -o %o %u")
27
source=("https://imgcdn.umiwi.com/ttf/fangzhengfangsong_gbk.ttf"
28
"https://imgcdn.umiwi.com/ttf/fangzhengkaiti_gbk.ttf"
29
"https://cdn1.foundertype.com/Public/Uploads/ttf/FZHTK.TTF"
30
"https://cdn1.foundertype.com/Public/Uploads/ttf/FZSSK.TTF"
31
"license.html::https://www.foundertype.com/index.php/About/bookAuth/key/my_grfs.html")
32
33
sha256sums=('ef84cfa29b89f5cb7936306ddec54819d7667fec6d028b820cf80794635c043f'
34
'6527f1a53414d9d1dcdb64f7f26cc451ef7ab2c57a2a2b1a06e5255e97f2d894'
35
'5be63dbc864f04b012f83db53b2e0ea4a2c70311c4a42cc33c6206ae9cd47ef0'
36
'00fdbfb433aaf4c00dd02b79319bbfe94ffca399dba1be9e6455e4bb650e0273'
37
'SKIP')
38
39
package() {
40
install -m755 -d "$pkgdir/usr/share/fonts/fangzheng"
41
install -m644 ${_ttf_fangzheng[@]} -t "$pkgdir/usr/share/fonts/fangzheng"
42
install -Dm644 license.html "$pkgdir/usr/share/licenses/$pkgname/license.html"
43
}
44
45
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |