kotlin-toolchain
maintainer anjanaya
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
Installs a prebuilt JetBrains-hosted wrapper binary with a verified sha256sum from what appears to be JetBrains' own artifact infrastructure; the runtime download behavior is expected and disclosed, though the package is new and the host is not on a standard whitelist.
Triggered rules
LOW
AI review downgraded a static finding
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 70%): Installs a prebuilt JetBrains-hosted wrapper binary with a verified sha256sum from what appears to be JetBrains' own artifact infrastructure; the runtime download behavior is expected and disclosed, though the package is new and the host is not on a standard whitelist.
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
11
pkgname=kotlin-toolchain
12
pkgver=0.11.1
13
pkgrel=1
14
pkgdesc="JetBrains Kotlin Toolchain CLI (Amper) -- bootstrap wrapper that downloads its own JDK and toolchain distribution on first run"
15
arch=('any')
16
url="https://kotlin-toolchain.org"
17
license=('Apache-2.0')
18
depends=('curl')
19
conflicts=('kotlin')
20
source=("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")
23
noextract=('kotlin')
24
sha256sums=('6dbcdde0bcae41705c187aefb6c91c6c29ef9079c8072a473c2149151f8d7962'
25
'f9a85c61ba4fe8bacc300053b3384b5fc7d9f585a08dc7b9a465b7c0716c4f50'
26
'c88ce978e9c66bd27e0b301a4950b5cb62919de395420c229077879420adbcf4')
27
28
package() {
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
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 3 |
| 2026-07-28 00:07:28 | LOW | 3 |
| 2026-07-27 00:24:32 | LOW | 3 |
| 2026-07-26 00:07:32 | LOW | 3 |
| 2026-07-25 00:13:44 | LOW | 3 |
| 2026-07-24 00:02:28 | LOW | 3 |
| 2026-07-23 00:14:47 | LOW | 3 |
| 2026-07-22 00:29:32 | LOW | 3 |
| 2026-07-21 00:24:15 | LOW | 3 |
| 2026-07-20 00:19:49 | LOW | 3 |
| 2026-07-19 00:17:08 | LOW | 3 |
| 2026-07-18 00:14:48 | LOW | 3 |
| 2026-07-17 00:06:16 | LOW | 3 |
| 2026-07-16 00:05:41 | LOW | 3 |
| 2026-07-15 17:52:54 | LOW | 3 |