python-llama-index-llms-openai
The pip install in check() runs inside a temporary venv only to verify the built wheel imports correctly; the source is fetched from the official PyPI CDN with a pinned sha256 checksum, so there is no meaningful supply-chain risk beyond the minor quality concern of using pip in a venv during check rather than relying on system packages.
Triggered rules
pip_install_external
`pip install <package>` fetches an unpinned package from PyPI at build time, outside source=() and makepkg's checksums. Severity reduced: python-* packages routinely use pip.
-
PKGBUILD:24
test-env/bin/pip install installer dist/*.whl --quiet
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is LOW (confidence 70%): The pip install in check() runs inside a temporary venv only to verify the built wheel imports correctly; the source is fetched from the official PyPI CDN with a pinned sha256 checksum, so there is no meaningful supply-chain risk beyond the minor quality concern of using pip in a venv during check rather than relying on system packages.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Youcef NAFA <youcef.nafa at gmail>
_name=llama-index-llms-openai
pkgname=python-${_name}
pkgver=0.7.9
pkgrel=1
pkgdesc="llama-index llms openai integration"
arch=('any')
url="https://github.com/run-llama/llama_index"
license=('MIT')
depends=('python' 'python-openai' 'python-llama-index-core')
makedepends=('python-hatchling' 'python-build' 'python-installer' 'python-wheel')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name//-/_}-$pkgver.tar.gz")
sha256sums=('f54a24b717134c86e724007057a06a84394f019d1f01e918b624894e208a86df')
build() {
cd "${srcdir}"/${_name//-/_}-${pkgver}
python -m build --wheel --no-isolation
}
check() {
cd "${srcdir}"/${_name//-/_}-${pkgver}
python -m venv test-env
test-env/bin/pip install installer dist/*.whl --quiet
test-env/bin/python -c "from llama_index.llms.openai import OpenAI; print('import OK')"
}
package() {
cd "${srcdir}"/${_name//-/_}-${pkgver}
python -m installer --destdir="$pkgdir" dist/*.whl
}
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 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 |
| 2026-10-13 00:23:45 | Low | 2 |