jmars

maintainer orphaned · 0 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads and executes a prebuilt shell installer script (jmars_5_public.sh) from jmars.mars.asu.edu, which is Arizona State University's official JMARS project host. This is the legitimate upstream vendor host for this NASA/ASU Mars GIS tool, not a personal or unofficial mirror. However, the pattern of executing a downloaded shell installer script during package() is a genuine supply-chain concern: the script runs with package() privileges, its contents are opaque (it's a self-extracting installer), and any compromise of the ASU host or the file would result in arbitrary code execution on the builder's system. The sha256sum provides integrity checking against a known-good hash, which mitigates substitution attacks somewhat. The host is institutional/official rather than personal, reducing (but not eliminating) the risk. This is a borderline medium: the execution of an opaque installer binary/script from an external host during build is a real supply-chain concern even if the host is legitimate, but it is not clearly malicious and the checksum is present.

Triggered rules

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:11 source=("http://jmars.mars.asu.edu/downloads/jmars_5/jmars_public/jmars_5_public.sh" "jmars.desktop")
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD downloads and executes a prebuilt shell installer script (jmars_5_public.sh) from jmars.mars.asu.edu, which is Arizona State University's official JMARS project host. This is the legitimate upstream vendor host for this NASA/ASU Mars GIS tool, not a personal or unofficial mirror. However, the pattern of executing a downloaded shell installer script during package() is a genuine supply-chain concern: the script runs with package() privileges, its contents are opaque (it's a self-extracting installer), and any compromise of the ASU host or the file would result in arbitrary code execution on the builder's system. The sha256sum provides integrity checking against a known-good hash, which mitigates substitution attacks somewhat. The host is institutional/official rather than personal, reducing (but not eliminating) the risk. This is a borderline medium: the execution of an opaque installer binary/script from an external host during build is a real supply-chain concern even if the host is legitimate, but it is not clearly malicious and the checksum is present.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Lubosz Sarnecki <lubosz@gmail.com>
2
3pkgname=jmars
4pkgver=5.3.14
5pkgrel=1
6pkgdesc="Java Mission-planning and Analysis for Remote Sensing is a geospatial information system for Mars"
7arch=('i686' 'x86_64')
8url="https://jmars.mars.asu.edu/"
9license=('GPL')
10depends=('java-runtime-common' 'desktop-file-utils')
11source=("http://jmars.mars.asu.edu/downloads/jmars_5/jmars_public/jmars_5_public.sh" "jmars.desktop")
12install=jmars.install
13sha256sums=('a78ad4807b5dda59e11d38cf65cd4a49fd27776c39b42c5058a10fce893eccd6'
14 '63b95d3840f500530750d7bbdf6f23f4c97b76857f93957992972a2b71a12fd1')
15
16package() {
17 chmod +x jmars_5_public.sh
18 ./jmars_5_public.sh -q -dir "$pkgdir/usr/share/jmars/"
19 chmod +x "$pkgdir/usr/share/jmars/jmars"
20 mkdir -p "$pkgdir/usr/share/applications/"
21 install -Dm644 jmars.desktop "$pkgdir/usr/share/applications/"
22}
23

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 MEDIUM 2
2026-08-02 00:16:08 MEDIUM 2
2026-08-01 00:11:18 MEDIUM 2
2026-07-31 00:14:10 MEDIUM 2
2026-07-30 00:17:23 MEDIUM 2
2026-07-29 00:25:53 MEDIUM 2
2026-07-28 00:07:28 MEDIUM 2
2026-07-27 00:24:32 MEDIUM 2
2026-07-26 00:07:32 MEDIUM 2
2026-07-25 00:13:44 MEDIUM 2
2026-07-24 00:02:28 MEDIUM 2
2026-07-23 00:14:47 MEDIUM 2
2026-07-22 00:29:32 MEDIUM 2
2026-07-21 00:24:15 MEDIUM 2
2026-07-20 00:19:49 MEDIUM 2
2026-07-19 00:17:08 MEDIUM 2
2026-07-18 00:14:48 MEDIUM 2
2026-07-17 00:06:16 MEDIUM 2
2026-07-16 00:05:41 MEDIUM 2
2026-07-15 00:09:25 MEDIUM 2

Report a package

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

0 / 4000
Your suggestion