megalogviewer

maintainer fuhry · 3 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads source files from the official project domain tunerstudio.com, which is not on the standard whitelist but is plausibly the project's own infrastructure; all files are verified with checksums and used to build a legitimate application, with no evidence of malicious or unverifiable code execution.

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 package downloads source files from the official project domain tunerstudio.com, which is not on the standard whitelist but is plausibly the project's own infrastructure; all files are verified with checksums and used to build a legitimate application, with no evidence of malicious or unverifiable code execution.

1 higher static finding superseded - not the current verdict (shown for transparency)
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:17 source=(https://www.tunerstudio.com/downloads2/MegaLogViewerHD_v${_dist_version}.tar.gz

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Dan Fuhry <dan@fuhry.com>
2# Contributor: Daniel Tobias <https://aur.archlinux.org/account/dantob>
3pkgname=megalogviewer
4pkgver=4.5.22
5# EFI Analytics has a tendency to push minor updates bare jar files, zip files
6# with field mappings and properties files, and # let the distribution tarball
7# lag behind.
8_dist_version=4.5.05
9_fieldmaps_version=4.5.10
10_properties_version=4.5.18
11pkgrel=1
12pkgdesc="Viewer for TunerStudio/MegaSquirt logs"
13arch=(any)
14depends=(java-runtime)
15makedepends=('imagemagick>=7')
16license=(proprietary)
17source=(https://www.tunerstudio.com/downloads2/MegaLogViewerHD_v${_dist_version}.tar.gz
18 https://www.tunerstudio.com/appupdates/MegaLogViewer/MegaLogViewer_v${pkgver}.jar
19 https://www.tunerstudio.com/appupdates/MegaLogViewer/FieldMaps_v${_fieldmaps_version}_HD.zip
20 https://www.tunerstudio.com/appupdates/MegaLogViewer/MegaLogViewer_v${_properties_version}.jar
21 megalogviewer.sh
22 megalogviewer.desktop
23 )
24sha256sums=('99e8e8df9465d1ed89d8593d518955e72eff9f1c3ee5fae62ef9ef9abd89d034'
25 '08628cd58008b7abbad4f28cb7bc51aabfcf41bc582d9901b45a6873403c701c'
26 '0f55ac67458cf0a2f3eaaea24a28467ed12008b3aa6f9d92ccd81cf25a3ab95b'
27 'fde12a0669c4297ba22d1809a522b6c6f2d5906072d702a226ef95b6875420e4'
28 'eff5b0c79e345d1b77b80908deba8805959a878e990601e91ac69a01b8582a5c'
29 '6c6238646f60a076ebe0549228b59d7d9f20bc7019a0e7d8b5df2089ba50a396')
30noextract=("MegaLogViewer_v${pkgver}.jar"
31 "FieldMaps_v${_fieldmaps_version}_HD.zip")
32
33build()
34{
35 # extract all sizes of the windows .ico file as PNGs
36 magick "${srcdir}/MegaLogViewerHD/MegaLogViewer.ico" -alpha set "${srcdir}/MegaLogViewerHD/megalogviewer.png"
37
38 # Distribution tarballs have all files as 0700. Reset permissions
39 # to something more sensible.
40 # Note that capital "X" doesn't unset the executable bit on regular
41 # files, even with "=".
42 find "${srcdir}/MegaLogViewerHD" -type f -print0 | xargs -0 chmod a-x
43 chmod -R u=rwX,go=rX "${srcdir}/MegaLogViewerHD"
44 chmod a+x "${srcdir}/MegaLogViewerHD/MegaLogViewer.sh"
45}
46
47package()
48{
49 for icon in ${srcdir}/MegaLogViewerHD/megalogviewer-*.png; do
50 size=$(identify -format '%wx%h' "${icon}")
51 mkdir -p "${pkgdir}/usr/share/icons/hicolor/${size}/apps"
52 dest="${pkgdir}/usr/share/icons/hicolor/${size}/apps/${pkgname}.png"
53 test -f "$dest" || install -m644 "$icon" "$dest"
54 rm -f "$icon"
55 done
56
57 mkdir -p "${pkgdir}/usr/lib"
58 cp -a "${srcdir}/MegaLogViewerHD" "${pkgdir}/usr/lib/megalogviewer"
59 chmod 0755 "${pkgdir}/usr/lib/megalogviewer"
60
61 # The filename "HogLogViewer.jar" is correct.
62 install -m0644 "${srcdir}/MegaLogViewer_v${pkgver}.jar" "${pkgdir}/usr/lib/megalogviewer/HogLogViewer.jar"
63
64 unzip -d "${pkgdir}/usr/lib/megalogviewer" "${srcdir}/FieldMaps_v${_fieldmaps_version}_HD.zip"
65
66 mkdir -p "${pkgdir}/usr/bin"
67 install -m755 "${srcdir}/megalogviewer.sh" "${pkgdir}/usr/bin/megalogviewer"
68
69 mkdir -p "${pkgdir}/usr/share/applications"
70 install -m644 "${srcdir}/megalogviewer.desktop" "${pkgdir}/usr/share/applications/megalogviewer.desktop"
71}
72
73# vim: set sts=4 sw=4 et:
74

Scan history

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

Report a package

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

0 / 4000
Your suggestion