nusmv

LOW
maintainer MasWag 6 votes scanned 2026-09-17 00:27:14.276658
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
6pkgname=nusmv
7_pkgname=NuSMV
8pkgver=2.7.1
9pkgrel=1
10pkgdesc="A new symbolic model checker"
11arch=('i686' 'x86_64')
12url="http://nusmv.fbk.eu/index.html"
13license=('LGPL2.1')
14depends=('libxml2' 'libedit')
15makedepends=('python' 'flex' 'bison' 'meson')
16optdepends=('perl: for scripts in /usr/share/nusmv/contrib/')
17source=("http://nusmv.fbk.eu/distrib/${pkgver}/${_pkgname}-${pkgver}.tar.xz")
18sha256sums=('f1e11931f71d98aa9b84181eed67db584d7111100c2e967c904a31c15f823f60')
19
20prepare() {
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
36build() {
37 cd "$srcdir/$_pkgname-$pkgver/"
38
39 meson setup build
40 meson compile -C build
41}
42
43package() {
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)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