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
11
pkgname="${_pkgname_base}-git"
12
epoch=1
13
pkgver=r205.71786f3
14
pkgrel=1
15
pkgdesc="MediaWiki extension implementing per-namespace group permissions"
16
arch=('any')
17
url="https://www.mediawiki.org/wiki/Extension:${_extname}"
18
license=('GPL')
19
depends=("mediawiki>=${_mediawiki_mainver}"
20
"mediawiki<${_mediawiki_mainver_succ}")
21
makedepends=('git')
22
provides=("$_pkgname_base")
23
conflicts=("$_pkgname_base")
24
source=("git+https://gerrit.wikimedia.org/r/mediawiki/extensions/${_extname}#branch=${_branch}")
25
sha512sums=('SKIP')
26
27
pkgver()
28
{
29
cd "${_extname}"
30
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
31
}
32
33
package()
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) | 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 |