libyang

maintainer k0ste · 7 votes · scanned 2026-08-03 00:08:14.047287
LOW
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 host for GitHub archives; the use of a non-whitelisted domain is a false positive as codeload is part of GitHub's infrastructure.

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-07-25) 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 host for GitHub archives; the use of a non-whitelisted domain is a false positive as codeload is part of GitHub's infrastructure.

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='5.8.6'
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')
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=('6906b0f26c1d4494c5c2464313b16169ec92ccd07b45ecf3a1e9eb9cd7a55c0b')
19
20prepare() {
21 mkdir "${pkgname}-${pkgver}/build"
22}
23
24build() {
25 cd "${pkgname}-${pkgver}/build"
26 cmake .. \
27 -DCMAKE_INSTALL_PREFIX="/usr" \
28 -DCMAKE_INSTALL_LIBDIR="lib" \
29 -DCMAKE_BUILD_TYPE="Release" \
30 -DENABLE_TESTS="ON"
31 make
32}
33
34check() {
35 cd "${pkgname}-${pkgver}/build"
36 ctest
37}
38
39package() {
40 cd "${pkgname}-${pkgver}/build"
41 make DESTDIR="${pkgdir}" install
42 install -Dm0644 "../LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
43}
44

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 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