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-09-17 00:27:14 | Medium | 3 |
| 2026-09-16 00:03:17 | Medium | 3 |
| 2026-09-15 00:25:31 | Medium | 3 |
| 2026-09-14 00:27:57 | Medium | 3 |
| 2026-09-13 00:19:54 | Medium | 3 |
| 2026-09-12 00:25:17 | Medium | 3 |
| 2026-09-11 00:19:22 | Medium | 3 |
| 2026-09-10 00:22:44 | Medium | 3 |
| 2026-09-09 00:04:09 | Medium | 3 |
| 2026-09-08 00:18:08 | Medium | 3 |
| 2026-09-07 00:30:15 | Medium | 3 |
| 2026-09-06 00:17:06 | Medium | 3 |
| 2026-09-05 00:16:27 | Medium | 3 |
| 2026-09-04 00:03:13 | Medium | 3 |
| 2026-09-03 00:15:47 | Medium | 3 |
| 2026-09-02 00:02:31 | Medium | 3 |
| 2026-09-01 00:11:19 | Medium | 3 |
| 2026-08-31 00:19:57 | Medium | 3 |
| 2026-08-30 00:04:14 | Medium | 3 |
| 2026-08-29 00:29:17 | Medium | 3 |