meshcore-cli-git
The source is a git checkout from GitHub, a standard and plausibly official host for the project, despite the non-whitelisted URL pattern; building from source is normal for AUR packages and poses low risk.
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 source is a git checkout from GitHub, a standard and plausibly official host for the project, despite the non-whitelisted URL pattern; building from source is normal for AUR packages and poses low risk.
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:47
"${_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.3.r609.20260824.568d158
pkgrel=1
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-pycryptodome>=3.23.0'
'python-pyserial'
)
makedepends=(
'git'
'python-build'
'python-installer'
'python-setuptools>=61.0.0'
'python-wheel'
)
optdepends=()
checkdepends=()
provides=(
"${_pkgname}=${pkgver}"
# "python-${_pkgname}=${pkgver}"
# "python-${_pkgname}-git=${pkgver}"
)
conflicts=(
"${_pkgname}"
# "python-${_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
}
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=()
_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-09-05 00:16+++ PKGBUILD @ 2026-09-17 00:27@@ -3,8 +3,8 @@ _pyname="meshcore-cli" _pkgname="${_pyname}" pkgname="${_pkgname}-git"-pkgver=1.3.16.r446.20260127.246a84e-pkgrel=2+pkgver=1.6.3.r609.20260824.568d158+pkgrel=1 pkgdesc="Command line interface to MeshCore node." groups=("meshcore") arch=(Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 16:00:23 | Medium | 1 |
| 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 |