mongodb-compass-bin
maintainer dpeukert
· 9 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a prebuilt .deb from MongoDB's official download domain, which is a legitimate source for the software; while the host is not on a whitelist, it is the official vendor, and the binary is expected for a -bin package, making the risk low.
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 package downloads a prebuilt .deb from MongoDB's official download domain, which is a legitimate source for the software; while the host is not on a whitelist, it is the official vendor, and the binary is expected for a -bin package, making the risk low.
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:13
source=("https://downloads.mongodb.com/compass/${pkgname%-bin}_${pkgver}_amd64.deb"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: "Amhairghin" Oscar Garcia Amor (https://ogarcia.me)
2
3
pkgname=mongodb-compass-bin
4
pkgver=1.49.11
5
pkgrel=1
6
pkgdesc="The MongoDB GUI"
7
arch=('x86_64')
8
url="https://www.mongodb.com/products/compass"
9
license=('SSPL-1.0')
10
depends=('alsa-lib' 'gtk3' 'libsecret' 'libxss' 'libxtst' 'nss')
11
optdepends=('org.freedesktop.secrets')
12
options=('!debug')
13
source=("https://downloads.mongodb.com/compass/${pkgname%-bin}_${pkgver}_amd64.deb"
14
"https://github.com/mongodb-js/compass/raw/main/LICENSE")
15
noextract=("${pkgname%-bin}_${pkgver}_amd64.deb")
16
b2sums=('5e18603b168b7648136431baab093ac0f496369c0343d695c95084bee3c11a2f390b1b468e86481a45aeb1d1a8b9831cf53ef5e9ef98f42894a3e0f5d4430453'
17
'3db19ea220a8fec79eb55aa2657a3d9c920cf9eaa4ed6737e4a4688e1ba573c36d7de1b52a165340f61c740dfda98f656596b0d8b9f3492cffa0f4e418bf7ef3')
18
19
package() {
20
bsdtar -O -xf "${pkgname%-bin}_${pkgver}"*.deb data.tar.xz | bsdtar -C "$pkgdir" -xJf -
21
22
# Permission fix
23
find "${pkgdir}" -type d -exec chmod 755 {} +
24
find "${pkgdir}" -type f -exec chmod 644 {} +
25
chmod +x "${pkgdir}"/usr/lib/mongodb-compass/chrome_crashpad_handler
26
chmod +x "${pkgdir}"/usr/lib/mongodb-compass/chrome-sandbox
27
chmod +x "${pkgdir}"/usr/lib/mongodb-compass/"MongoDB Compass"
28
29
# Remove all unnecessary stuff
30
rm -rf "${pkgdir}/usr/share/lintian"
31
rm -rf "${pkgdir}/usr/share/doc"
32
33
# Prevent creation of unnecessary logs in `${HOME}/.mongodb`
34
# --gtk-version=3 --ignore-additional-command-line-flags
35
sed -i 's/Exec=mongodb-compass/Exec=env MONGODB_COMPASS_TEST_LOG_DIR=\/dev\/null mongodb-compass --gtk-version=3 --ignore-additional-command-line-flags/' \
36
"${pkgdir}"/usr/share/applications/mongodb-compass.desktop
37
38
# Install license
39
install -Dm 644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
40
}
41
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 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 |
| 2026-07-15 00:09:25 | LOW | 2 |