kimi-cli
The package uses uv to install its own source and a declared dependency (pykaos) in a build-time virtual environment; this is normal Python packaging behavior and not inherently dangerous.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package uses uv to install its own source and a declared dependency (pykaos) in a build-time virtual environment; this is normal Python packaging behavior and not inherently dangerous.
2 higher static findings superseded - not the current verdict (shown for transparency)
pip_install_external
`pip install <package>` fetches an unpinned package from PyPI at build time, outside source=() and makepkg's checksums.
-
PKGBUILD:31
VIRTUAL_ENV="${srcdir}/venv" uv pip install pykaos
alt_pkg_manager_install
A non-pip/npm package manager (pipx, uv, poetry, cargo install, go install, gem, conda…) fetches and builds an external package at build time, outside source=() and makepkg's checksums.
-
PKGBUILD:31
VIRTUAL_ENV="${srcdir}/venv" uv pip install pykaos
PKGBUILD
1 offending line(s) highlighted# Maintainer: Sherlock Holo <sherlock ya at gmail.com>
# Contributor Wimpy <vvinn.py[AT]@gmail.com>
pkgname=kimi-cli
pkgver=1.44.0
pkgrel=1
pkgdesc="Kimi Code CLI is your next CLI agent."
arch=('x86_64')
url="https://github.com/MoonshotAI/kimi-cli"
license=('Apache-2.0')
source=("https://github.com/MoonshotAI/kimi-cli/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('d3bfea0fba8f66dfafc65afcd43d2dc9322b884d27f0e38379e166a1535ac056')
makedepends=(
uv
)
depends=(
'python>=3.12'
)
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
# Use uv to create an isolated virtual environment and install the current source code and all its dependencies
uv venv "${srcdir}/venv" --clear
VIRTUAL_ENV="${srcdir}/venv" uv pip install .
# Ensure pykaos (which provides the kaos module) is installed in the virtual environment
VIRTUAL_ENV="${srcdir}/venv" uv pip install pykaos
}
package() {
local _target="/usr/lib/${pkgname}"
mkdir -p "${pkgdir}${_target}"
cp -a "${srcdir}/venv/." "${pkgdir}${_target}/"
# Fix absolute paths in virtual environment scripts to point to the final installation location
find "${pkgdir}${_target}/bin" -type f -executable -exec \
sed -i "s|${srcdir}/venv|${_target}|g" {} +
# Provide executable entry points
install -d "${pkgdir}/usr/bin"
ln -s "${_target}/bin/kimi" "${pkgdir}/usr/bin/kimi"
ln -s "${_target}/bin/kimi-cli" "${pkgdir}/usr/bin/kimi-cli"
# Install license
install -Dm644 "${srcdir}/${pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 3 |
| 2026-09-16 00:03:17 | Low | 3 |
| 2026-09-15 00:25:31 | Low | 3 |
| 2026-09-14 00:27:57 | Low | 3 |
| 2026-09-13 00:19:54 | Low | 3 |
| 2026-09-12 00:25:17 | Low | 3 |
| 2026-09-11 00:19:22 | Low | 3 |
| 2026-09-10 00:22:44 | Low | 3 |
| 2026-09-09 00:04:09 | Low | 3 |
| 2026-09-08 00:18:08 | Low | 3 |
| 2026-09-07 00:30:15 | Low | 3 |
| 2026-09-06 00:17:06 | Low | 3 |
| 2026-09-05 00:16:27 | Low | 3 |
| 2026-09-04 00:03:13 | Low | 3 |
| 2026-09-03 00:15:47 | Low | 3 |
| 2026-09-02 00:02:31 | Low | 3 |
| 2026-09-01 00:11:19 | Low | 3 |
| 2026-08-31 00:19:57 | Low | 3 |
| 2026-08-30 00:04:14 | Low | 3 |
| 2026-08-29 00:29:17 | Low | 3 |