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
4
pkgname='libyang'
5
pkgver='5.8.6'
6
pkgrel='1'
7
pkgdesc='A YANG data modelling language parser and toolkit written (and providing API) in C'
8
_uri="github.com/CESNET/${pkgname}"
9
url="https://${_uri}"
10
arch=('x86_64' 'aarch64' 'armv7h')
11
license=('BSD')
12
depends=('pcre2' 'xxhash')
13
makedepends=('cmake' 'doxygen' 'graphviz')
14
checkdepends=('cmocka' 'expect')
15
conflicts=('libyang-git' 'libyang-devel-git')
16
source=("${url}/archive/v${pkgver}.tar.gz")
17
source=("${pkgname}-${pkgver}.tar.gz::https://codeload.${_uri}/tar.gz/refs/tags/v${pkgver}")
18
sha256sums=('6906b0f26c1d4494c5c2464313b16169ec92ccd07b45ecf3a1e9eb9cd7a55c0b')
19
20
prepare() {
21
mkdir "${pkgname}-${pkgver}/build"
22
}
23
24
build() {
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
34
check() {
35
cd "${pkgname}-${pkgver}/build"
36
ctest
37
}
38
39
package() {
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) | Severity | Rules |
|---|---|---|
| 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 |