latex-saxpsa-ok
maintainer hv15
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads font files and LaTeX support files from non-whitelisted but plausibly project-related hosts; the worst case of a swapped source is limited to non-executable data, not 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 font files and LaTeX support files from non-whitelisted but plausibly project-related hosts; the worst case of a swapped source is limited to non-executable data, not 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:12
"http://www.snakeisland.com/aplfont.tar"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Hans-Nikolai Viessmann <hans AT viess DOT mn>
2
_pkgname=saxpsa
3
pkgname=latex-${_pkgname}-ok
4
pkgver=13.03.2007
5
pkgrel=7
6
pkgdesc="Provides Type 1 font compatible with displaying APL."
7
arch=('any')
8
url="http://olegykj.sourceforge.net/"
9
license=('custom')
10
depends=('texlive-core')
11
source=("http://olegykj.sourceforge.net/fonts/${_pkgname}_ok.zip"
12
"http://www.snakeisland.com/aplfont.tar"
13
"${_pkgname}.maps")
14
md5sums=('4d9fdeb829303fdcde2d9cce9a8e69d4'
15
'64399e8274fbbc4d8cb3f18f5af62d8c'
16
'611ca8dc62dc619604afc0be0fe13cb8')
17
18
prepare () {
19
cd ${srcdir}/${_pkgname}
20
21
# rename map file, pdftex.map is otherwise a protected name
22
mv texmf/fonts/map/pdftex/${_pkgname}/{pdftex.map,${_pkgname}.map}
23
24
# switch to actual T1 specification
25
mv OT1saxpsa.fd T1saxpsa.fd
26
sed -i -e 's/OT1/T1/g' T1saxpsa.fd ${_pkgname}.sty
27
}
28
29
package() {
30
# copy over font files
31
install -d ${pkgdir}/usr/share/texmf/tex/latex/${_pkgname}/
32
cp -r --no-preserve=mode ${_pkgname}/texmf ${pkgdir}/usr/share/
33
34
# copy over STY & OT1 definition
35
cp --no-preserve=mode ${_pkgname}/${_pkgname}.sty ${pkgdir}/usr/share/texmf/tex/latex/${_pkgname}/
36
cp --no-preserve=mode ${_pkgname}/T1saxpsa.fd ${pkgdir}/usr/share/texmf/tex/latex/${_pkgname}/
37
38
# create dir and copy global MAPS file
39
install -d ${pkgdir}/var/lib/texmf/arch/installedpkgs/
40
cp --no-preserve=mode "${_pkgname}.maps" ${pkgdir}/var/lib/texmf/arch/installedpkgs/
41
42
# set license
43
install -d ${pkgdir}/usr/share/licenses/${pkgname}
44
cp --no-preserve=mode ${_pkgname}/readme.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt
45
}
46
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 |