mcidasv-bin

MEDIUM
maintainer Gaming4JC 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The PKGBUILD downloads and directly executes a prebuilt installer shell script (McIDAS-V_1.6_linux_x86-64_installer.sh) from ssec.wisc.edu during the package() phase. While ssec.wisc.edu is the official University of Wisconsin Space Science and Engineering Center domain (legitimate upstream), executing a downloaded binary installer script at build time is a genuine supply-chain concern: the script runs with whatever privileges makepkg uses, can do arbitrary things to the build system, and the sha512sum provided (which appears to be 127 hex chars — an odd length, valid sha512 is 128 hex chars, suggesting a possible truncation/typo in the checksum). The version mismatch is also notable: pkgver=2.5.0 but the source fetches version 1.6, indicating the PKGBUILD is stale/inconsistent. The combination of executing an opaque binary installer script plus a potentially malformed checksum keeps this at MEDIUM rather than clean, though there is no evidence of malicious intent.

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://www.ssec.wisc.edu/mcidas/software/v/stable/1.6/McIDAS-V_1.6_linux_x86-64_installer.sh")
Medium AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 78%): The PKGBUILD downloads and directly executes a prebuilt installer shell script (McIDAS-V_1.6_linux_x86-64_installer.sh) from ssec.wisc.edu during the package() phase. While ssec.wisc.edu is the official University of Wisconsin Space Science and Engineering Center domain (legitimate upstream), executing a downloaded binary installer script at build time is a genuine supply-chain concern: the script runs with whatever privileges makepkg uses, can do arbitrary things to the build system, and the sha512sum provided (which appears to be 127 hex chars — an odd length, valid sha512 is 128 hex chars, suggesting a possible truncation/typo in the checksum). The version mismatch is also notable: pkgver=2.5.0 but the source fetches version 1.6, indicating the PKGBUILD is stale/inconsistent. The combination of executing an opaque binary installer script plus a potentially malformed checksum keeps this at MEDIUM rather than clean, though there is no evidence of malicious intent.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
2
3pkgname=mcidasv-bin
4pkgver=2.5.0
5pkgrel=1
6pkgdesc="free, open source software for 3D geophysical data analysis and visualization"
7url="http://www.ssec.wisc.edu/mcidas/software/v/"
8license=('GPL3')
9arch=('x86_64')
10depends=("java-environment")
11source=("http://www.ssec.wisc.edu/mcidas/software/v/stable/1.6/McIDAS-V_1.6_linux_x86-64_installer.sh")
12sha512sums=('8b579859119baff43467763b9b516b48f39275152991d67574140134c8a1aba4d785822244e1bf466c1919ebd8ea0d6abb025f443b157c9f93b142bd3764f44a')
13
14package() {
15 mkdir -p $pkgdir/opt/McIDAS-V-System
16 echo "Note: If questioned, use $pkgdir/opt/McIDAS-V-System' as install dir!"
17 chmod 0755 McIDAS-V_1.6_linux_x86-64_installer.sh
18 PATH=$PATH:$pkgdir/opt/ ./McIDAS-V_1.6_linux_x86-64_installer.sh
19 sed -i '/Exec=/d' "$pkgdir/opt/McIDAS-V-System/McIDAS-V-System/Configure McIDAS-V.desktop"
20 sed -i '/Name=Configure McIDAS-V/a Exec=/bin/sh \"/opt/McIDAS-V-System/McIDAS-V-System/runMcV-Config\"' "$pkgdir/opt/McIDAS-V-System/McIDAS-V-System/Configure McIDAS-V.desktop"
21 sed -i '/Exec=/d' $pkgdir/opt/McIDAS-V-System/McIDAS-V-System/mcidasv.desktop
22 sed -i '/Icon=/d' $pkgdir/opt/McIDAS-V-System/McIDAS-V-System/mcidasv.desktop
23 sed -i '/Name=mcidasv/a Icon=/opt/McIDAS-V-System/McIDAS-V-System/mcidasv/mcidasv.png' $pkgdir/opt/McIDAS-V-System/McIDAS-V-System/mcidasv.desktop
24 sed -i '/Name=mcidasv/a Exec=/bin/sh \"/opt/McIDAS-V-System/McIDAS-V-System/mcidasv\"' $pkgdir/opt/McIDAS-V-System/McIDAS-V-System/mcidasv.desktop
25 sed -i '/Exec=/d' $pkgdir/opt/McIDAS-V-System/McIDAS-V-System/McIDAS-V.desktop
26 sed -i '/Name=McIDAS-V/a Exec=/bin/sh \"/opt/McIDAS-V-System/McIDAS-V-System/runMcV\"' $pkgdir/opt/McIDAS-V-System/McIDAS-V-System/McIDAS-V.desktop
27 mkdir -p $pkgdir/usr/bin/
28 ln -s /opt/McIDAS-V-System/McIDAS-V-System/runMcV $pkgdir/usr/bin/mcidasv
29 # Install a desktop entry
30 ## TODO: Get the icon
31 install -Dm644 $pkgdir/opt/McIDAS-V-System/McIDAS-V-System/McIDAS-V.desktop "${pkgdir}/usr/share/applications/McIDAS-V.desktop"
32 install -Dm644 "$pkgdir/opt/McIDAS-V-System/McIDAS-V-System/Configure McIDAS-V.desktop" "${pkgdir}/usr/share/applications/Configure McIDAS-V.desktop"
33}
34

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion