minetest-mod-advtrains-git

maintainer y5nw · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package clones source code from the project's own git repository on a non-whitelisted but plausibly official host; building from source is normal for AUR packages, and no unverifiable prebuilt binaries are executed.

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 clones source code from the project's own git repository on a non-whitelisted but plausibly official host; building from source is normal for AUR packages, and no unverifiable prebuilt binaries are executed.

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:19 source=("$_gitname::git+https://git.bananach.space/advtrains.git"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: ywang <ywang@forksworld.de>
2# Preivous maintainer: shellkr <revoltism+AUR$gmail.com>
3
4pkgname=minetest-mod-advtrains-git
5_gitname=${pkgname%-git*}
6_basic_trains=minetest-mod-basic_trains
7pkgver=814.43c85ab.b43.61a4526
8pkgrel=1
9epoch=1
10pkgdesc='This mod adds good-looking, realistic trains to minetest. It also introduces rails that make turns of only 30 degrees instead of 90. (Mod for Minetest)'
11arch=('any')
12url="https://git.bananach.space/advtrains"
13license=('custom')
14depends=()
15optdepends=('minetest-usrdir_patch')
16makedepends=('git')
17provides=("$_gitname" "$_basic_trains")
18install=$pkgname.install
19source=("$_gitname::git+https://git.bananach.space/advtrains.git"
20 "$_basic_trains::git+https://git.bananach.space/basic_trains.git")
21md5sums=('SKIP' 'SKIP')
22
23pkgver() {
24 cd "$srcdir/$_gitname"
25 echo $(git rev-list --count master).$(git rev-parse --short master).b$(git -C "$srcdir/$_basic_trains" rev-list --count master).$(git -C "$srcdir/$_basic_trains" rev-parse --short master)
26}
27
28package() {
29 cd "$srcdir/$_gitname"
30 mkdir -p "$pkgdir/usr/share/minetest/mods/${_gitname#*mod-}"
31 cp -r * "$pkgdir/usr/share/minetest/mods/${_gitname#*mod-}"
32 cd "$pkgdir/usr/share/minetest/mods/${_gitname#*mod-}"
33 rm -rf assets
34 mkdir -p "$pkgdir/usr/share/doc/${_gitname}"
35 mv */doc/* "../../../doc/${_gitname}/"
36 cd "$srcdir/$_basic_trains"
37 mkdir -p "$pkgdir/usr/share/minetest/mods/${_basic_trains#*mod-}"
38 cp -r * "$pkgdir/usr/share/minetest/mods/${_basic_trains#*mod-}"
39}
40

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion