nusmv
maintainer MasWag
· 6 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from the project's official domain (nusmv.fbk.eu), which is not on the whitelist but is plausibly the project's own; building from official project sources is normal AUR packaging and does not constitute a high risk.
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 tarball from the project's official domain (nusmv.fbk.eu), which is not on the whitelist but is plausibly the project's own; building from official project sources is normal AUR packaging and does not constitute a high risk.
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=("http://nusmv.fbk.eu/distrib/${pkgver}/${_pkgname}-${pkgver}.tar.xz")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Alex Szczuczko <alex@szc.ca>
2
# Contributor: Marcelo Alaniz <malaniz@code4life.com.ar>
3
# Contributor: Peter Wu <peter@lekensteyn.nl>
4
# Contributor: Masaki Waga <masakiwaga@gmail.com>
5
6
pkgname=nusmv
7
_pkgname=NuSMV
8
pkgver=2.7.1
9
pkgrel=1
10
pkgdesc="A new symbolic model checker"
11
arch=('i686' 'x86_64')
12
url="http://nusmv.fbk.eu/index.html"
13
license=('LGPL2.1')
14
depends=('libxml2' 'libedit')
15
makedepends=('python' 'flex' 'bison' 'meson')
16
optdepends=('perl: for scripts in /usr/share/nusmv/contrib/')
17
source=("http://nusmv.fbk.eu/distrib/${pkgver}/${_pkgname}-${pkgver}.tar.xz")
18
sha256sums=('f1e11931f71d98aa9b84181eed67db584d7111100c2e967c904a31c15f823f60')
19
20
prepare() {
21
cd "$srcdir/$_pkgname-$pkgver/"
22
23
sed '/NULL/ s/(void (\*)()) NULL/(void (*)(void *)) NULL/;' code/nusmv/core/dag/dagManager.c -i
24
sed 's/(DdManager\*, DD_AOP, DdNode\*, DdNode\*)/()/;' code/nusmv/core/dd/dd.c -i
25
sed '/Cudd_addAbstract/ s/(CUDD_VALUE_TYPE)/()/;' code/nusmv/core/dd/dd.c -i
26
sed '/avl_free_table/ s/(void (\*)())/(void (*)(char *))/g;' code/nusmv/shell/cmd/cmd.c -i
27
sed '/cuddCacheLookup2/ s/(DdNode \* (\*)())/(DD_CTFP)/;' subprojects/packagefiles/cudd-2.4.1+0001-nusmv.patch -i
28
sed '/cuddCacheInsert2/ s/(DdNode \* (\*)())/(DD_CTFP)/;' subprojects/packagefiles/cudd-2.4.1+0001-nusmv.patch -i
29
30
# Fix format-security "error: format not a string literal"
31
sed s'/fprintf(file, SIGREF_HEADER)/fprintf(file, "%s", SIGREF_HEADER)/' code/nusmv/addons_core/compass/sigref/sigrefWrite.c -i
32
sed s'/sprintf(preps_tmp, preps_fmt)/sprintf(preps_tmp, "%s", preps_fmt)/' code/nusmv/core/cinit/cinitData.c -i
33
sed s'/fprintf(self->fout, x)/fprintf(self->fout, "%s", x)/' code/nusmv/core/hrc/dumpers/*.h -i
34
}
35
36
build() {
37
cd "$srcdir/$_pkgname-$pkgver/"
38
39
meson setup build
40
meson compile -C build
41
}
42
43
package() {
44
cd "$srcdir/$_pkgname-$pkgver/"
45
46
meson install --destdir "$pkgdir" -C build
47
find "$pkgdir" -type f -name "*.a" -print0 | xargs -0 rm
48
for d in bin share include lib
49
do
50
mv "$pkgdir/usr/local/$d" "$pkgdir/usr/"
51
done
52
rmdir "$pkgdir/usr/local"
53
54
# Lowercase symlink
55
ln -s "/usr/bin/NuSMV" "$pkgdir/usr/bin/$pkgname"
56
}
57
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 |