mediawiki-extension-lockdown-git

maintainer respiranto · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is a git clone from gerrit.wikimedia.org, which is the official code hosting platform for MediaWiki extensions; despite the non-whitelisted host, this is a standard and trusted source for the project's own code, and the package only installs the extension files without executing remote code.

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 git clone from gerrit.wikimedia.org, which is the official code hosting platform for MediaWiki extensions; despite the non-whitelisted host, this is a standard and trusted source for the project's own code, and the package only installs the extension files without executing remote code.

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:24 source=("git+https://gerrit.wikimedia.org/r/mediawiki/extensions/${_extname}#branch=${_branch}")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Einhard Leichtfuß <alguien@respiranto.de>
2
3_extname=Lockdown
4_extname_lowercase="${_extname,,}"
5_pkgname_base="mediawiki-extension-${_extname_lowercase}"
6
7_mediawiki_mainver=1.42
8_mediawiki_mainver_succ=${_mediawiki_mainver%.*}.$((${_mediawiki_mainver##*.}+1))
9_branch="REL${_mediawiki_mainver/./_}"
10
11pkgname="${_pkgname_base}-git"
12epoch=1
13pkgver=r205.71786f3
14pkgrel=1
15pkgdesc="MediaWiki extension implementing per-namespace group permissions"
16arch=('any')
17url="https://www.mediawiki.org/wiki/Extension:${_extname}"
18license=('GPL')
19depends=("mediawiki>=${_mediawiki_mainver}"
20 "mediawiki<${_mediawiki_mainver_succ}")
21makedepends=('git')
22provides=("$_pkgname_base")
23conflicts=("$_pkgname_base")
24source=("git+https://gerrit.wikimedia.org/r/mediawiki/extensions/${_extname}#branch=${_branch}")
25sha512sums=('SKIP')
26
27pkgver()
28{
29 cd "${_extname}"
30 printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
31}
32
33package()
34{
35 local ext_dir="/usr/share/webapps/mediawiki/extensions/${_extname}"
36
37 install -d -m755 "${pkgdir}${ext_dir}"
38 cd "${_extname}"
39 find . -mindepth 1 -maxdepth 1 -regextype posix-extended \
40 \! -regex './\.git(|ignore|review)' \
41 -exec cp -RP '{}' "${pkgdir}${ext_dir}/" \;
42}
43

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