otf-apple-sf-pro
maintainer witt.9099
· 3 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a DMG from Apple's official developer domain, which is a legitimate source for the font; the non-whitelisted host is a subdomain of apple.com, and the payload is a font file, not executable code.
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 DMG from Apple's official developer domain, which is a legitimate source for the font; the non-whitelisted host is a subdomain of apple.com, and the payload is a font file, not executable code.
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:10
source=("${pkgname}-${pkgver}.dmg::https://devimages-cdn.apple.com/design/resources/download/SF-Pro.dmg"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: EEEntity <eeentity at hotmail dot com>
2
3
pkgname='otf-apple-sf-pro'
4
pkgver=22.0d4e4
5
pkgrel=1
6
pkgdesc='Apples San Francisco typeface family. System font.'
7
arch=('any')
8
url='https://developer.apple.com/fonts/'
9
license=('custom:apple-restricted-font')
10
source=("${pkgname}-${pkgver}.dmg::https://devimages-cdn.apple.com/design/resources/download/SF-Pro.dmg"
11
'license.awk'
12
'version.awk')
13
sha256sums=('6311a4f0843a4d2e616a0b05c77512d31d2ea950459cf526cdb5b90996a0794f'
14
'cd45a6edaa3829837b090a5a18d3c906816931e7a779b33b6ada23b49b5a5889'
15
'55a4e9e108e50b07481044fad445636e502f2d95d7e8964e1d4cda3e9618b198')
16
makedepends=('texlive-bin' 'p7zip')
17
options=(!debug)
18
prepare() {
19
# These are dmg images, xar and cpio archives. Just use 7z.
20
7z x -y "${pkgname}-${pkgver}.dmg" > /dev/null
21
7z x -y 'SFProFonts/SF Pro Fonts.pkg' > /dev/null
22
7z x -y 'SFProFonts.pkg/Payload' > /dev/null
23
7z x -y 'Payload~' > /dev/null
24
25
otfinfo -i Library/Fonts/SF-Pro-Display-BoldItalic.otf | \
26
awk -f license.awk > LICENSE
27
}
28
29
package() {
30
install -Dm655 "${srcdir}"/Library/Fonts/*.otf \
31
-t "${pkgdir}/usr/share/fonts/OTF/"
32
install -Dm655 "${srcdir}"/Library/Fonts/*.ttf \
33
-t "${pkgdir}/usr/share/fonts/TTF/"
34
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/AppleFontLicense"
35
}
36
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 |