gtaf-quran
Triggered rules
external_download_not_in_source
curl/wget fetches a URL on a non-allowlisted host that is not part of source=(), so it is not checksum-verified by makepkg.
-
PKGBUILD:39
curl -LO https://quran.gtaf.org/favicon.ico
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:26
"https://direct-download-apps.s3.us-east-2.amazonaws.com/quran/quran_${_x86_64_ver}_x86_64.tar.gz"
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD installs prebuilt binaries (a Flutter/native executable 'qm_flutter' and bundled shared libraries) downloaded from a personal/vendor S3 bucket (direct-download-apps.s3.us-east-2.amazonaws.com) that is not an official distribution channel like Flathub or a distro repo. The binaries are placed directly into /usr/lib and /usr/bin and executed by users. While sha256sums are provided for the architecture-specific tarballs (so integrity is checked at build time), the checksums themselves are only as trustworthy as the PKGBUILD — if the S3 bucket is compromised and the PKGBUILD updated, users get malicious binaries. The appdata.xml has 'SKIP' for its checksum, which is minor. The prepare() step also fetches a favicon at build time via curl without any checksum, though this is only used as an icon. The core concern is the prebuilt binary from an unofficial S3 host: this is a genuine medium-severity supply-chain risk, not a false positive. The package is proprietary (LicenseRef-Proprietary) and appears to be a legitimate app by Greentech Apps Foundation distributed via Flathub as a Flatpak, but this AUR package bypasses Flatpak sandboxing and installs native binaries system-wide.
PKGBUILD
2 offending line(s) highlighted# Maintainer: Enamul Hasan <enamulhabid at gmail dot com>
pkgname=gtaf-quran
pkgver=0.5.11 # Default to x86_64 version
pkgrel=1
pkgdesc="Al Quran (Tafsir & By Word) by Greentech Apps Foundation"
arch=('x86_64' 'aarch64')
url="https://flathub.org/apps/org.gtaf.quran"
license=('LicenseRef-Proprietary')
depends=(
'ffmpeg' 'libass' 'libplacebo' 'mpv' 'gnutls' 'aom' 'dav1d' 'freetype2'
'lame' 'opus' 'vulkan-icd-loader' 'shaderc' 'pipewire-pulse' 'libaacs'
)
makedepends=('imagemagick' 'curl') # needed to convert .ico to .png
# Version variables for different architectures
_x86_64_ver=0.5.11
_aarch64_ver=0.5.9
# Source files
source=(
"https://raw.githubusercontent.com/flathub/org.gtaf.quran/master/org.gtaf.quran.appdata.xml"
)
# Architecture-specific sources
source_x86_64=(
"https://direct-download-apps.s3.us-east-2.amazonaws.com/quran/quran_${_x86_64_ver}_x86_64.tar.gz"
)
source_aarch64=(
"https://direct-download-apps.s3.us-east-2.amazonaws.com/quran/quran_${_aarch64_ver}_arm64.tar.gz"
)
# Checksums
sha256sums=('SKIP') # For the appdata.xml from GitHub
sha256sums_x86_64=('2dea85c6b7ec1f95405a9c9724008be759d8688124aa332e459927d41752d68b')
sha256sums_aarch64=('d690a161d3e919392a4f1c1ef15d715395ed3010d01c4328bc6775fb0f34e4b9')
prepare() {
cd "$srcdir"
curl -LO https://quran.gtaf.org/favicon.ico
# Convert favicon.ico to PNG with ImageMagick's convert
convert favicon.ico "${pkgname}.png"
rm favicon.ico
}
package() {
# Create directory structure
install -d "${pkgdir}/usr/lib/${pkgname}"
install -d "${pkgdir}/usr/share/${pkgname}"
install -d "${pkgdir}/usr/bin"
# Move files to their destinations
mv "${srcdir}/data/quran/lib" "${pkgdir}/usr/lib/${pkgname}/lib"
mv "${srcdir}/data/quran/data/"* "${pkgdir}/usr/share/${pkgname}"
mv "${srcdir}/data/quran/qm_flutter" "${pkgdir}/usr/lib/${pkgname}/quran"
# Create symlinks
ln -s "../lib/${pkgname}/quran" "${pkgdir}/usr/bin/${pkgname}"
ln -s "../../share/${pkgname}" "${pkgdir}/usr/lib/${pkgname}/data"
# Install desktop file and icon
install -Dm644 "${srcdir}/data/gui/quran.desktop" \
"${pkgdir}/usr/share/applications/${pkgname}.desktop"
install -Dm644 "${srcdir}/data/gui/quran.svg" \
"${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname}.svg"
install -Dm644 /dev/stdin "${pkgdir}/usr/share/applications/${pkgname}.desktop" <<EOF
[Desktop Entry]
Name=Al Quran (Tafsir & By Word)
Comment=Al Quran (Tafsir & By Word) by Greentech Apps Foundation
Exec=/usr/bin/${pkgname}
Icon=${pkgname}
Terminal=false
Type=Application
Categories=Education;
Keywords=alquran;quran;quranlinux;tafsir;tafseer;gtaf;greentechapps;greentech
EOF
install -Dm644 "${srcdir}/${pkgname}.png" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname}.png"
# Install appdata
install -Dm644 "${srcdir}/org.gtaf.quran.appdata.xml" \
"${pkgdir}/usr/share/metainfo/${pkgname}.appdata.xml"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | MEDIUM | 3 |
| 2026-08-02 00:16:08 | MEDIUM | 3 |
| 2026-08-01 00:11:18 | MEDIUM | 3 |
| 2026-07-31 00:14:10 | MEDIUM | 3 |
| 2026-07-30 00:17:23 | MEDIUM | 3 |
| 2026-07-29 00:25:53 | MEDIUM | 3 |
| 2026-07-28 00:07:28 | MEDIUM | 3 |
| 2026-07-27 00:24:32 | MEDIUM | 3 |
| 2026-07-26 00:07:32 | MEDIUM | 3 |
| 2026-07-25 00:13:44 | MEDIUM | 3 |
| 2026-07-24 00:02:28 | MEDIUM | 3 |
| 2026-07-23 00:14:47 | MEDIUM | 3 |
| 2026-07-22 00:29:32 | MEDIUM | 3 |
| 2026-07-21 00:24:15 | MEDIUM | 3 |
| 2026-07-20 00:19:49 | MEDIUM | 3 |
| 2026-07-19 00:17:08 | MEDIUM | 3 |
| 2026-07-18 00:14:48 | MEDIUM | 3 |
| 2026-07-17 00:06:16 | MEDIUM | 3 |
| 2026-07-16 00:05:41 | MEDIUM | 3 |
| 2026-07-15 00:09:25 | MEDIUM | 3 |