libyang

LOW
maintainer k0ste 7 votes scanned 2026-09-17 00:27:14.276658
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-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 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
2026-08-29 00:29:17 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