luahbtex
LOW
maintainer Freed
0 votes
scanned 2026-09-17 00:27:14.276658
Why flagged
The source is a tarball from a GitLab instance plausibly associated with the TeX Live project, building the official LuaTeX source with patches;虽非标准主机但属项目合理托管, 构建自身源码无远程代码执行风险
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 source is a tarball from a GitLab instance plausibly associated with the TeX Live project, building the official LuaTeX source with patches;虽非标准主机但属项目合理托管, 构建自身源码无远程代码执行风险
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
source=("https://gitlab.lisn.upsaclay.fr/texlive/luatex/-/archive/$pkgver/luatex-$pkgver.zip"
PKGBUILD
1 offending line(s) highlighted
1
# shellcheck shell=bash disable=SC2034,SC2154
2
# Maintainer: Wu, Zhenyu <wuzhenyu@ustc.edu>
3
_pkgname=luatex
4
pkgname=luahbtex
5
pkgver=1.23.3
6
pkgrel=1
7
pkgdesc="The LuaTeX project's main objective is to provide an open and configurable variant of TeX while at the same time offering downward compatibility"
8
arch=(i686 x86_64 arm aarch64)
9
url=https://www.luatex.org/
10
license=(GPL2)
11
source=("https://gitlab.lisn.upsaclay.fr/texlive/luatex/-/archive/$pkgver/luatex-$pkgver.zip"
12
fix-LUA_ROOT.patch)
13
sha256sums=('9b9b0a7ddda3b92516b946a0618a4ff28748e14c94bc94d46f3faf00047024be'
14
'1874de144770f9c9bed4b6d0848121607070a9590110a40b89714d374b109c3c')
15
16
prepare() {
17
cd "$_pkgname-$pkgver" || return 1
18
19
patch -Np1 -i ../fix-LUA_ROOT.patch
20
}
21
22
build() {
23
cd "$_pkgname-$pkgver" || return 1
24
25
CFLAGS=-std=gnu99 ./build.sh --nolua53 --luahb --parallel
26
}
27
28
package() {
29
cd "$_pkgname-$pkgver" || return 1
30
31
install -D build/texk/web2c/luahbtex -t "$pkgdir/usr/bin"
32
install -Dm644 source/texk/kpathsea/texmf.cnf -t "$pkgdir/etc/texmf/web2c"
33
}
34
# ex: nowrap
35
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |