minetest-mod-advtrains-git

LOW
maintainer y5nw 0 votes scanned 2026-09-17 00:27:14.276658
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-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

Report a package

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

0 / 4000
Your suggestion