aider-chat-venv
The package uses uv to install a Python tool from PyPI, which is a standard and expected method for Python packages; the installation target is properly scoped to $pkgdir, and there is no evidence of malicious behavior or untrusted remote code execution.
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 90%): The package uses uv to install a Python tool from PyPI, which is a standard and expected method for Python packages; the installation target is properly scoped to $pkgdir, and there is no evidence of malicious behavior or untrusted remote code execution.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:49
uv tool install --force --with pip aider-chat@latest
PKGBUILD
1 offending line(s) highlighted# Maintainer: AlphaJack <alphajack at tuta dot io>
pkgname="aider-chat-venv"
pkgver=0.86.2
pkgrel=2
pkgdesc="AI pair programming in your terminal (installed with uv)"
url="https://github.com/Aider-AI/aider"
license=("Apache-2.0")
arch=("any")
provides=("aider-chat")
conflicts=("aider-chat")
makedepends=("jq" "uv")
options=("!strip")
pkgver(){
curl -s "https://pypi.org/pypi/aider-chat/json" | jq -r '.info.version'
}
_strip_pkgdir_from_links() {
find "$pkgdir" -type l -print0 |
while IFS= read -r -d '' _link; do
# current target
_target=$(readlink -- "$_link")
case "$_target" in
# contains $pkgdir
"$pkgdir"/*)
# new target
_stripped=${_target#"$pkgdir"}
# replace the link
ln -sf "$_stripped" "$_link"
;;
esac
done
}
package() {
# install in $pkgdir using uv
UV_LINK_MODE=copy \
UV_NO_COMPILE_BYTECODE=TRUE \
UV_NO_CACHE=TRUE \
UV_NO_INSTALLER_METADATA=TRUE \
UV_PYTHON=3.12 \
UV_PYTHON_PREFERENCE=only-managed \
UV_PYTHON_DOWNLOADS=automatic \
UV_PYTHON_BIN_DIR="$pkgdir/usr/share/aider-chat/bin" \
UV_PYTHON_INSTALL_DIR="$pkgdir/usr/share/aider-chat/python" \
UV_TOOL_DIR="$pkgdir/usr/share/aider-chat/tool" \
UV_TOOL_BIN_DIR="$pkgdir/usr/bin" \
uv tool install --force --with pip aider-chat@latest
# remove cache
find "$pkgdir" -type d -name "__pycache__" -exec rm -r {} +
rm -rf "$pkgdir/usr/share/aider-chat/cache"
# remove mentions of $pkgdir in files
grep -RIlZ "$pkgdir" "$pkgdir" | xargs -0 sed -i "s|$pkgdir||g"
# remove mentions of $pkgdir in symlinks
_strip_pkgdir_from_links
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |