python-rank-bm25
maintainer shimi
· 0 votes
· scanned 2026-08-18 00:03:42.021799
LOW
View on AUR ↗
Why flagged
The package builds from official PyPI and GitHub sources, with verifiable checksums; the orphaned/re-adopted status is administrative and does not imply code risk.
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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package builds from official PyPI and GitHub sources, with verifiable checksums; the orphaned/re-adopted status is administrative and does not imply code risk.
1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM
Recently orphaned & re-adopted
orphaned_readopted
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
PKGBUILD
1
# Maintainer: devome <evinedeng@hotmail.com>
2
3
_pkgname=rank-bm25
4
_pipname="${_pkgname//-/_}"
5
pkgname="python-${_pkgname}"
6
pkgver=0.2.2
7
pkgrel=1
8
pkgdesc="Various BM25 algorithms for document ranking"
9
arch=('any')
10
url="https://github.com/dorianbrown/${_pipname}"
11
license=('Apache-2.0')
12
depends=("python-numpy")
13
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
14
source=("${_pkgname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_pipname::1}/${_pipname}/${_pipname}-${pkgver}.tar.gz"
15
"version-${pkgver}.py::${url}/raw/refs/tags/${pkgver}/version.py")
16
sha256sums=('096ccef76f8188563419aaf384a02f0ea459503fdf77901378d4fd9d87e5e51d'
17
'c98ea549a508952b84f6dc8153aa143944661fe45ade8b58eb59516f04d59704')
18
19
build() {
20
cd "${_pipname}-${pkgver}"
21
cp -f .."/version-${pkgver}.py" version.py
22
python -m build --wheel --no-isolation
23
}
24
25
package() {
26
cd "${_pipname}-${pkgver}"
27
python -m installer --destdir="${pkgdir}" dist/*.whl
28
}
29
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-18 00:03:42 | LOW | 2 |
| 2026-08-17 00:18:29 | LOW | 2 |
| 2026-08-16 00:03:42 | LOW | 2 |
| 2026-08-15 13:30:33 | MEDIUM | 1 |
| 2026-06-18 16:11:54 | CLEAN | 0 |