jmars
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
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")
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# Maintainer: Lubosz Sarnecki <lubosz@gmail.com>
pkgname=jmars
pkgver=5.3.14
pkgrel=1
pkgdesc="Java Mission-planning and Analysis for Remote Sensing is a geospatial information system for Mars"
arch=('i686' 'x86_64')
url="https://jmars.mars.asu.edu/"
license=('GPL')
depends=('java-runtime-common' 'desktop-file-utils')
source=("http://jmars.mars.asu.edu/downloads/jmars_5/jmars_public/jmars_5_public.sh" "jmars.desktop")
install=jmars.install
sha256sums=('a78ad4807b5dda59e11d38cf65cd4a49fd27776c39b42c5058a10fce893eccd6'
'63b95d3840f500530750d7bbdf6f23f4c97b76857f93957992972a2b71a12fd1')
package() {
chmod +x jmars_5_public.sh
./jmars_5_public.sh -q -dir "$pkgdir/usr/share/jmars/"
chmod +x "$pkgdir/usr/share/jmars/jmars"
mkdir -p "$pkgdir/usr/share/applications/"
install -Dm644 jmars.desktop "$pkgdir/usr/share/applications/"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Medium | 2 |
| 2026-10-31 00:07:41 | Medium | 2 |
| 2026-10-30 00:29:30 | Medium | 2 |
| 2026-10-29 00:13:55 | Medium | 2 |
| 2026-10-28 00:06:54 | Medium | 2 |
| 2026-10-27 00:23:28 | Medium | 2 |
| 2026-10-26 00:12:40 | Medium | 2 |
| 2026-10-25 00:20:48 | Medium | 2 |
| 2026-10-24 00:14:55 | Medium | 2 |
| 2026-10-23 00:02:19 | Medium | 2 |
| 2026-10-22 00:13:10 | Medium | 2 |
| 2026-10-21 00:12:50 | Medium | 2 |
| 2026-10-20 00:10:31 | Medium | 2 |
| 2026-10-19 00:03:55 | Medium | 2 |
| 2026-10-18 00:06:55 | Medium | 2 |
| 2026-10-17 00:21:55 | Medium | 2 |
| 2026-10-16 00:12:47 | Medium | 2 |
| 2026-10-15 00:28:05 | Medium | 2 |
| 2026-10-14 00:06:47 | Medium | 2 |
| 2026-10-13 00:23:45 | Medium | 2 |