kotlin-toolchain
The package installs a bootstrap script from JetBrains' official Maven repository, which is a legitimate source for the project; the script downloads additional components at runtime, but this is transparent and expected behavior for this toolchain.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package installs a bootstrap script from JetBrains' official Maven repository, which is a legitimate source for the project; the script downloads additional components at runtime, but this is transparent and expected behavior for this toolchain.
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:20
source=("kotlin::https://packages.jetbrains.team/maven/p/amper/amper/org/jetbrains/kotlin/kotlin-cli/${pkgver}/kotlin-cli-${pkgver}-wrapper"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Guru <anjanaya@gmail.com>
# Upstream (website): https://kotlin-toolchain.org
# Upstream (source): https://github.com/JetBrains/kotlin-toolchain
#
# This package ships ONLY the official upstream bootstrap wrapper (the same
# script served by `curl -fsSL https://kotl.in/install.sh | sh`), installed as
# /usr/bin/kotlin. On first run it downloads the Kotlin Toolchain distribution
# and a Zulu JDK 25 into ~/.cache/JetBrains/Kotlin/cli, so no Java dependency
# is declared and the heavy (~340 MB) download happens at runtime, per user.
pkgname=kotlin-toolchain
pkgver=0.12.2
pkgrel=1
pkgdesc="JetBrains Kotlin Toolchain CLI (Amper) -- bootstrap wrapper that downloads its own JDK and toolchain distribution on first run"
arch=('any')
url="https://kotlin-toolchain.org"
license=('Apache-2.0')
depends=('curl')
conflicts=('kotlin')
source=("kotlin::https://packages.jetbrains.team/maven/p/amper/amper/org/jetbrains/kotlin/kotlin-cli/${pkgver}/kotlin-cli-${pkgver}-wrapper"
"LICENSE.txt::https://raw.githubusercontent.com/JetBrains/kotlin-toolchain/v${pkgver}/LICENSE.txt"
"NOTICE.txt::https://raw.githubusercontent.com/JetBrains/kotlin-toolchain/v${pkgver}/NOTICE.txt")
noextract=('kotlin')
sha256sums=('1fb20f3195d3a635ced9ddf49d9b6aae40119622c5f995a842fddce5ff2764c2'
'f9a85c61ba4fe8bacc300053b3384b5fc7d9f585a08dc7b9a465b7c0716c4f50'
'c88ce978e9c66bd27e0b301a4950b5cb62919de395420c229077879420adbcf4')
package() {
install -Dm755 "${srcdir}/kotlin" "${pkgdir}/usr/bin/kotlin"
install -Dm644 "${srcdir}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
install -Dm644 "${srcdir}/NOTICE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/NOTICE.txt"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |