scalastyle-2.11
Downloads a JAR from Maven Central (repo1.maven.org), which is a well-known, trusted artifact repository; the JAR is installed as data/library and a shell wrapper script is bundled locally, both with checksums provided. The non-standard host flag is a false positive since Maven Central is a legitimate source.
Triggered rules
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
llm_review
The static rules flagged this MEDIUM, but an AI model (anthropic/claude-sonnet-4.6) reviewed the full PKGBUILD and judged it LOW (confidence 80%): Downloads a JAR from Maven Central (repo1.maven.org), which is a well-known, trusted artifact repository; the JAR is installed as data/library and a shell wrapper script is bundled locally, both with checksums provided. The non-standard host flag is a false positive since Maven Central is a legitimate source.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:18
source=("https://repo1.maven.org/maven2/com/beautiful-scala/${_pkgbase}_$_scalaver/$pkgver/$_jarname"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Christian Krause ("wookietreiber") <christian.krause@mailbox.org>
_pkgbase=scalastyle
_scalaver="2.11"
pkgname="$_pkgbase-$_scalaver"
pkgver=1.5.1
pkgrel=1
pkgdesc="Examines your Scala code and indicates potential problems with it. (For Scala 2.11)"
arch=(any)
url="http://scalastyle.beautiful-scala.com/"
license=('Apache')
depends=('java-environment' 'bash')
provides=('scalastyle')
conflicts=('scalastyle')
_jarname="${_pkgbase}_$_scalaver-$pkgver-assembly.jar"
source=("https://repo1.maven.org/maven2/com/beautiful-scala/${_pkgbase}_$_scalaver/$pkgver/$_jarname"
"scalastyle.sh")
noextract=('$_jarname')
md5sums=('0e609a61319e9794eb496934085e02d5'
'bec8256a252a5c565b28117a047a9674')
package() {
install -Dm644 $srcdir/$_jarname $pkgdir/usr/share/java/scalastyle/$_jarname
install -Dm755 $srcdir/scalastyle.sh $pkgdir/usr/bin/scalastyle
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-28 05:35:56 | Low | 3 |
| 2026-08-28 05:34:42 | Medium | 2 |