mongotron-bin
maintainer orphaned
· 4 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The npm install of 'asar' is a build-time dependency used to extract an ASAR archive from the official prebuilt binary; it is not an undeclared external code execution and serves a legitimate repackaging purpose.
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 npm install of 'asar' is a build-time dependency used to extract an ASAR archive from the official prebuilt binary; it is not an undeclared external code execution and serves a legitimate repackaging purpose.
1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM
npm/yarn/pnpm install of an undeclared external package
npm_install_external
Runs `npm/yarn/pnpm install <package>` for a package not in source=(), pulling unpinned, unreviewed code at build time. Severity downgraded: the package declares/looks like a Node.js consumer, where build-time installs are expected.
-
PKGBUILD:27
npm install asar
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer Justin Gross <jgross.biz@gmail.com>
2
# Upstream URL: https://github.com/officert/mongotron
3
4
pkgname=mongotron-bin
5
pkgver=1.0.0.alpha5
6
pkgrel=1
7
pkgdesc="Chrome-based mongo db management tool - Precompiled binary from official repository"
8
arch=("x86_64")
9
url="https://github.com/officert/mongotron"
10
license=("MIT")
11
options=(!strip)
12
depends=("gconf" "gtk2" "libnotify" "libxtst" "nss" "python2" "xdg-utils" "desktop-file-utils" "alsa-lib" "libgnome-keyring")
13
makedepends=("imagemagick" "npm")
14
install=$pkgname.install
15
16
sha256sums=("bb19bb92859ffd1c35f98cff6380dac43529800654cb9097742a0075ca2e4eeb"
17
"9fe12f1bc573f5d431fcc8f9ca3ed17fc1e1d30248ae3b58209fc53084ae0a4e"
18
"ca27567006e3ffa7dea9f9fe7e99a63290a1c9acb880241acb1be37a238e0dff")
19
source=("${pkgname}.desktop"
20
"${pkgname}.install"
21
"https://github.com/officert/mongotron/releases/download/1.0.0-alpha.5/Mongotron-linux-x64.zip")
22
23
build() {
24
mkdir -p "tmp-build"
25
cp "${srcdir}/Mongotron-linux-x64/resources/app.asar" "tmp-build/"
26
cd "tmp-build/"
27
npm install asar
28
./node_modules/.bin/asar extract app.asar ./
29
}
30
31
package() {
32
install -dm755 "$pkgdir/"{opt,usr/bin}
33
mv "${srcdir}/Mongotron-linux-x64" "${pkgdir}/opt/${pkgname}"
34
ln -s "/opt/$pkgname/Mongotron" "$pkgdir/usr/bin/Mongotron"
35
install -Dm644 $pkgname.desktop "$pkgdir"/usr/share/applications/mongotron.desktop
36
cd "tmp-build/resources/icon/"
37
convert logo_icon.ico logo_icon.png
38
cd -
39
sizes=(256x256 128x128 48x48 32x32 16x16)
40
for i in 0 1 2 3 4 5 ; do
41
install -d "${pkgdir}/usr/share/icons/hicolor/${sizes[$i]}/apps"
42
install -Dm644 "tmp-build/resources/icon/logo_icon-${i}.png" \
43
"${pkgdir}/usr/share/icons/hicolor/${sizes[$i]}/apps/${pkgname}.png"
44
done
45
}
46
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 |