mongodb-compass-isolated-beta-bin
The package downloads a prebuilt RPM from a non-standard path on downloads.mongodb.com, which is the official vendor domain, but the lack of a standard release URL pattern and the binary nature of the RPM create a supply-chain risk if the source were silently swapped, warranting medium severity.
Triggered rules
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:27
"$pkgname-$pkgver.rpm::https://downloads.mongodb.com/compass/$_betaprefix$_pkgname-$_pkgver.x86_64.rpm"
llm_review
An AI model (qwen/qwen3-235b-a22b-07-25) reviewed this and agrees it is MEDIUM (confidence 90%): The package downloads a prebuilt RPM from a non-standard path on downloads.mongodb.com, which is the official vendor domain, but the lack of a standard release URL pattern and the binary nature of the RPM create a supply-chain risk if the source were silently swapped, warranting medium severity.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Daniel Peukert <daniel@peukert.cc>
# Maintainer: "Amhairghin" Oscar Garcia Amor (https://ogarcia.me)
_pkgname='mongodb-compass-isolated-beta'
_edition=' Isolated Edition Beta'
pkgname="$_pkgname-bin"
_pkgver='1.49.11-beta.1'
pkgver="$(printf '%s' "$_pkgver" | tr '-' '.')"
pkgrel='1'
pkgdesc='The official GUI for MongoDB - Isolated Edition - beta version - binary version'
arch=('x86_64')
url='https://www.mongodb.com/products/compass'
license=('SSPL-1.0')
depends=(
# electron
'c-ares' 'dav1d' 'flac' 'fontconfig' 'freetype2' 'gcc-libs' 'glibc' 'gtk3'
'harfbuzz' 'icu' 'libdrm' 'libevent' 'libffi' 'libjpeg-turbo' 'libpng' 'libpulse'
'libwebp' 'libxml2' 'libxslt' 'minizip' 'nss' 'opus' 'zlib'
# compass
'krb5' 'libsecret'
)
optdepends=('org.freedesktop.secrets')
options=('!debug')
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
_betaprefix="$([[ "$_pkgname" =~ -beta$ ]] && printf 'beta/' || printf '')"
source=(
"$pkgname-$pkgver.rpm::https://downloads.mongodb.com/compass/$_betaprefix$_pkgname-$_pkgver.x86_64.rpm"
)
b2sums=('7ecda2139b3aeb95148e0dfe81daf2e1277a22d4cee5c244fd0096279b1587d8a2a07c7b11b46fc4be425ebd874d05ad7fbbda9704bc1af769280dba2fdab6ef')
check() {
_checkoutput="$(ELECTRON_OZONE_PLATFORM_HINT='auto' "$srcdir/usr/lib/$_pkgname/MongoDB Compass$_edition" --no-sandbox --version)"
printf '%s\n' "$_checkoutput"
printf '%s\n' "$_checkoutput" | grep -q "^MongoDB Compass$_edition $pkgver$"
}
package() {
cd "$srcdir/"
install -dm755 "$pkgdir/usr/lib/"
cp -r "usr/lib/$_pkgname/" "$pkgdir/usr/lib/$_pkgname/"
# Fix permissions
find "$pkgdir" -type d -exec chmod 755 {} +
find "$pkgdir" -type f -exec chmod 644 {} +
chmod +x "$pkgdir/usr/lib/$_pkgname/chrome_crashpad_handler"
chmod +x "$pkgdir/usr/lib/$_pkgname/chrome-sandbox"
chmod +x "$pkgdir/usr/lib/$_pkgname/MongoDB Compass$_edition"
install -dm755 "$pkgdir/usr/bin/"
ln -sf "/usr/lib/$_pkgname/MongoDB Compass$_edition" "$pkgdir/usr/bin/$_pkgname"
install -Dm644 "usr/share/applications/$_pkgname.desktop" "$pkgdir/usr/share/applications/$_pkgname.desktop"
install -Dm644 "usr/share/pixmaps/$_pkgname.png" "$pkgdir/usr/share/pixmaps/$_pkgname.png"
install -dm755 "$pkgdir/usr/share/licenses/$pkgname/"
ln -sf "/usr/lib/$_pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/SSPL-1.0"
ln -sf "/usr/lib/$_pkgname/LICENSES.chromium.html" "$pkgdir/usr/share/licenses/$pkgname/LICENSES.chromium.html"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Medium | 2 |
| 2026-09-16 00:03:17 | Medium | 2 |
| 2026-09-15 00:25:31 | Medium | 2 |
| 2026-09-14 00:27:57 | Medium | 2 |
| 2026-09-13 00:19:54 | Medium | 2 |
| 2026-09-12 00:25:17 | Medium | 2 |
| 2026-09-11 00:19:22 | Medium | 2 |
| 2026-09-10 00:22:44 | Medium | 2 |
| 2026-09-09 00:04:09 | Medium | 2 |
| 2026-09-08 00:18:08 | Medium | 2 |
| 2026-09-07 00:30:15 | Medium | 2 |
| 2026-09-06 00:17:06 | Medium | 2 |
| 2026-09-05 00:16:27 | Medium | 2 |
| 2026-09-04 00:03:13 | Medium | 2 |
| 2026-09-03 00:15:47 | Medium | 2 |
| 2026-09-02 00:02:31 | Medium | 2 |
| 2026-09-01 00:11:19 | Medium | 2 |
| 2026-08-31 00:19:57 | Medium | 2 |
| 2026-08-30 00:04:14 | Medium | 2 |
| 2026-08-29 00:29:17 | Medium | 2 |