kimi-cli

maintainer Sherlock-Holo · 2 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged 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

LOW AI review downgraded a static finding 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)
MEDIUM pip install of an external package 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
MEDIUM External install via pipx/uv/poetry/cargo/go/gem 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
1# Maintainer: Sherlock Holo <sherlock ya at gmail.com>
2# Contributor Wimpy <vvinn.py[AT]@gmail.com>
3
4pkgname=kimi-cli
5pkgver=1.44.0
6pkgrel=1
7pkgdesc="Kimi Code CLI is your next CLI agent."
8arch=('x86_64')
9url="https://github.com/MoonshotAI/kimi-cli"
10license=('Apache-2.0')
11
12source=("https://github.com/MoonshotAI/kimi-cli/archive/refs/tags/${pkgver}.tar.gz")
13sha256sums=('d3bfea0fba8f66dfafc65afcd43d2dc9322b884d27f0e38379e166a1535ac056')
14
15makedepends=(
16 uv
17)
18
19depends=(
20 'python>=3.12'
21)
22
23build() {
24 cd "${srcdir}/${pkgname}-${pkgver}"
25
26 # Use uv to create an isolated virtual environment and install the current source code and all its dependencies
27 uv venv "${srcdir}/venv" --clear
28 VIRTUAL_ENV="${srcdir}/venv" uv pip install .
29
30 # Ensure pykaos (which provides the kaos module) is installed in the virtual environment
31 VIRTUAL_ENV="${srcdir}/venv" uv pip install pykaos
32}
33
34package() {
35 local _target="/usr/lib/${pkgname}"
36
37 mkdir -p "${pkgdir}${_target}"
38 cp -a "${srcdir}/venv/." "${pkgdir}${_target}/"
39
40 # Fix absolute paths in virtual environment scripts to point to the final installation location
41 find "${pkgdir}${_target}/bin" -type f -executable -exec \
42 sed -i "s|${srcdir}/venv|${_target}|g" {} +
43
44 # Provide executable entry points
45 install -d "${pkgdir}/usr/bin"
46 ln -s "${_target}/bin/kimi" "${pkgdir}/usr/bin/kimi"
47 ln -s "${_target}/bin/kimi-cli" "${pkgdir}/usr/bin/kimi-cli"
48
49 # Install license
50 install -Dm644 "${srcdir}/${pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
51}
52
53

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 3
2026-08-02 00:16:08 LOW 3
2026-08-01 00:11:18 LOW 3
2026-07-31 00:14:10 LOW 3
2026-07-30 00:17:23 LOW 3
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 00:09:25 LOW 3

Report a package

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

0 / 4000
Your suggestion