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
4pkgname=pdflib-lite
5_pkgnamecaps=PDFlib-Lite
6pkgver=7.0.5p3
7_basepkgver=${pkgver/p*/}
8pkgrel=4
9pkgdesc="PDF manipulation library."
10url="https://www.pdflib.com"
11arch=('i686' 'x86_64')
12depends=('glibc')
13provides=('pdflib')
14source=(http://ponce.cc/slackware/sources/repo/${_pkgnamecaps}-${pkgver}.tar.gz LICENSE.pdf)
15license=(custom:pdflib-lite)
16
17build() {
18 cd "$srcdir"/$_pkgnamecaps-$pkgver
19 ./configure --prefix=/usr
20 make
21}
22
23package() {
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
48sha512sums=('c33c330f22a9be7dc9a7a32f6fcabec37fe89c76105d4b870e94a0528c4de7885dcdeae775424e30aef9618d49f01d802dbece6f01451493a531bb2effb3f556'
49 'a1d2324cca423a8dd95cb95772ef9600dbb65951d0fef90b79205c6303067dd7024c8c41936bf6e72258fcdcb747370f56912ae4c606c0d082d86be2f2b9d545')
50

Scan history

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

Report a package

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

0 / 4000
Your suggestion