nerd-fonts-sf-mono

maintainer D3SOX · 13 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 site and a font patcher from GitHub; both sources are legitimate and the build process involves patching fonts locally, which is expected behavior for this type of package.

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 site and a font patcher from GitHub; both sources are legitimate and the build process involves patching fonts locally, which is expected behavior for this type of package.

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.4.0
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 'a8f11e511ed7c69e96680858c06b50a643ea7752e26d5cd13dd5e5cc53ab1760')
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 will take very long...\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-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