plantuml-pdf

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

The source is a prebuilt JAR bundle (batikAndFop.zip containing Apache Batik and FOP JARs) pulled from beta.plantuml.net, which is a subdomain of the official plantuml.com domain but is a 'beta' endpoint rather than the canonical release infrastructure (GitHub releases or plantuml.com/download). These JARs are installed into /usr/share/java/plantuml/ and will be executed by the JVM when plantuml generates PDFs. While beta.plantuml.net is operated by the PlantUML project itself (not a random third party), it is an unofficial/unstable endpoint with no versioned path — the same URL could silently serve different content over time, and there is no upstream integrity guarantee beyond the single sha256sum pinned here. The combination of executed JVM bytecode from a non-versioned, non-canonical host constitutes a real (if low-probability) supply-chain risk, justifying MEDIUM rather than clean/low.

Triggered rules

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:12 source=("http://beta.plantuml.net/batikAndFop.zip")
Medium AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The source is a prebuilt JAR bundle (batikAndFop.zip containing Apache Batik and FOP JARs) pulled from beta.plantuml.net, which is a subdomain of the official plantuml.com domain but is a 'beta' endpoint rather than the canonical release infrastructure (GitHub releases or plantuml.com/download). These JARs are installed into /usr/share/java/plantuml/ and will be executed by the JVM when plantuml generates PDFs. While beta.plantuml.net is operated by the PlantUML project itself (not a random third party), it is an unofficial/unstable endpoint with no versioned path — the same URL could silently serve different content over time, and there is no upstream integrity guarantee beyond the single sha256sum pinned here. The combination of executed JVM bytecode from a non-versioned, non-canonical host constitutes a real (if low-probability) supply-chain risk, justifying MEDIUM rather than clean/low.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Linus Dierheimer <Linus@Dierheimer.de>
2# Contributor: Mikołaj Chwalisz <m.chwalisz@gmail.com>
3
4pkgname=plantuml-pdf
5pkgver=1.9999.0 # Keep compatible with previous package versioning
6pkgrel=1
7pkgdesc="Extends plantuml package to enable PDF support"
8arch=(any)
9url="http://plantuml.com/"
10license=('GPL')
11depends=("plantuml")
12source=("http://beta.plantuml.net/batikAndFop.zip")
13sha256sums=("c1f328a9aacfd954c6cd90650cefd924baea358d6e27520de7ccf9b30a681877")
14
15package() {
16 mkdir -p "$pkgdir/usr/share/java/plantuml/"
17 cp -r "$srcdir"/*.jar "$pkgdir/usr/share/java/plantuml/"
18}
19

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Medium 2
2026-09-16 00:03:17 Medium 2
2026-09-15 00:25:31 Medium 2
2026-09-14 00:27:57 Medium 2
2026-09-13 00:19:54 Medium 2
2026-09-12 00:25:17 Medium 2
2026-09-11 00:19:22 Medium 2
2026-09-10 00:22:44 Medium 2
2026-09-09 00:04:09 Medium 2
2026-09-08 00:18:08 Medium 2
2026-09-07 00:30:15 Medium 2
2026-09-06 00:17:06 Medium 2
2026-09-05 00:16:27 Medium 2
2026-09-04 00:03:13 Medium 2
2026-09-03 00:15:47 Medium 2
2026-09-02 00:02:31 Medium 2
2026-09-01 00:11:19 Medium 2
2026-08-31 00:19:57 Medium 2
2026-08-30 00:04:14 Medium 2
2026-08-29 00:29:17 Medium 2

Report a package

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

0 / 4000
Your suggestion