python-graphrag-common

LOW
maintainer orphaned 1 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The pip install in check() installs the just-built wheel plus 'installer' into an isolated venv only for import testing; the source is fetched from the official PyPI CDN with a checksum, so no unverified remote code is executed at build or install time. The only mild concern is the venv-based check step, but it poses no real risk.

Triggered rules

Low 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. Severity reduced: python-* packages routinely use pip.

  • PKGBUILD:24 test-env/bin/pip install installer dist/*.whl --quiet
Low AI review 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() installs the just-built wheel plus 'installer' into an isolated venv only for import testing; the source is fetched from the official PyPI CDN with a checksum, so no unverified remote code is executed at build or install time. The only mild concern is the venv-based check step, but it poses no real risk.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Youcef NAFA <youcef.nafa at gmail>
2
3_name=graphrag-common
4pkgname=python-${_name}
5pkgver=3.1.0
6pkgrel=1
7pkgdesc="Common utilities and types for GraphRAG"
8arch=('any')
9url="https://github.com/microsoft/graphrag"
10license=('MIT')
11depends=('python' 'python-dotenv' 'python-yaml' 'python-toml')
12makedepends=('python-hatchling' 'python-build' 'python-installer' 'python-wheel')
13source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name//-/_}-$pkgver.tar.gz")
14sha256sums=('cb76b46820d7d2443b431be4172a1a4fd485309538a17aade30081d5393b7276')
15
16build() {
17 cd "${srcdir}"/${_name//-/_}-$pkgver
18 python -m build --wheel --no-isolation
19}
20
21check() {
22 cd "${srcdir}"/${_name//-/_}-$pkgver
23 python -m venv test-env
24 test-env/bin/pip install installer dist/*.whl --quiet
25 test-env/bin/python -c "import graphrag_common; print('import OK')"
26}
27
28package() {
29 cd "${srcdir}"/${_name//-/_}-$pkgver
30 python -m installer --destdir="$pkgdir" dist/*.whl
31}
32

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion