kimi-cli

LOW
maintainer Sherlock-Holo 2 votes scanned 2026-09-17 00:27:14.276658
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-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

Report a package

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

0 / 4000
Your suggestion