masterpdfeditor-qt_include
The package downloads a prebuilt binary from a non-whitelisted host (code-industry.net), which is the official vendor, but the checksum is fetched dynamically at build time without a fixed fallback, creating a supply-chain risk if the site is compromised.
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:11
_checksum=$(curl 'https://code-industry.net/checksum-information/' | grep -oP '[a-f0-9]{40}(?=.*master-pdf-editor-'"${pkgver}${_patchver}"'-qt5.x86_64-qt_include.tar.gz)')
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:33
source_x86_64=("https://code-industry.net/public/master-pdf-editor-${pkgver}${_patchver}-qt5.x86_64-qt_include.tar.gz")
llm_review
An AI model (qwen/qwen3-235b-a22b-07-25) reviewed this and agrees it is MEDIUM (confidence 95%): The package downloads a prebuilt binary from a non-whitelisted host (code-industry.net), which is the official vendor, but the checksum is fetched dynamically at build time without a fixed fallback, creating a supply-chain risk if the site is compromised.
PKGBUILD
2 offending line(s) highlighted# shellcheck disable=SC2034,SC2148,SC2154
# Maintainer: Toria <ninetailedtori@uwu.gal>
_pkgname=masterpdfeditor
pkgname=${_pkgname}-qt_include
pkgver=5.9.98
_patchver='-1'
pkgrel=1
pkgdesc='A complete solution for viewing, creating and editing PDF files (qt5 version with static-linked qt libs).'
url='https://code-industry.net/free-pdf-editor/'
_checksum=$(curl 'https://code-industry.net/checksum-information/' | grep -oP '[a-f0-9]{40}(?=.*master-pdf-editor-'"${pkgver}${_patchver}"'-qt5.x86_64-qt_include.tar.gz)')
arch=('x86_64')
license=('custom')
depends=(
'libgl'
'pkcs11-helper'
'sane'
'xcb-util-image'
'xcb-util-keysyms'
'xcb-util-renderutil'
'xcb-util-wm'
'glibc>=2.28'
)
makedepends=(
'curl'
'patchelf'
)
provides=("${_pkgname}=${pkgver}")
conflicts=(
"${_pkgname}-qt6"
"${_pkgname}-qt5"
)
source_x86_64=("https://code-industry.net/public/master-pdf-editor-${pkgver}${_patchver}-qt5.x86_64-qt_include.tar.gz")
sha1sums_x86_64=("${_checksum% *}")
package() {
install -d "${pkgdir}/{opt,usr/bin}/"
cp -a --no-preserve=ownership "master-pdf-editor-${pkgver%%.*}" "${pkgdir}/opt/"
cd "${pkgdir}/opt/master-pdf-editor-${pkgver%%.*}" || return 1
ln -sr "masterpdfeditor${pkgver%%.*}" -t "${pkgdir}/usr/bin/"
install -Dm644 "masterpdfeditor${pkgver%%.*}.desktop" -t "${pkgdir}/usr/share/applications/"
install -Dm644 'license_en.txt' -t "${pkgdir}/usr/share/licenses/${pkgname}/"
patchelf --remove-rpath "masterpdfeditor${pkgver%%.*}"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Medium | 3 |
| 2026-10-31 00:07:41 | Medium | 3 |
| 2026-10-30 00:29:30 | Medium | 3 |
| 2026-10-29 00:13:55 | Medium | 3 |
| 2026-10-28 00:06:54 | Medium | 3 |
| 2026-10-27 00:23:28 | Medium | 3 |
| 2026-10-26 00:12:40 | Medium | 3 |
| 2026-10-25 00:20:48 | Medium | 3 |
| 2026-10-24 00:14:55 | Medium | 3 |
| 2026-10-23 00:02:19 | Medium | 3 |
| 2026-10-22 00:13:10 | Medium | 3 |
| 2026-10-21 00:12:50 | Medium | 3 |
| 2026-10-20 00:10:31 | Medium | 3 |
| 2026-10-19 00:03:55 | Medium | 3 |
| 2026-10-18 00:06:55 | Medium | 3 |
| 2026-10-17 00:21:55 | Medium | 3 |
| 2026-10-16 00:12:47 | Medium | 3 |
| 2026-10-15 00:28:05 | Medium | 3 |
| 2026-10-14 00:06:47 | Medium | 3 |
| 2026-10-13 00:23:45 | Medium | 3 |