open-pdf-studio-bin
MEDIUM
maintainer zxp19821005
0 votes
scanned 2026-08-21 07:14:31.584968
Why flagged
The package installs a prebuilt binary from a GitHub release on a non-whitelisted host, which is unverifiable and could be silently swapped, posing a supply-chain risk.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Medium
AI review of an ambiguous pattern
llm_review
The static rules found a suspicious pattern they could not resolve, so an AI model (qwen/qwen3-235b-a22b-2507) reviewed it and judged it MEDIUM (confidence 95%): The package installs a prebuilt binary from a GitHub release on a non-whitelisted host, which is unverifiable and could be silently swapped, posing a supply-chain risk.
PKGBUILD
1
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
2
pkgname=open-pdf-studio-bin
3
_pkgname=Open.PDF.Studio
4
pkgver=1.84.0
5
pkgrel=1
6
pkgdesc="A free, open-source PDF editor and annotator.(Prebuilt version)"
7
arch=('x86_64')
8
url="https://github.com/OpenAEC-Foundation/open-pdf-studio"
9
license=('GPL-3.0-or-later')
10
provides=("${pkgname%-bin}=${pkgver}")
11
conflicts=("${pkgname%-bin}")
12
depends=(
13
'gtk3'
14
'gdk-pixbuf2'
15
'webkit2gtk-4.1'
16
)
17
source=("${pkgname%-bin}-${pkgver}.deb::${url}/releases/download/v${pkgver}/${_pkgname}_${pkgver}_amd64.deb")
18
sha256sums=('562db70f0e7ceadcb0c4b4682cb70fd7b749f2fedfc4ed834db4bf18955d6811')
19
prepare() {
20
bsdtar -xf "${srcdir}/data."*
21
sed -i "s/Categories=/Categories=Office;/" "${srcdir}/usr/share/applications/${_pkgname//./ }.desktop"
22
}
23
package() {
24
install -Dm755 "${srcdir}/usr/bin/${pkgname%-bin}" -t "${pkgdir}/usr/bin"
25
cp -a "${srcdir}/usr/lib" "${pkgdir}/usr"
26
find "${srcdir}" -type f \( -name "*.png" -o -name "*.svg" \) -path "*share/icons/*" | while read -r _i; do
27
_extension="${_i##*.}"
28
_icon_path="${_i#*share/icons/}"
29
_target_dir="/usr/share/icons/$(dirname "${_icon_path}")"
30
install -Dm644 "${_i}" "${pkgdir}${_target_dir}/${pkgname%-bin}.${_extension}"
31
done
32
install -Dm644 "${srcdir}/usr/share/applications/${_pkgname//./ }.desktop" "${pkgdir}/usr/share/applications/${pkgname%-bin}.desktop"
33
}
34
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-21 07:14:31 | Medium | 2 |