piranha-servlet
The PKGBUILD downloads a prebuilt JAR (executable code) from Maven Central using curl inside package() rather than declaring it in source=() with a checksum. While Maven Central is a legitimate and well-known repository, bypassing makepkg's integrity verification (no sha256sums/b2sums) means there is no tamper detection — a compromised or MITM'd response would be silently installed. The JAR is executed at runtime by the JVM, so it constitutes executed code without integrity verification. This is a genuine, if moderate, supply-chain concern: not clearly malicious, but the missing checksum on an executed artifact from an external host warrants MEDIUM. Additionally, the 'install $startdir/$pkgname' line installs a file from the source tree that is not declared in source=() either, which is another unverified artifact.
Triggered rules
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:20
curl -OL "https://repo1.maven.org/maven2/cloud/piranha/dist/piranha-dist-servlet/$pkgver/piranha-dist-servlet-$pkgver.jar"
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 85%): The PKGBUILD downloads a prebuilt JAR (executable code) from Maven Central using curl inside package() rather than declaring it in source=() with a checksum. While Maven Central is a legitimate and well-known repository, bypassing makepkg's integrity verification (no sha256sums/b2sums) means there is no tamper detection — a compromised or MITM'd response would be silently installed. The JAR is executed at runtime by the JVM, so it constitutes executed code without integrity verification. This is a genuine, if moderate, supply-chain concern: not clearly malicious, but the missing checksum on an executed artifact from an external host warrants MEDIUM. Additionally, the 'install $startdir/$pkgname' line installs a file from the source tree that is not declared in source=() either, which is another unverified artifact.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Abderrahman-byte <el.abderrahman00@gmail.com>
# Contributor: Abderrahman-byte <el.abderrahman00@gmail.com>
pkgname=piranha-servlet
pkgver=23.1.0
pkgrel=1
pkgdesc="Piranha is a cloud native extensible runtime, which delivers various integration libraries facilitating running applications in a non application server centric way."
arch=("any")
url="https://github.com/piranhacloud/piranha"
depends=("jre-openjdk")
provides=("piranha-servlet")
package() {
mkdir -p $pkgdir/usr/share/piranha-cloud/
mkdir -p $pkgdir/usr/bin/
cd $pkgdir/usr/share/piranha-cloud/
curl -OL "https://repo1.maven.org/maven2/cloud/piranha/dist/piranha-dist-servlet/$pkgver/piranha-dist-servlet-$pkgver.jar"
ln -s ./piranha-dist-servlet-$pkgver.jar $pkgdir/usr/share/piranha-cloud/piranha-dist-servlet.jar
install $startdir/$pkgname $pkgdir/usr/bin/$pkgname
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Medium | 2 |
| 2026-10-31 00:07:41 | Medium | 2 |
| 2026-10-30 00:29:30 | Medium | 2 |
| 2026-10-29 00:13:55 | Medium | 2 |
| 2026-10-28 00:06:54 | Medium | 2 |
| 2026-10-27 00:23:28 | Medium | 2 |
| 2026-10-26 00:12:40 | Medium | 2 |
| 2026-10-25 00:20:48 | Medium | 2 |
| 2026-10-24 00:14:55 | Medium | 2 |
| 2026-10-23 00:02:19 | Medium | 2 |
| 2026-10-22 00:13:10 | Medium | 2 |
| 2026-10-21 00:12:50 | Medium | 2 |
| 2026-10-20 00:10:31 | Medium | 2 |
| 2026-10-19 00:03:55 | Medium | 2 |
| 2026-10-18 00:06:55 | Medium | 2 |
| 2026-10-17 00:21:55 | Medium | 2 |
| 2026-10-16 00:12:47 | Medium | 2 |
| 2026-10-15 00:28:05 | Medium | 2 |
| 2026-10-14 00:06:47 | Medium | 2 |
| 2026-10-13 00:23:45 | Medium | 2 |