megalogviewer
The package downloads source files and a JAR from the official project's domain (tunerstudio.com), which is plausibly the project's own release infrastructure; the JAR is installed as data and not executed during build, and the host, while not on a standard whitelist, is project-specific and not a generic file-sharing service.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads source files and a JAR from the official project's domain (tunerstudio.com), which is plausibly the project's own release infrastructure; the JAR is installed as data and not executed during build, and the host, while not on a standard whitelist, is project-specific and not a generic file-sharing service.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:16
source=(https://www.tunerstudio.com/downloads2/MegaLogViewerHD_v${_dist_version}.tar.gz
PKGBUILD
1 offending line(s) highlighted# Maintainer: Dan Fuhry <dan@fuhry.com>
# Contributor: Daniel Tobias <https://aur.archlinux.org/account/dantob>
pkgname=megalogviewer
pkgver=4.6.10
# EFI Analytics has a tendency to push minor updates bare jar files, zip files
# with field mappings and properties files, and # let the distribution tarball
# lag behind.
_dist_version=4.6.09
_fieldmaps_version=4.5.10
pkgrel=1
pkgdesc="Viewer for TunerStudio/MegaSquirt logs"
arch=(any)
depends=(java-runtime)
makedepends=('imagemagick>=7')
license=(proprietary)
source=(https://www.tunerstudio.com/downloads2/MegaLogViewerHD_v${_dist_version}.tar.gz
https://www.tunerstudio.com/appupdates/MegaLogViewer/MegaLogViewer_v${pkgver}.jar
https://www.tunerstudio.com/appupdates/MegaLogViewer/FieldMaps_v${_fieldmaps_version}_HD.zip
megalogviewer.sh
megalogviewer.desktop
)
sha256sums=('fcd5e4a48e0c36109ed8a39ab81231afa158ad55011a50332a0666ffbfc9a2c0'
'148585d57f17101216a164e1bfe7d97ff0af502f4359fdfd049b3a350daefec8'
'0f55ac67458cf0a2f3eaaea24a28467ed12008b3aa6f9d92ccd81cf25a3ab95b'
'eff5b0c79e345d1b77b80908deba8805959a878e990601e91ac69a01b8582a5c'
'6c6238646f60a076ebe0549228b59d7d9f20bc7019a0e7d8b5df2089ba50a396')
noextract=("MegaLogViewer_v${pkgver}.jar"
"FieldMaps_v${_fieldmaps_version}_HD.zip")
build()
{
# extract all sizes of the windows .ico file as PNGs
magick "${srcdir}/MegaLogViewerHD/MegaLogViewer.ico" -alpha set "${srcdir}/MegaLogViewerHD/megalogviewer.png"
# Distribution tarballs have all files as 0700. Reset permissions
# to something more sensible.
# Note that capital "X" doesn't unset the executable bit on regular
# files, even with "=".
find "${srcdir}/MegaLogViewerHD" -type f -print0 | xargs -0 chmod a-x
chmod -R u=rwX,go=rX "${srcdir}/MegaLogViewerHD"
chmod a+x "${srcdir}/MegaLogViewerHD/MegaLogViewer.sh"
}
package()
{
for icon in ${srcdir}/MegaLogViewerHD/megalogviewer-*.png; do
size=$(identify -format '%wx%h' "${icon}")
mkdir -p "${pkgdir}/usr/share/icons/hicolor/${size}/apps"
dest="${pkgdir}/usr/share/icons/hicolor/${size}/apps/${pkgname}.png"
test -f "$dest" || install -m644 "$icon" "$dest"
rm -f "$icon"
done
mkdir -p "${pkgdir}/usr/lib"
cp -a "${srcdir}/MegaLogViewerHD" "${pkgdir}/usr/lib/megalogviewer"
chmod 0755 "${pkgdir}/usr/lib/megalogviewer"
# The filename "HogLogViewer.jar" is correct.
install -m0644 "${srcdir}/MegaLogViewer_v${pkgver}.jar" "${pkgdir}/usr/lib/megalogviewer/HogLogViewer.jar"
unzip -d "${pkgdir}/usr/lib/megalogviewer" "${srcdir}/FieldMaps_v${_fieldmaps_version}_HD.zip"
mkdir -p "${pkgdir}/usr/bin"
install -m755 "${srcdir}/megalogviewer.sh" "${pkgdir}/usr/bin/megalogviewer"
mkdir -p "${pkgdir}/usr/share/applications"
install -m644 "${srcdir}/megalogviewer.desktop" "${pkgdir}/usr/share/applications/megalogviewer.desktop"
}
# vim: set sts=4 sw=4 et:
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |