mega
The PKGBUILD downloads a prebuilt binary .deb from megasoftware.net, which is the legitimate official site for MEGA (Molecular Evolutionary Genetics Analysis), a well-known bioinformatics tool published by Kumar et al. The host is the genuine vendor site, not a personal or unofficial mirror. However, the package installs a closed-source prebuilt binary without source availability, which is a standard supply-chain concern for any binary-only AUR package: if the upstream host were compromised or the binary swapped, the sha256sum provides integrity checking against the recorded hash but not against a future substitution. The sha256sum is present and hardcoded, which mitigates opportunistic tampering. This pattern (official vendor binary repackaged from a .deb) is common in the AUR for proprietary software (e.g., zoom, slack, discord). The risk is real but not elevated beyond the normal binary-repackaging concern — it is not clearly malicious, and megasoftware.net is the canonical distribution point for this software. Rating medium is appropriate given the closed-source binary execution, though this is a borderline clean/medium case for a legitimate vendor binary with a checksum.
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:18
source=("https://megasoftware.net/releases/mega_$pkgver-1_amd64.deb")
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD downloads a prebuilt binary .deb from megasoftware.net, which is the legitimate official site for MEGA (Molecular Evolutionary Genetics Analysis), a well-known bioinformatics tool published by Kumar et al. The host is the genuine vendor site, not a personal or unofficial mirror. However, the package installs a closed-source prebuilt binary without source availability, which is a standard supply-chain concern for any binary-only AUR package: if the upstream host were compromised or the binary swapped, the sha256sum provides integrity checking against the recorded hash but not against a future substitution. The sha256sum is present and hardcoded, which mitigates opportunistic tampering. This pattern (official vendor binary repackaged from a .deb) is common in the AUR for proprietary software (e.g., zoom, slack, discord). The risk is real but not elevated beyond the normal binary-repackaging concern — it is not clearly malicious, and megasoftware.net is the canonical distribution point for this software. Rating medium is appropriate given the closed-source binary execution, though this is a borderline clean/medium case for a legitimate vendor binary with a checksum.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Malacology <guoyizhang at malacology dot net>
# Contributor: Malacology <guoyizhang at malacology dot net>
pkgname=mega
_pkgname=mega
pkgver=12.1.2
pkgrel=1
pkgdesc="Molecular Evolutionary Genetics Analysis. https://doi.org/10.1093/molbev/msy096"
arch=('x86_64')
url="https://megasoftware.net"
license=('custom')
depends=(
'desktop-file-utils'
'gconf'
'gtk2'
'hicolor-icon-theme'
)
source=("https://megasoftware.net/releases/mega_$pkgver-1_amd64.deb")
sha256sums=('e8ad7b7e174f66ce38a88783960af4fedeaf3b4ce79d7589b3cb8fa7d6d87418')
package() {
tar -I zstd -xpvf data.tar.zst -C "${pkgdir}"
chmod 755 -R ${pkgdir}/usr
cp -r ${pkgdir}/usr/local/* ${pkgdir}/usr/
rm -r ${pkgdir}/usr/local
sed -i "s/Exec=mega/Exec=mega %U/g" $pkgdir/usr/share/applications/mega.desktop
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |