nerd-fonts-sf-mono

LOW
maintainer D3SOX 13 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package downloads a font file from Apple's official developer site and a font patcher from GitHub, both legitimate sources; the build process patches fonts locally, which is expected behavior for this type of package, and installs only the resulting font files.

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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a font file from Apple's official developer site and a font patcher from GitHub, both legitimate sources; the build process patches fonts locally, which is expected behavior for this type of package, and installs only the resulting font files.

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=("SF-Mono-$_fontver.dmg::https://developer.apple.com/design/downloads/SF-Mono.dmg" "font-patcher-$pkgver::https://github.com/ryanoasis/nerd-fonts/releases/download/v$pkgver/FontPatcher.zip")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Nico <d3sox at protonmail dot com>
2pkgname=nerd-fonts-sf-mono
3pkgver=3.5.1
4pkgrel=1
5_fontver=15
6pkgdesc="Monospaced variant of San Francisco. Sourced directly from Apple, patched with the Nerd Fonts Patcher"
7arch=('any')
8url='https://developer.apple.com/fonts/'
9license=('custom')
10makedepends=('git' 'p7zip' 'python' 'fontforge' 'subversion' 'parallel')
11conflicts=('nerd-fonts-sf-mono')
12provides=('nerd-fonts-sf-mono')
13source=("SF-Mono-$_fontver.dmg::https://developer.apple.com/design/downloads/SF-Mono.dmg" "font-patcher-$pkgver::https://github.com/ryanoasis/nerd-fonts/releases/download/v$pkgver/FontPatcher.zip")
14sha256sums=('6d4a0b78e3aacd06f913f642cead1c7db4af34ed48856d7171a2e0b55d9a7945'
15 '42bcb32145499a35732274c7fc48deb434ad0d2e0e118f98527c1479c6fa251a')
16
17build() {
18 # remove previous files
19 rm -rf SFMonoFonts
20 # extract dmg
21 7z x "SF-Mono-$_fontver.dmg"
22 # extract pkg
23 bsdtar xvPf "SFMonoFonts/SF Mono Fonts.pkg"
24 bsdtar xvPf "SFMonoFonts.pkg/Payload"
25 # patch fonts
26 mkdir -p "$srcdir/patched"
27 printf "%b" "\e[1;33m==> WARNING: \e[0mNow patching all fonts. This can take a long time depending on your system...\n"
28 # patch fonts quiet with complete single-width glyphs
29 parallel -j$(nproc) python "$srcdir/font-patcher" -q -c -s {} -out "$srcdir/patched" &> /dev/null ::: "$srcdir/Library/Fonts"/*.otf
30}
31
32package() {
33 # install fonts
34 install -d "$pkgdir/usr/share/fonts/apple"
35 install -m644 "patched"/*.otf "$pkgdir/usr/share/fonts/apple/"
36}
37

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