woff-alibaba-puhuiti

LOW
maintainer aperez 1 votes base alibaba-puhuiti scanned 2026-09-17 00:27:14.276658
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-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

Report a package

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

0 / 4000
Your suggestion