nerd-fonts-ricty
maintainer orphaned
· 2 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a shell script and patch from a project-associated domain and GitHub to generate a font; the script is patched and run locally, but the sources are from plausible project hosts and the worst case of a malicious swap is limited to font tampering, not arbitrary 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 shell script and patch from a project-associated domain and GitHub to generate a font; the script is patched and run locally, but the sources are from plausible project hosts and the worst case of a malicious swap is limited to font tampering, not arbitrary 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:11
'https://rictyfonts.github.io/files/ricty_generator-4.1.1.sh'
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: LaFr4nc3 <lafr4nc3 at gmail dot com>
2
pkgname=nerd-fonts-ricty
3
pkgver=2.0.0
4
pkgrel=6
5
pkgdesc="Japanese TrueType font for developers by mixing InconsolataGo patched nerd-fonts and Migu 1M."
6
arch=('any')
7
url='https://rictyfonts.github.io/'
8
license=('custom')
9
makedepends=('fontforge' 'python-fonttools' 'nerd-fonts-inconsolata' 'ttf-migu' 'perl-rename')
10
source=(
11
'https://rictyfonts.github.io/files/ricty_generator-4.1.1.sh'
12
'https://gist.githubusercontent.com/LaFr4nc3/70bb0526986953d32d7609d5486d822e/raw/feb7d6e47a849469b0ec455bef6ccfa231bce3d6/ricty_generator.patch'
13
'https://raw.githubusercontent.com/chrissimpkins/fontname.py/afa00311d86c818e46485fcfbd93976ec409ce93/fontname.py'
14
'OFL.txt'
15
'IPA_Font_License_Agreement_v1.0.txt'
16
)
17
sha256sums=(
18
'86bf0fed84ef806690b213798419405d7ca2a1a4bed4f6a28b87c2e2d07ad60d'
19
'96f7acb2a875f5d33cf7aca1a40438a461a5f705865928250a17ed1cc4945cfd'
20
'381d03a8a4e9cddf54b2ba35fa447ae62ee91e8a4cd7106294bd55794794acec'
21
'ca122f3bda0154f692817450168cb650a7fc59ef96c93582acd2e7a744d464d3'
22
'4c84dd528ec3044638ec346fc1ee27cd1eb95dfc04cbc6a881b3ca7a7f517e54'
23
)
24
25
build() {
26
cd "$srcdir"
27
patch -u --follow-symlinks ./ricty_generator-4.1.1.sh < ./ricty_generator.patch
28
chmod +x ./ricty_generator-4.1.1.sh
29
./ricty_generator-4.1.1.sh -dr0 /usr/share/fonts/OTF/{'Inconsolata Nerd Font Complete','Inconsolata Bold Nerd Font Complete'}.otf /usr/share/fonts/TTF/{migu-1m-regular,migu-1m-bold}.ttf
30
perl-rename "s/ /-/g" *.ttf
31
perl-rename "s/Ricty-/Ricty-Nerd-Font-/g" *.ttf
32
perl-rename "s/RictyDiscord-/RictyDiscord-Nerd-Font-/g" *.ttf
33
python fontname.py "Ricty Nerd Font" Ricty-Nerd-Font-*.ttf
34
python fontname.py "Ricty Discord Nerd Font" RictyDiscord-Nerd-Font-*.ttf
35
}
36
37
package() {
38
cd "$srcdir"
39
install -d "$pkgdir/usr/share/fonts/TTF"
40
install -m644 *.ttf "$pkgdir/usr/share/fonts/TTF/"
41
install -d "$pkgdir/usr/share/licenses/$pkgname"
42
install -m644 OFL.txt "$pkgdir/usr/share/licenses/$pkgname/"
43
install -m644 IPA_Font_License_Agreement_v1.0.txt "$pkgdir/usr/share/licenses/$pkgname/"
44
}
45
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 |