mediawiki-math-lts

maintainer emilegaillard · 2 votes · base mediawiki-lts · scanned 2026-08-03 00:08:14.047287
LOW
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.

2 higher static findings 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}
MEDIUM Recently orphaned & re-adopted orphaned_readopted

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

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-08-03 00:08:14 LOW 3
2026-08-02 00:16:08 LOW 3
2026-08-01 00:11:18 LOW 3
2026-07-31 00:14:10 LOW 3
2026-07-30 17:15:21 MEDIUM 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

Report a package

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

0 / 4000
Your suggestion