mega
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-08-03 00:08:14 | MEDIUM | 2 |
| 2026-08-02 00:16:08 | MEDIUM | 2 |
| 2026-08-01 00:11:18 | MEDIUM | 2 |
| 2026-07-31 00:14:10 | MEDIUM | 2 |
| 2026-07-30 00:17:23 | MEDIUM | 2 |
| 2026-07-29 00:25:53 | MEDIUM | 2 |
| 2026-07-28 00:07:28 | MEDIUM | 2 |
| 2026-07-27 00:24:32 | MEDIUM | 2 |
| 2026-07-26 00:07:32 | MEDIUM | 2 |
| 2026-07-25 00:13:44 | MEDIUM | 2 |
| 2026-07-24 00:02:28 | MEDIUM | 2 |
| 2026-07-23 00:14:47 | MEDIUM | 2 |
| 2026-07-22 00:29:32 | MEDIUM | 2 |
| 2026-07-21 00:24:15 | MEDIUM | 2 |
| 2026-07-20 00:19:49 | MEDIUM | 2 |
| 2026-07-19 00:17:08 | MEDIUM | 2 |
| 2026-07-18 00:14:48 | MEDIUM | 2 |
| 2026-07-17 00:06:16 | MEDIUM | 2 |
| 2026-07-16 00:05:41 | MEDIUM | 2 |
| 2026-07-15 00:09:25 | MEDIUM | 2 |