luahbtex
maintainer Freed
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
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-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 |