luahbtex
LOW
maintainer Freed
0 votes
scanned 2026-11-01 00:21:48.120785
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-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 |