libnetica
maintainer DanielBoerlage
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a source archive from the official vendor's domain (norsys.com) which hosts the legitimate Netica API; despite the non-whitelisted host, this is a standard and expected source for the software, and the package installs only static libraries and headers without executing remote code.
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 package downloads a source archive from the official vendor's domain (norsys.com) which hosts the legitimate Netica API; despite the non-whitelisted host, this is a standard and expected source for the software, and the package installs only static libraries and headers without executing remote code.
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:12
source=(https://www.norsys.com/downloads/NeticaAPI_Linux_504.zip)
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Daniel Boerlage <daniel.brlg@gmail.com>
2
pkgname=libnetica
3
pkgver=5.04
4
pkgrel=1
5
pkgdesc="Probabilistic graphical model software to work with Bayesian networks"
6
arch=('i686' 'x86_64')
7
url='https://norsys.com/'
8
license=('custom:netica license')
9
depends=('glibc')
10
options=('!strip')
11
install=${pkgname}.install
12
source=(https://www.norsys.com/downloads/NeticaAPI_Linux_504.zip)
13
sha256sums=('56fc10c6eafbd6d2d82b41c6f1640704b0152b06014834eb815203d0a705f98e')
14
15
package() {
16
cd "Netica_API_504"
17
18
# install netica-c api
19
install -d "$pkgdir"/opt/norsys/netica-c/
20
cp -a * "$pkgdir"/opt/norsys/netica-c/
21
22
# linking libnetica
23
install -d "$pkgdir"/usr/lib/
24
if [ "$CARCH" == "i686" ]; then
25
ln -s /opt/norsys/netica-c/lib/libnetica.a "$pkgdir"/usr/lib/
26
else
27
ln -s /opt/norsys/netica-c/lib/64bit/libnetica.a "$pkgdir"/usr/lib/
28
fi
29
30
# linking header files
31
install -d "$pkgdir"/usr/include/
32
ln -s /opt/norsys/netica-c/src/{Netica.h,NeticaEx.h,NeticaCPP.h} "$pkgdir"/usr/include/
33
34
# linking licence
35
install -d "$pkgdir"/usr/share/licenses/libnetica
36
ln -s /opt/norsys/netica-c/doc/LicAgree.txt "$pkgdir"/usr/share/licenses/libnetica/LICENSE
37
38
# linking doc
39
install -d "$pkgdir"/usr/share/doc/
40
ln -s /opt/norsys/netica-c/doc/ "$pkgdir"/usr/share/doc/netica-c
41
}
42
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 |