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-11-01 00:21:48 | Low | 3 |
| 2026-10-31 00:07:41 | Low | 3 |
| 2026-10-30 00:29:30 | Low | 3 |
| 2026-10-29 00:13:55 | Low | 3 |
| 2026-10-28 00:06:54 | Low | 3 |
| 2026-10-27 00:23:28 | Low | 3 |
| 2026-10-26 00:12:40 | Low | 3 |
| 2026-10-25 00:20:48 | Low | 3 |
| 2026-10-24 00:14:55 | Low | 3 |
| 2026-10-23 00:02:19 | Low | 3 |
| 2026-10-22 00:13:10 | Low | 3 |
| 2026-10-21 00:12:50 | Low | 3 |
| 2026-10-20 00:10:31 | Low | 3 |
| 2026-10-19 00:03:55 | Low | 3 |
| 2026-10-18 00:06:55 | Low | 3 |
| 2026-10-17 00:21:55 | Low | 3 |
| 2026-10-16 00:12:47 | Low | 3 |
| 2026-10-15 00:28:05 | Low | 3 |
| 2026-10-14 00:06:47 | Low | 3 |
| 2026-10-13 00:23:45 | Low | 3 |