ttf-alibaba-puhuiti
maintainer aperez
· 1 votes
· base
alibaba-puhuiti
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a font archive from Alibaba's own OSS host, which is plausibly the project's official source; fonts are static data files, not executable code, so the worst-case impact of a swapped source 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 downloads a font archive from Alibaba's own OSS host, which is plausibly the project's official source; fonts are static data files, not executable code, so the worst-case impact of a swapped source 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:13
source=("https://puhuiti.oss-cn-hangzhou.aliyuncs.com/$_zipname.zip"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Adrian Perez de Castro <aperez@igalia.com>
2
# Contributor: Yangtse Su <yangtsesu@gmail.com>
3
4
pkgbase=alibaba-puhuiti
5
pkgname=({eot,otf,ttf,woff,woff2}-alibaba-puhuiti alibaba-puhuiti-fontconfig)
6
pkgver=3.0
7
pkgrel=2
8
pkgdesc="Alibaba PuHuiTi fonts"
9
arch=(any)
10
license=(LicenseRef-AlibabaPuHuiTi)
11
_zipname=AlibabaPuHuiTi-3
12
url=https://www.alibabafonts.com
13
source=("https://puhuiti.oss-cn-hangzhou.aliyuncs.com/$_zipname.zip"
14
75-alibaba.conf
15
AlibabaPuHuiTi.md)
16
sha512sums=('56172a008988f67e34f7282157f5e526b3f4f08915642573ae6d019ed31b22a571a6c759edcd068ab5d587a9ae74dfc0b0696a16ea4be1eb3a6e6266b60af99e'
17
'06b3334eea6a9af4b1c8ac3d78a9ecc5cfdccae81dfeeaddc1b3c7f26baa450828952b8460b2f3bd3a03c8c03e4e818c80f97aa9355abc113d0924e82f833366'
18
'72129bbadfdfd015937b5320dcca22d5686f0ee7fc034f5beb7c40ee4260cc9d2ccd3014747a41355372fa9cc54282945a6021cfe07dc1c98e3b54b22fa4b334')
19
20
_package_common () {
21
install -dm755 "$pkgdir/usr/share/licenses/$pkgname"
22
install -Dm644 AlibabaPuHuiTi.md "$pkgdir/usr/share/licenses/$pkgname"
23
24
install -dm755 "$pkgdir/usr/share/fonts/alibaba/$pkgname"
25
install -Dm644 "$_zipname"/*/*.$1 "$pkgdir/usr/share/fonts/alibaba/$pkgname"
26
}
27
28
package_otf-alibaba-puhuiti () {
29
pkgdesc="$pkgdesc - OTF format"
30
depends=(alibaba-puhuiti-fontconfig)
31
_package_common otf
32
}
33
34
package_ttf-alibaba-puhuiti () {
35
pkgdesc="$pkgdesc - TTF format"
36
provides=(alibaba-puhuiti alibaba-sans)
37
replaces=(alibaba-puhuiti alibaba-sans)
38
depends=(alibaba-puhuiti-fontconfig)
39
_package_common ttf
40
}
41
42
package_woff-alibaba-puhuiti () {
43
pkgdesc="$pkgdesc - WOFF format"
44
_package_common woff
45
}
46
47
package_eot-alibaba-puhuiti () {
48
pkgdesc="$pkgdesc - EOT format"
49
_package_common eot
50
}
51
52
package_woff2-alibaba-puhuiti () {
53
pkgdesc="$pkgdesc - WOFF2 format"
54
_package_common woff2
55
}
56
57
package_alibaba-puhuiti-fontconfig () {
58
pkgdesc="$pkgdesc - Fontconfig configuration"
59
conflicts=(alibaba-puhuiti alibaba-sans)
60
install -dm755 "${pkgdir}/usr/share/fontconfig/conf.default"
61
install -Dm644 ${srcdir}/75-alibaba.conf \
62
"${pkgdir}/usr/share/fontconfig/conf.avail/75-alibaba.conf"
63
ln -nsf /usr/share/fontconfig/conf.avail/75-alibaba.conf \
64
"${pkgdir}/usr/share/fontconfig/conf.default/75-alibaba.conf"
65
}
66
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 |