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