ktlsp-bin
The package downloads a prebuilt server zip from a community-maintained Codeberg release; while the host is not a major forge whitelist entry, it is the project's own official release page, and the payload is not executed directly but installed as a static server component with a clear license modification in prepare().
Triggered rules
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package downloads a prebuilt server zip from a community-maintained Codeberg release; while the host is not a major forge whitelist entry, it is the project's own official release page, and the payload is not executed directly but installed as a static server component with a clear license modification in prepare().
PKGBUILD
# Maintainer: winlogon <walker84837 at gmail dot com>
pkgname=ktlsp-bin
_tag=v1.4.0-rc1
pkgver=1.4.0rc1
pkgrel=1
pkgdesc="A community-maintained fork of fwcd/kotlin-language-server, providing Kotlin support via LSP"
arch=('any')
url="https://codeberg.org/winlogon/ktlsp"
license=('MIT')
depends=('java-runtime=21')
provides=('ktlsp' 'kotlin-language-server')
conflicts=('ktlsp' 'kotlin-language-server' 'kotlin-language-server-bin'
'kotlin-language-server-git')
source=("${pkgname}-${_tag}-server.zip::${url}/releases/download/${_tag}/server.zip"
"LICENSE.txt::${url}/raw/tag/${_tag}/LICENSE.txt")
sha256sums=('27d33f2879d12076174741488721896098e8494f5d906f99ef1c85d6159d42b7'
'1690b72b5a2beb330c98c0715929bf789cb8d91670c29ff2e4abcdae84329136')
prepare() {
# As of 1.4.0-rc1, ktlsp does not yet carry the maintainer's copyright line. It's inserted here
# until it makes it in the next upstream release. Adding it to the v1.4.0-rc1 tag would require
# rewriting history.
grep -q '^Copyright (c).*winlogon' "$srcdir/LICENSE.txt" ||
sed -i '/^Copyright (c) 2018 fwcd$/a Copyright (c) 2026 winlogon' \
"$srcdir/LICENSE.txt"
}
package() {
install -d "$pkgdir/usr/share/java" "$pkgdir/usr/bin"
cp -r "$srcdir/server" "$pkgdir/usr/share/java/$pkgname"
ln -srf \
"$pkgdir/usr/share/java/$pkgname/bin/kotlin-language-server" \
"$pkgdir/usr/bin/kotlin-language-server"
install -Dm644 "$srcdir/LICENSE.txt" \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-26 01:28:49 | Low | 2 |