dina-font

LOW
maintainer ParaSait 7 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The package downloads a font source archive from a non-whitelisted but plausibly project-owned host; the build process converts BDF font files to PCF format, which is normal for font packages, and installs only font and config files—non-executable data with no code execution risk.

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 source archive from a non-whitelisted but plausibly project-owned host; the build process converts BDF font files to PCF format, which is normal for font packages, and installs only font and config files—non-executable data with no code execution risk.

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:14 source=("dina-$pkgver-new.zip::https://www.dcmembers.com/jibsen/download/61/?wpdmdl=61"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Kyle Keen <keenerd@gmail.com>
2# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
3# Contributor: Xilon <xilonmu@gmail.com>
4# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
5
6pkgname=dina-font
7pkgver=2.92
8pkgrel=10
9pkgdesc="A monospace bitmap font, primarily aimed at programmers"
10arch=('any')
11url="https://www.dcmembers.com/jibsen/download/61/"
12license=('custom')
13makedepends=('xorg-bdftopcf')
14source=("dina-$pkgver-new.zip::https://www.dcmembers.com/jibsen/download/61/?wpdmdl=61"
15 75-yes-dina.conf)
16sha256sums=('1f51bba53f75a64d2d8bd037e8e0f84b6f8064e50a72ee954033bede173508cf'
17 '2596b25f3e20936dbe189f8574a55950b5ee2605bfdeaaac1ec47d0ff14855b6')
18
19_ex_pt() {
20 _pt=${1%.bdf}
21 _pt=${_pt#*-}
22 echo $_pt
23}
24
25build() {
26 cd "$srcdir/BDF"
27
28 sed -i 's/microsoft-cp1252/ISO8859-1/' *.bdf
29
30 for i in Dina_i400-*.bdf; do
31 bdftopcf -t -o DinaItalic$(_ex_pt $i).pcf $i
32 done
33 for i in Dina_i700-*.bdf; do
34 bdftopcf -t -o DinaBoldItalic$(_ex_pt $i).pcf $i
35 done
36 for i in Dina_r400-*.bdf; do
37 bdftopcf -t -o DinaMedium$(_ex_pt $i).pcf $i
38 done
39 for i in Dina_r700-*.bdf; do
40 bdftopcf -t -o DinaBold$(_ex_pt $i).pcf $i
41 done
42 gzip -n *.pcf
43}
44
45package() {
46 cd "$srcdir/BDF"
47 for i in *.gz; do
48 install -Dm 644 $i "$pkgdir/usr/share/fonts/misc/$i"
49 done
50 install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
51 install -Dm644 "$srcdir/75-yes-dina.conf" "$pkgdir/usr/share/fontconfig/conf.avail/75-yes-dina.conf"
52 install -d "$pkgdir/usr/share/fontconfig/conf.default"
53 ln -s ../conf.avail/75-yes-dina.conf "$pkgdir/usr/share/fontconfig/conf.default/75-yes-dina.conf"
54}
55

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 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