eot-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
4pkgbase=alibaba-puhuiti
5pkgname=({eot,otf,ttf,woff,woff2}-alibaba-puhuiti alibaba-puhuiti-fontconfig)
6pkgver=3.0
7pkgrel=2
8pkgdesc="Alibaba PuHuiTi fonts"
9arch=(any)
10license=(LicenseRef-AlibabaPuHuiTi)
11_zipname=AlibabaPuHuiTi-3
12url=https://www.alibabafonts.com
13source=("https://puhuiti.oss-cn-hangzhou.aliyuncs.com/$_zipname.zip"
14 75-alibaba.conf
15 AlibabaPuHuiTi.md)
16sha512sums=('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
28package_otf-alibaba-puhuiti () {
29 pkgdesc="$pkgdesc - OTF format"
30 depends=(alibaba-puhuiti-fontconfig)
31 _package_common otf
32}
33
34package_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
42package_woff-alibaba-puhuiti () {
43 pkgdesc="$pkgdesc - WOFF format"
44 _package_common woff
45}
46
47package_eot-alibaba-puhuiti () {
48 pkgdesc="$pkgdesc - EOT format"
49 _package_common eot
50}
51
52package_woff2-alibaba-puhuiti () {
53 pkgdesc="$pkgdesc - WOFF2 format"
54 _package_common woff2
55}
56
57package_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)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion