kotlin-toolchain

LOW
maintainer anjanaya 0 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

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

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 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)
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.2
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

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion