meshcore-cli-git
The package builds from a git repository on GitHub under a plausible project namespace, which is a normal AUR practice; the non-whitelisted host is mitigated by the project context and source being openly reviewable.
Triggered rules
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 a git repository on GitHub under a plausible project namespace, which is a normal AUR practice; the non-whitelisted host is mitigated by the project context and source being openly reviewable.
1 higher static finding superseded - not the current verdict (shown for transparency)
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:56
"${_pkgname}::git+https://${_githost}/${_gituser}/${_pyname}.git"
PKGBUILD
1 offending line(s) highlighted# Maintainer: dreieck (https://aur.archlinux.org/account/dreieck)
_pyname="meshcore-cli"
_pkgname="${_pyname}"
pkgname="${_pkgname}-git"
pkgver=1.6.4.r624.20260919.2ae6100
pkgrel=2
pkgdesc="Command line interface to MeshCore node."
groups=("meshcore")
arch=(
'any'
)
_githost='github.com'
# _gituser='fdlamotte'
_gituser='meshcore-dev'
url="https://${_githost}/${_gituser}/${_pyname}"
license=("MIT")
depends=(
'python>=3.10'
'python-bleak'
'python-meshcore>=2.2.1'
'python-prompt_toolkit>=3.0.50'
'python-requests>=2.28.0'
'python-pyserial'
)
makedepends=(
'git'
'python-build'
'python-hatchling'
'python-installer'
'python-setuptools>=61.0.0'
'python-wheel'
)
optdepends=(
"bash: For example scripts '/usr/share/doc/meshcore-cli/scripts/{contact_markers.sh,neighbour_map.sh}'."
"coords2img: For example scripts '/usr/share/doc/meshcore-cli/scripts/{contact_markers.sh,neighbour_map.sh}'."
"jq: For example scripts '/usr/share/doc/meshcore-cli/scripts/{contact_markers.sh,neighbour_map.sh}'."
"sh: For example script '/usr/share/doc/meshcore-cli/scripts/ask_mepo_coords'."
"mepo: For example script '/usr/share/doc/meshcore-cli/scripts/ask_mepo_coords'."
"geoclue: For example script '/usr/share/doc/meshcore-cli/scripts/getpos.py'."
"glib2: For example script '/usr/share/doc/meshcore-cli/scripts/getpos.py'."
"python-gobject: For example script '/usr/share/doc/meshcore-cli/scripts/getpos.py'."
)
### Do not run 'check()' since it currently (2026-09-22) does not run any test.
# checkdepends=(
# 'python-pytest'
# )
provides=(
"${_pkgname}=${pkgver}"
)
conflicts=(
"${_pkgname}"
)
source=(
"${_pkgname}::git+https://${_githost}/${_gituser}/${_pyname}.git"
)
sha256sums=(
'SKIP'
)
prepare() {
cd "${srcdir}/${_pkgname}"
git log > "${srcdir}/git.log"
}
pkgver() {
cd "${srcdir}/${_pkgname}"
_ver="$(grep -E '^[[:space:]]*version[[:space:]]*=' pyproject.toml | head -n1 | awk -F= '{print $2}' | tr -d \'\"[[:space:]])"
#_ver="$(git describe --tags | sed -E -e 's|^[vV]||' -e 's|\-g[0-9a-f]*$||' | tr '-' '+')"
_rev="$(git rev-list --count HEAD)"
_date="$(git log -1 --date=format:"%Y%m%d" --format="%ad")"
_hash="$(git rev-parse --short HEAD)"
if [ -z "${_ver}" ]; then
error "Version could not be determined."
return 1
else
printf '%s' "${_ver}.r${_rev}.${_date}.${_hash}"
fi
}
build() {
cd "${srcdir}/${_pkgname}"
printf '%s\n' " --> building ..."
python -m build --wheel --no-isolation
}
### Do not run 'check()' since it currently (2026-09-22) does not run any test.
# check() {
# cd "${srcdir}/${_pkgname}"
#
# pytest
# }
package() {
cd "${srcdir}/${_pkgname}"
printf '%s\n' " --> installing ..."
python -m installer --destdir="$pkgdir" --compile-bytecode=2 dist/*.whl
_docfiles=(
"${srcdir}/git.log"
README.md
)
_docdirs=(
scripts
)
_manfiles=()
_infofiles=()
_licensefiles=(
LICENSE
)
printf '%s\n' " --> installing documentation ..."
for _docfile in "${_docfiles[@]}"; do
install -D -v -m644 "${_docfile}" "${pkgdir}/usr/share/doc/${_pkgname}/$(basename "${_docfile}")"
done
for _docdir in "${_docdirs[@]}"; do
cp -rv "${_docdir}" "${pkgdir}/usr/share/doc/${_pkgname}/$(basename "${_docdir}")"
done
for _manfile in "${_manfiles[@]}"; do
_section="$(basename "${_manfile}" .gz | sed -E -e 's|^.*\.([^.]*)$|\1|')"
install -D -v -m644 "docs/build/man/${_manfile}" "${pkgdir}/usr/share/man/man${_section}/$(basename "${_manfile}")"
done
for _infofile in "${_infofiles[@]}"; do
install -D -v -m644 "${_infofile}" "${pkgdir}/usr/share/info/$(basename "${_infofile}")"
done
printf '%s\n' " --> installing license ..."
for _licensefile in "${_licensefiles[@]}"; do
install -D -v -m644 "${_licensefile[@]}" "${pkgdir}/usr/share/licenses/${pkgname}/$(basename "${_licensefile}")"
ln -svr "${pkgdir}/usr/share/licenses/${pkgname}/$(basename "${_licensefile}")" "${pkgdir}/usr/share/doc/${_pkgname}/$(basename "${_licensefile}")"
done
}
Changes since previous scan
--- PKGBUILD @ 2026-10-21 00:12+++ PKGBUILD @ 2026-11-01 00:21@@ -47,12 +47,9 @@ # ) provides=( "${_pkgname}=${pkgver}"- # "python-${_pkgname}=${pkgver}"- # "python-${_pkgname}-git=${pkgver}" ) conflicts=( "${_pkgname}"- # "python-${_pkgname}" ) source=(@@ -87,6 +84,7 @@ build() { cd "${srcdir}/${_pkgname}"+ printf '%s\n' " --> building ..." python -m build --wheel --no-isolation }@@ -100,6 +98,7 @@ package() { cd "${srcdir}/${_pkgname}"+ printf '%s\n' " --> installing ..." python -m installer --destdir="$pkgdir" --compile-bytecode=2 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 19:33:05 | Medium | 1 |
| 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 |