mediawiki-extension-lockdown-git

LOW
maintainer respiranto 0 votes scanned 2026-11-01 00:21:48.120785
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-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 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