pdflib-lite
maintainer ConnorBehan
· 4 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from a personal server, but it is the official PDFlib-Lite library source code being built, not an executable; the realistic worst case of a swapped source is building malicious code, but the package otherwise follows standard build practices and installs documentation and examples as data.
Triggered rules
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from a personal server, but it is the official PDFlib-Lite library source code being built, not an executable; the realistic worst case of a swapped source is building malicious code, but the package otherwise follows standard build practices and installs documentation and examples as data.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:14
source=(http://ponce.cc/slackware/sources/repo/${_pkgnamecaps}-${pkgver}.tar.gz LICENSE.pdf)
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Connor Behan <connor.behan@gmail.com>
2
# Contributor: Olivier Mehani <shtrom-arch@ssji.net>
3
4
pkgname=pdflib-lite
5
_pkgnamecaps=PDFlib-Lite
6
pkgver=7.0.5p3
7
_basepkgver=${pkgver/p*/}
8
pkgrel=4
9
pkgdesc="PDF manipulation library."
10
url="https://www.pdflib.com"
11
arch=('i686' 'x86_64')
12
depends=('glibc')
13
provides=('pdflib')
14
source=(http://ponce.cc/slackware/sources/repo/${_pkgnamecaps}-${pkgver}.tar.gz LICENSE.pdf)
15
license=(custom:pdflib-lite)
16
17
build() {
18
cd "$srcdir"/$_pkgnamecaps-$pkgver
19
./configure --prefix=/usr
20
make
21
}
22
23
package() {
24
cd "$srcdir"/$_pkgnamecaps-$pkgver
25
make prefix="$pkgdir"/usr install
26
27
## Copy files required by the license
28
# Documentation
29
mkdir -p "$pkgdir"/usr/share/pdflib-lite/doc
30
cp ./doc/pdflib/* "$pkgdir"/usr/share/pdflib-lite/doc
31
32
# License
33
mkdir -p "$pkgdir"/usr/share/licenses/pdflib-lite
34
cp -H ../LICENSE.pdf "$pkgdir"/usr/share/licenses/pdflib-lite/LICENSE.pdf
35
36
# Examples
37
make -C ./bind/pdflib clean
38
cp -R ./bind/pdflib/{c,cpp,java} "$pkgdir"/usr/share/pdflib-lite
39
find "$pkgdir"/usr/share/pdflib-lite \( \
40
-name Makefile \
41
-o -name *.dsp \
42
-o -name *.dsw \
43
-o -name *.sln \
44
-o -name *.vcproj \
45
\) -exec rm {} \;
46
}
47
48
sha512sums=('c33c330f22a9be7dc9a7a32f6fcabec37fe89c76105d4b870e94a0528c4de7885dcdeae775424e30aef9618d49f01d802dbece6f01451493a531bb2effb3f556'
49
'a1d2324cca423a8dd95cb95772ef9600dbb65951d0fef90b79205c6303067dd7024c8c41936bf6e72258fcdcb747370f56912ae4c606c0d082d86be2f2b9d545')
50
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |