libyang
The source is a legitimate release tarball from the project's official GitHub repository via codeload.github.com, which is a standard and trusted host for GitHub archives; the non-whitelisted host is a false positive as codeload is GitHub's official mechanism for serving tarballs.
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 legitimate release tarball from the project's official GitHub repository via codeload.github.com, which is a standard and trusted host for GitHub archives; the non-whitelisted host is a false positive as codeload is GitHub's official mechanism for serving tarballs.
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:17
source=("${pkgname}-${pkgver}.tar.gz::https://codeload.${_uri}/tar.gz/refs/tags/v${pkgver}")
PKGBUILD
1 offending line(s) highlighted# Maintainer: Konstantin Shalygin <k0ste@k0ste.ru>
# Contributor: Konstantin Shalygin <k0ste@k0ste.ru>
pkgname='libyang'
pkgver='6.4.13'
pkgrel='1'
pkgdesc='A YANG data modelling language parser and toolkit written (and providing API) in C'
_uri="github.com/CESNET/${pkgname}"
url="https://${_uri}"
arch=('x86_64' 'aarch64' 'armv7h')
license=('BSD')
depends=('pcre2' 'xxhash')
makedepends=('cmake' 'doxygen' 'graphviz')
checkdepends=('cmocka' 'expect' 'valgrind')
conflicts=('libyang-git' 'libyang-devel-git')
source=("${url}/archive/v${pkgver}.tar.gz")
source=("${pkgname}-${pkgver}.tar.gz::https://codeload.${_uri}/tar.gz/refs/tags/v${pkgver}")
sha256sums=('bf78a437225027ce9e20d2c449b7853204d7fd450bb00fb01e83339145561a86')
prepare() {
cmake -B "build" -S "${pkgname}-${pkgver}" \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_C_FLAGS="${CFLAGS} ${DEBUG_CFLAGS}" \
-DCMAKE_EXE_LINKER_FLAGS="${LDFLAGS}" \
-DCMAKE_SHARED_LINKER_FLAGS="${LDFLAGS}" \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_INSTALL_LIBDIR="lib" \
-DENABLE_TESTS="ON"
}
build() {
cmake --build "build"
}
check() {
cmake --build "build" --target "test"
}
package() {
DESTDIR="${pkgdir}" cmake --install "build"
install -Dm0644 "${pkgname}-${pkgver}/LICENSE" -t \
"${pkgdir}/usr/share/licenses/${pkgname}"
}
Changes since previous scan
--- PKGBUILD @ 2026-10-14 00:06+++ PKGBUILD @ 2026-11-01 00:21@@ -2,8 +2,8 @@ # Contributor: Konstantin Shalygin <k0ste@k0ste.ru> pkgname='libyang'-pkgver='5.8.6'-pkgrel='2'+pkgver='6.4.13'+pkgrel='1' pkgdesc='A YANG data modelling language parser and toolkit written (and providing API) in C' _uri="github.com/CESNET/${pkgname}" url="https://${_uri}"@@ -15,7 +15,7 @@ conflicts=('libyang-git' 'libyang-devel-git') source=("${url}/archive/v${pkgver}.tar.gz") source=("${pkgname}-${pkgver}.tar.gz::https://codeload.${_uri}/tar.gz/refs/tags/v${pkgver}")-sha256sums=('6906b0f26c1d4494c5c2464313b16169ec92ccd07b45ecf3a1e9eb9cd7a55c0b')+sha256sums=('bf78a437225027ce9e20d2c449b7853204d7fd450bb00fb01e83339145561a86') prepare() { cmake -B "build" -S "${pkgname}-${pkgver}" \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 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 13:20:15 | Medium | 1 |
| 2026-10-14 00:06:47 | Low | 2 |