piranha-servlet
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-08-03 00:08:14 | MEDIUM | 2 |
| 2026-08-02 00:16:08 | MEDIUM | 2 |
| 2026-08-01 00:11:18 | MEDIUM | 2 |
| 2026-07-31 00:14:10 | MEDIUM | 2 |
| 2026-07-30 00:17:23 | MEDIUM | 2 |
| 2026-07-29 00:25:53 | MEDIUM | 2 |
| 2026-07-28 00:07:28 | MEDIUM | 2 |
| 2026-07-27 00:24:32 | MEDIUM | 2 |
| 2026-07-26 00:07:32 | MEDIUM | 2 |
| 2026-07-25 00:13:44 | MEDIUM | 2 |
| 2026-07-24 00:02:28 | MEDIUM | 2 |
| 2026-07-23 00:14:47 | MEDIUM | 2 |
| 2026-07-22 00:29:32 | MEDIUM | 2 |
| 2026-07-21 00:24:15 | MEDIUM | 2 |
| 2026-07-20 00:19:49 | MEDIUM | 2 |
| 2026-07-19 00:17:08 | MEDIUM | 2 |
| 2026-07-18 00:14:48 | MEDIUM | 2 |
| 2026-07-17 00:06:16 | MEDIUM | 2 |
| 2026-07-16 00:05:41 | MEDIUM | 2 |
| 2026-07-15 00:09:25 | MEDIUM | 2 |