python-tree-sitter-bash
The package builds from the official source repository over git, which is a normal and safe practice for AUR packages; the low severity is due to few votes and recent upload, not due to any malicious or risky behavior in the PKGBUILD.
Triggered rules
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
llm_review
An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package builds from the official source repository over git, which is a normal and safe practice for AUR packages; the low severity is due to few votes and recent upload, not due to any malicious or risky behavior in the PKGBUILD.
PKGBUILD
# Maintainer: Rubin Simons <me@rubin55.org>
_pkgname=tree-sitter-bash
pkgname=python-${_pkgname}
pkgver=0.25.1
pkgrel=2
pkgdesc='Bash grammar for tree-sitter'
arch=('x86_64')
url='https://github.com/tree-sitter/tree-sitter-bash'
license=('MIT')
depends=(
'python'
'python-tree-sitter'
)
makedepends=(
'git'
'python-build'
'python-installer'
'python-setuptools'
'python-wheel'
)
checkdepends=(
'python-pytest'
)
source=("git+${url}.git#tag=v${pkgver}")
sha256sums=('SKIP')
build() {
cd "${_pkgname}"
python -m build --wheel --no-isolation
}
check() {
cd "${_pkgname}"
local _site
_site="$(python -c 'import sysconfig; print(sysconfig.get_path("purelib"))')"
python -m installer --destdir="${srcdir}/tmp_install" dist/*.whl
PYTHONPATH="${srcdir}/tmp_install${_site}" python -m pytest bindings/python/tests -v
}
package() {
cd "${_pkgname}"
python -m installer --destdir="${pkgdir}" dist/*.whl
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
Changes since previous scan
--- PKGBUILD @ 2026-07-20 19:14+++ PKGBUILD @ 2026-09-09 00:04@@ -1,25 +1,46 @@-# shellcheck shell=bash disable=SC2034,SC2154-# Maintainer: Wu Zhenyu <wuzhenyu@ustc.edu>-_name=tree-sitter-bash-pkgname=python-$_name+# Maintainer: Rubin Simons <me@rubin55.org>++_pkgname=tree-sitter-bash+pkgname=python-${_pkgname} pkgver=0.25.1-pkgrel=1-pkgdesc="bash grammar for tree-sitter"-arch=(i686 x86_64 arm aarch64)-url=https://github.com/tree-sitter/tree-sitter-bash-depends=(python-tree-sitter)-makedepends=(python-installer)-license=(MIT)-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name//-/_}/${_name//-/_}-$pkgver.tar.gz")-sha256sums=('bfc0bdaa77bc1e86e3c6652e5a6e140c40c0a16b84185c2b63ad7cd809b88f14')+pkgrel=2+pkgdesc='Bash grammar for tree-sitter'+arch=('x86_64')+url='https://github.com/tree-sitter/tree-sitter-bash'+license=('MIT')+depends=(+ 'python'+ 'python-tree-sitter'+)+makedepends=(+ 'git'+ 'python-build'+ 'python-installer'+ 'python-setuptools'+ 'python-wheel'+)+checkdepends=(+ 'python-pytest'+)+source=("git+${url}.git#tag=v${pkgver}")+sha256sums=('SKIP') build() {- cd "${_name//-/_}-$pkgver" || exit- uv build --wheel --no-build-isolation+ cd "${_pkgname}"+ python -m build --wheel --no-isolation+}++check() {+ cd "${_pkgname}"+ local _site+ _site="$(python -c 'import sysconfig; print(sysconfig.get_path("purelib"))')"+ python -m installer --destdir="${srcdir}/tmp_install" dist/*.whl+ PYTHONPATH="${srcdir}/tmp_install${_site}" python -m pytest bindings/python/tests -v } package() {- cd "${_name//-/_}-$pkgver" || exit- python -m installer --destdir="$pkgdir" dist/*.whl+ cd "${_pkgname}"+ python -m installer --destdir="${pkgdir}" dist/*.whl+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 21:18:22 | Low | 2 |
| 2026-07-20 19:14:42 | Clean | 0 |
| 2026-06-18 16:11:54 | Clean | 0 |