masterpdfeditor-qt6
The package downloads the source from the project's official domain and builds from it; the untrusted host flag is a false positive as code-industry.net is the legitimate publisher, and the checksum is verified against the same site.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads the source from the project's official domain and builds from it; the untrusted host flag is a false positive as code-industry.net is the legitimate publisher, and the checksum is verified against the same site.
2 higher static findings superseded - not the current verdict (shown for transparency)
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:13
_checksum=$(curl 'https://code-industry.net/checksum-information/' | grep -oP '[a-f0-9]{40}(?=.*master-pdf-editor-'"${pkgver}${_patchver}"'-qt6.11.1.x86_64.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:42
"https://code-industry.net/public/master-pdf-editor-${pkgver}${_patchver}-qt6.11.1.x86_64.tar.gz"
PKGBUILD
2 offending line(s) highlighted#!/usr/bin/env bash
# shellcheck disable=SC2034,SC2148,SC2154
#
# Maintainer: Toria <ninetailedtori@uwu.gal>
#
_pkgname=masterpdfeditor
pkgname="${_pkgname}-qt6"
pkgver=5.9.99
_patchver=''
pkgrel=1
pkgdesc='A complete solution for viewing, creating and editing PDF files.'
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}"'-qt6.11.1.x86_64.tar.gz)')
_checksum=${checksum% *}
_checksum=${checksum:-f6e09030bca6bc16bebb34a494e90b63ab5df484}
arch=('x86_64')
license=('custom')
makedepends=(
'curl'
'patchelf'
)
provides=("${_pkgname}=${pkgver}")
conflicts=(
"${_pkgname}-qt_include"
"${_pkgname}-qt5"
)
depends=(
'libgl'
'pkcs11-helper'
'sane'
'qt6-base'
'qt6-svg'
'qt6-declarative'
'qt6-5compat'
'xcb-util-image'
'xcb-util-keysyms'
'xcb-util-renderutil'
'xcb-util-wm'
'glibc>=2.28'
)
source_x86_64=(
"https://code-industry.net/public/master-pdf-editor-${pkgver}${_patchver}-qt6.11.1.x86_64.tar.gz"
)
sha1sums_x86_64=(
"${_checksum}"
)
package() {
# Move all required files to opt/masterpdfeditor
install -d \
"${pkgdir}/opt"
install -d \
"${pkgdir}/usr/bin"
cp -a --no-preserve=ownership \
"master-pdf-editor-${pkgver%%.*}" \
"${pkgdir}/opt/${_pkgname}"
# Finally, the application extras, such as launcher
cd "${pkgdir}/opt/${_pkgname}" || return 1
# Link it to /usr/bin for a PATHed binary.
ln -sfv '/opt/masterpdfeditor/masterpdfeditor5' "${pkgdir}/usr/bin/masterpdfeditor"
# Patch the desktop to use usr/bin launcher
sed -i \
-e 's|^Exec=.*|Exec=/usr/bin/masterpdfeditor %f|' \
-e 's|^Path=.*|Path=/opt/masterpdfeditor|' \
-e 's|^Icon=.*|Icon=/opt/masterpdfeditor/masterpdfeditor5.png|' \
"${_pkgname}${pkgver%%.*}.desktop"
# Install all the files.
install -Dm644 \
"${_pkgname}${pkgver%%.*}.desktop" \
-t "${pkgdir}/usr/share/applications/"
install -Dm644 \
'license_en.txt' \
-t "${pkgdir}/usr/share/licenses/${pkgname}/"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 3 |
| 2026-09-16 00:03:17 | Low | 3 |
| 2026-09-15 00:25:31 | Low | 3 |
| 2026-09-14 00:27:57 | Low | 3 |
| 2026-09-13 00:19:54 | Low | 3 |
| 2026-09-12 00:25:17 | Low | 3 |
| 2026-09-11 00:19:22 | Low | 3 |
| 2026-09-10 00:22:44 | Low | 3 |
| 2026-09-09 00:04:09 | Low | 3 |
| 2026-09-08 00:18:08 | Low | 3 |
| 2026-09-07 00:30:15 | Low | 3 |
| 2026-09-06 00:17:06 | Low | 3 |
| 2026-09-05 00:16:27 | Low | 3 |
| 2026-09-04 00:03:13 | Low | 3 |
| 2026-09-03 00:15:47 | Low | 3 |
| 2026-09-02 00:02:31 | Low | 3 |
| 2026-09-01 00:11:19 | Low | 3 |
| 2026-08-31 00:19:57 | Low | 3 |
| 2026-08-30 00:04:14 | Low | 3 |
| 2026-08-29 00:29:17 | Low | 3 |