mercury
The source is a tarball from the project's own release domain (dl.mercurylang.org), which is plausibly official; building from project-owned infrastructure is normal for AUR packages, even if the host is not on a whitelist.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from the project's own release domain (dl.mercurylang.org), which is plausibly official; building from project-owned infrastructure is normal for AUR packages, even if the host is not on a whitelist.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:16
source=(http://dl.mercurylang.org/release/mercury-srcdist-${pkgver}.tar.xz)
PKGBUILD
1 offending line(s) highlighted# Maintainer: Adrian Perez de Castro <aperez@igalia.com>
# Contributor: Frank Seifferth <frankseifferth@posteo.net>
# Contributor: Tetsumi <tetsumi@vmail.me>
# Contributor: Bart Verhoeven <bartverhoeven@live.com>
pkgname=mercury
pkgver=22.01.9
pkgrel=1
pkgdesc="The mercury language compiler."
arch=('i686' 'x86_64')
url="http://www.mercurylang.org/"
license=('GPL')
depends=('gcc' 'make')
makedepends=('flex' 'bison')
options=(staticlibs)
source=(http://dl.mercurylang.org/release/mercury-srcdist-${pkgver}.tar.xz)
b2sums=('9b7c5eff278e9d9e9cbebe0e3ae47ebba610865a9a65d3489b511f9cf3603cf01ed88ce6a8fa2ca2b66fda37316a6d1549097e22ab74a023832f6c68e6c1afee')
build() {
cd "$srcdir"/mercury-srcdist-$pkgver
echo "EXTRA_CFLAGS += -Wno-error=array-parameter" >> Mmake.params
echo "EXTRA_CFLAGS += -Wno-error=discarded-qualifiers" >> Mmake.params
./configure --prefix=/usr --mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-inefficient-grades
make PARALLEL="$MAKEFLAGS"
}
package() {
cd "$srcdir"/mercury-srcdist-$pkgver
make DESTDIR="$pkgdir" \
INSTALL_PREFIX="$pkgdir"/usr \
INSTALL_MAN_DIR="$pkgdir"/usr/share/man \
INSTALL_INFO_DIR="$pkgdir"/usr/share/info \
MERCURY_COMPILER="$pkgdir"/usr/bin/mercury_compile \
MERCURY_CONFIG_DIR="$pkgdir"/usr/lib/mercury \
PARALLEL="$MAKEFLAGS" LIBGRADES=asm_fast.gc install
rm "${pkgdir}"/usr/bin/{mdb,mercury,mprof}.bat
}
Changes since previous scan
--- PKGBUILD @ 2026-09-02 00:02+++ PKGBUILD @ 2026-09-17 00:27@@ -4,8 +4,8 @@ # Contributor: Bart Verhoeven <bartverhoeven@live.com> pkgname=mercury-pkgver=22.01.8-pkgrel=3+pkgver=22.01.9+pkgrel=1 pkgdesc="The mercury language compiler." arch=('i686' 'x86_64') url="http://www.mercurylang.org/"@@ -14,7 +14,7 @@ makedepends=('flex' 'bison') options=(staticlibs) source=(http://dl.mercurylang.org/release/mercury-srcdist-${pkgver}.tar.xz)-b2sums=('18ded08484e9144edbc64ce7e31ce18b93b76889842cd968ae98eaba0c818655e04ac1a5b86c3147b0a8f09a6fbbcc39a244a48e27b88a1a5b9b5c3d56c8f251')+b2sums=('9b7c5eff278e9d9e9cbebe0e3ae47ebba610865a9a65d3489b511f9cf3603cf01ed88ce6a8fa2ca2b66fda37316a6d1549097e22ab74a023832f6c68e6c1afee') build() { cd "$srcdir"/mercury-srcdist-$pkgverScan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 15:51:02 | Medium | 1 |
| 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 |