ttf-golos-text-variable
maintainer aperez
· 0 votes
· base
ttf-golos
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a font archive from a non-whitelisted but project-owned domain (api.paratype.com) and verifies its contents with a b2sum; fonts are static data files, not executable code, so the worst-case impact of a swapped source is limited to cosmetic or display issues.
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 a non-whitelisted but project-owned domain (api.paratype.com) and verifies its contents with a b2sum; fonts are static data files, not executable code, so the worst-case impact of a swapped source is limited to cosmetic or display issues.
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:9
source=("${pkgname}-${pkgver}.zip::https://api.paratype.com/api/editions/ofl/download/66963" b2sums)
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Adrian Perez de Castro <aperez@igalia.com>
2
pkgbase=ttf-golos
3
pkgname=(ttf-golos-text ttf-golos-ui ttf-golos-ui-variable ttf-golos-text-variable)
4
pkgver=2.000
5
pkgrel=7
6
url=https://www.paratype.com/fonts/pt/golos-ui
7
license=(custom:OFL)
8
arch=(any)
9
source=("${pkgname}-${pkgver}.zip::https://api.paratype.com/api/editions/ofl/download/66963" b2sums)
10
11
# Silly server seems to generate a new .zip file each time,
12
# so manually check the contents instead.
13
b2sums=('SKIP'
14
'65f46f4c96382134edd05061bebef02f8654bc3c198c6604be5bf4dead8e76687a18ff2a0d76349829e5d84b29a04eb7c045758ee75ef65eb2cc1784c1ee9d45')
15
16
DLAGENTS=('https::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u --referer https://www.paratype.com/ --user-agent Mozilla')
17
18
prepare () {
19
b2sum -c --strict b2sums
20
}
21
22
_package () {
23
install -m644 -D "${srcdir}/${_zipdir}/OFL.txt" \
24
"${pkgdir}/usr/share/licenses/${pkgname}/OFL.txt"
25
install -m644 -Dt "${pkgdir}/usr/share/fonts/${pkgname}" "$@"
26
}
27
28
package_ttf-golos-text () {
29
pkgdesc='Uniwidth sans-serif font suitable for text'
30
_package PT/PT/Golos-Text/golos-text_{black,bold,demibold,medium,regular}.ttf
31
}
32
33
package_ttf-golos-text-variable () {
34
pkgdesc='Uniwidth sans-serif font suitable for text (variable version)'
35
_package PT/PT/Golos-Text/golos-text_vf.ttf
36
}
37
38
package_ttf-golos-ui () {
39
pkgdesc='Uniwidth sans-serif font suitable for user interfaces'
40
_package PT/PT/Golos-UI/golos-ui_{bold,medium,regular}.ttf
41
}
42
43
package_ttf-golos-ui-variable () {
44
pkgdesc='Uniwidth sans-serif font suitable for user interfaces (variable version)'
45
_package PT/PT/Golos-UI/golos-ui_vf.ttf
46
}
47
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 |