kotlin-toolchain

LOW
maintainer anjanaya 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The package installs a bootstrap script from JetBrains' official domain that downloads the actual toolchain at runtime; the source host is non-standard but legitimate and the script is from the project's own infrastructure, posing no immediate risk.

Triggered rules

Low AI review downgraded a static finding 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 domain that downloads the actual toolchain at runtime; the source host is non-standard but legitimate and the script is from the project's own infrastructure, posing no immediate risk.

1 higher static finding superseded - not the current verdict (shown for transparency)
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: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
1# Maintainer: Guru <anjanaya@gmail.com>
2# Upstream (website): https://kotlin-toolchain.org
3# Upstream (source): https://github.com/JetBrains/kotlin-toolchain
4#
5# This package ships ONLY the official upstream bootstrap wrapper (the same
6# script served by `curl -fsSL https://kotl.in/install.sh | sh`), installed as
7# /usr/bin/kotlin. On first run it downloads the Kotlin Toolchain distribution
8# and a Zulu JDK 25 into ~/.cache/JetBrains/Kotlin/cli, so no Java dependency
9# is declared and the heavy (~340 MB) download happens at runtime, per user.
10
11pkgname=kotlin-toolchain
12pkgver=0.12.1
13pkgrel=1
14pkgdesc="JetBrains Kotlin Toolchain CLI (Amper) -- bootstrap wrapper that downloads its own JDK and toolchain distribution on first run"
15arch=('any')
16url="https://kotlin-toolchain.org"
17license=('Apache-2.0')
18depends=('curl')
19conflicts=('kotlin')
20source=("kotlin::https://packages.jetbrains.team/maven/p/amper/amper/org/jetbrains/kotlin/kotlin-cli/${pkgver}/kotlin-cli-${pkgver}-wrapper"
21 "LICENSE.txt::https://raw.githubusercontent.com/JetBrains/kotlin-toolchain/v${pkgver}/LICENSE.txt"
22 "NOTICE.txt::https://raw.githubusercontent.com/JetBrains/kotlin-toolchain/v${pkgver}/NOTICE.txt")
23noextract=('kotlin')
24sha256sums=('1fb20f3195d3a635ced9ddf49d9b6aae40119622c5f995a842fddce5ff2764c2'
25 'f9a85c61ba4fe8bacc300053b3384b5fc7d9f585a08dc7b9a465b7c0716c4f50'
26 'c88ce978e9c66bd27e0b301a4950b5cb62919de395420c229077879420adbcf4')
27
28package() {
29 install -Dm755 "${srcdir}/kotlin" "${pkgdir}/usr/bin/kotlin"
30 install -Dm644 "${srcdir}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
31 install -Dm644 "${srcdir}/NOTICE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/NOTICE.txt"
32}
33

Changes since previous scan

--- PKGBUILD @ 2026-09-09 00:04
+++ PKGBUILD @ 2026-09-17 00:27
@@ -9,7 +9,7 @@
# is declared and the heavy (~340 MB) download happens at runtime, per user.
pkgname=kotlin-toolchain
-pkgver=0.11.1
+pkgver=0.12.1
pkgrel=1
pkgdesc="JetBrains Kotlin Toolchain CLI (Amper) -- bootstrap wrapper that downloads its own JDK and toolchain distribution on first run"
arch=('any')
@@ -21,7 +21,7 @@
"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=('6dbcdde0bcae41705c187aefb6c91c6c29ef9079c8072a473c2149151f8d7962'
+sha256sums=('1fb20f3195d3a635ced9ddf49d9b6aae40119622c5f995a842fddce5ff2764c2'
'f9a85c61ba4fe8bacc300053b3384b5fc7d9f585a08dc7b9a465b7c0716c4f50'
'c88ce978e9c66bd27e0b301a4950b5cb62919de395420c229077879420adbcf4')

Scan history

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

Report a package

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

0 / 4000
Your suggestion