masterpdfeditor-qt_include

MEDIUM
maintainer ninetailedtori 2 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

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

Medium External download from an untrusted host, not in source=() 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)')
Medium source=() URL on a non-standard host 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")
Medium AI review 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
1# shellcheck disable=SC2034,SC2148,SC2154
2# Maintainer: Toria <ninetailedtori@uwu.gal>
3
4_pkgname=masterpdfeditor
5pkgname=${_pkgname}-qt_include
6pkgver=5.9.98
7_patchver='-1'
8pkgrel=1
9pkgdesc='A complete solution for viewing, creating and editing PDF files (qt5 version with static-linked qt libs).'
10url='https://code-industry.net/free-pdf-editor/'
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)')
12arch=('x86_64')
13license=('custom')
14depends=(
15 'libgl'
16 'pkcs11-helper'
17 'sane'
18 'xcb-util-image'
19 'xcb-util-keysyms'
20 'xcb-util-renderutil'
21 'xcb-util-wm'
22 'glibc>=2.28'
23)
24makedepends=(
25 'curl'
26 'patchelf'
27)
28provides=("${_pkgname}=${pkgver}")
29conflicts=(
30 "${_pkgname}-qt6"
31 "${_pkgname}-qt5"
32)
33source_x86_64=("https://code-industry.net/public/master-pdf-editor-${pkgver}${_patchver}-qt5.x86_64-qt_include.tar.gz")
34sha1sums_x86_64=("${_checksum% *}")
35
36package() {
37 install -d "${pkgdir}/{opt,usr/bin}/"
38 cp -a --no-preserve=ownership "master-pdf-editor-${pkgver%%.*}" "${pkgdir}/opt/"
39
40 cd "${pkgdir}/opt/master-pdf-editor-${pkgver%%.*}" || return 1
41 ln -sr "masterpdfeditor${pkgver%%.*}" -t "${pkgdir}/usr/bin/"
42 install -Dm644 "masterpdfeditor${pkgver%%.*}.desktop" -t "${pkgdir}/usr/share/applications/"
43 install -Dm644 'license_en.txt' -t "${pkgdir}/usr/share/licenses/${pkgname}/"
44 patchelf --remove-rpath "masterpdfeditor${pkgver%%.*}"
45}
46

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion