mediawiki-lts

LOW
maintainer emilegaillard 2 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The source downloads a tarball from releases.wikimedia.org and GitHub's codeload service, both plausible official project hosts; the non-whitelisted host is GitHub's codeload, which is trustworthy for Wikimedia extensions, and the content is source code, not an executable payload.

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 downloads a tarball from releases.wikimedia.org and GitHub's codeload service, both plausible official project hosts; the non-whitelisted host is GitHub's codeload, which is trustworthy for Wikimedia extensions, and the content is source code, not an executable payload.

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:35 source=("https://releases.wikimedia.org/mediawiki/${_basever}/mediawiki-$pkgver.tar.gz"{,.sig}

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: ny-a <nyaarch64@gmail..com>
2# Contributor: Marc Mettke <marc@itmettke.de>
3
4pkgbase=mediawiki-lts
5_pkgname=mediawiki
6pkgname=('mediawiki-lts' 'mediawiki-math-lts')
7pkgver=1.43.9
8_basever=${pkgver%.*}
9_hash=93930b1
10pkgrel=1
11pkgdesc="Latests MediaWiki LTS engine"
12arch=('any')
13url="http://www.mediawiki.org/wiki/MediaWiki"
14# + http://www.mediawiki.org/wiki/Extension:Math
15license=("GPL")
16depends=('php')
17makedepends=('git')
18optdepends=('python'
19 'pcre: for regular expressions support'
20 'php-intl: to handle Unicode normalization'
21# 'php-mysql: for MySQL database support'
22 'php-pgsql: for PostgreSQL database support'
23 'php-sqlite: for sqlite database support'
24# 'php-apcu: for cache support'
25# 'php-xcache: for cache support'
26 'memcached: for cache support'
27 'php-gd: for thumbnails rendering'
28 'imagemagick: for thumbnails rendering'
29 'smtp-forwarder: for mail sending')
30install=mediawiki.install
31options=(!strip)
32validpgpkeys=('41B2ABE817ADD3E52BDA946F72BC1C5D23107F8A'
33 '1D98867E82982C8FE0ABC25F9B69B3109D3BB7B0')
34# mediawiki-math-${_basever}::git+https://git.wikimedia.org/git/mediawiki/extensions/Math.git#branch=REL${_basever/./_}
35source=("https://releases.wikimedia.org/mediawiki/${_basever}/mediawiki-$pkgver.tar.gz"{,.sig}
36 "mediawiki-math-${_basever}.tar.gz::https://codeload.github.com/wikimedia/mediawiki-extensions-Math/legacy.tar.gz/REL${_basever/./_}"
37 apache.example.conf)
38sha256sums=('4595f8cfd39f1c4b5278ec43836c6720586e639518aa76a1db4b5532a3955ee6'
39 'SKIP'
40 'c0f99af9428c83cda12508cbad43fe2113172d34a7e6eeb890a0d4efd867d686'
41 'cfeff68331e930b6a93f166c12666ac59a84aa24334f94520eff3f988f37ce2b')
42
43package_mediawiki-lts() {
44 cd "$srcdir"
45 install -vdm0755 "$pkgdir"/usr/share/webapps
46 install -vdm0755 "$pkgdir"/etc/webapps/mediawiki
47 cp -a $_pkgname-$pkgver "$pkgdir"/usr/share/webapps/mediawiki
48
49 install -vDm0644 "$srcdir"/apache.example.conf "$pkgdir"/etc/webapps/mediawiki/apache.example.conf
50
51 # move cache and images to /var
52 install -vdm0755 -o http -g http "$pkgdir"/var/cache/mediawiki
53 install -vdm0755 -o http -g http "$pkgdir"/var/lib/mediawiki
54
55 cd "$pkgdir"/usr/share/webapps/mediawiki
56
57 mv cache/.htaccess "$pkgdir"/var/cache/mediawiki/
58 rmdir cache
59 ln -sf /var/cache/mediawiki cache
60
61 mv images/* "$pkgdir"/var/lib/mediawiki/
62 mv images/.htaccess "$pkgdir"/var/lib/mediawiki/
63 rmdir images
64 ln -sf /var/lib/mediawiki images
65}
66
67package_mediawiki-math-lts() {
68 depends=('mediawiki-lts')
69 optdepends=()
70 backup=()
71 pkgdesc="MediaWiki math extension"
72 unset install
73
74 cd "$srcdir"
75 install -vdm0755 "$pkgdir"/usr/share/webapps/mediawiki/extensions
76# cp -a mediawiki-math-${_basever} "$pkgdir"/usr/share/webapps/mediawiki/extensions/Math
77 cp -a wikimedia-mediawiki-extensions-Math-${_hash} "$pkgdir"/usr/share/webapps/mediawiki/extensions/Math
78}
79
80

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 3

Report a package

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

0 / 4000
Your suggestion