libyang

LOW
maintainer k0ste 7 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

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

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 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)
Medium source=() URL on a non-standard host 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
1# Maintainer: Konstantin Shalygin <k0ste@k0ste.ru>
2# Contributor: Konstantin Shalygin <k0ste@k0ste.ru>
3
4pkgname='libyang'
5pkgver='6.4.13'
6pkgrel='1'
7pkgdesc='A YANG data modelling language parser and toolkit written (and providing API) in C'
8_uri="github.com/CESNET/${pkgname}"
9url="https://${_uri}"
10arch=('x86_64' 'aarch64' 'armv7h')
11license=('BSD')
12depends=('pcre2' 'xxhash')
13makedepends=('cmake' 'doxygen' 'graphviz')
14checkdepends=('cmocka' 'expect' 'valgrind')
15conflicts=('libyang-git' 'libyang-devel-git')
16source=("${url}/archive/v${pkgver}.tar.gz")
17source=("${pkgname}-${pkgver}.tar.gz::https://codeload.${_uri}/tar.gz/refs/tags/v${pkgver}")
18sha256sums=('bf78a437225027ce9e20d2c449b7853204d7fd450bb00fb01e83339145561a86')
19
20prepare() {
21 cmake -B "build" -S "${pkgname}-${pkgver}" \
22 -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
23 -DCMAKE_C_FLAGS="${CFLAGS} ${DEBUG_CFLAGS}" \
24 -DCMAKE_EXE_LINKER_FLAGS="${LDFLAGS}" \
25 -DCMAKE_SHARED_LINKER_FLAGS="${LDFLAGS}" \
26 -DCMAKE_INSTALL_PREFIX="/usr" \
27 -DCMAKE_INSTALL_LIBDIR="lib" \
28 -DENABLE_TESTS="ON"
29}
30
31build() {
32 cmake --build "build"
33}
34
35check() {
36 cmake --build "build" --target "test"
37}
38
39package() {
40 DESTDIR="${pkgdir}" cmake --install "build"
41 install -Dm0644 "${pkgname}-${pkgver}/LICENSE" -t \
42 "${pkgdir}/usr/share/licenses/${pkgname}"
43}
44

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)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion