nusmv

LOW
maintainer MasWag 6 votes scanned 2026-11-01 00:21:48.120785
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-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 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