nbis
maintainer alexjorgef
· 2 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a versioned release archive from a plausible NIST subdomain, used to build the official software; despite the non-whitelisted host, this is a legitimate build of the project's own source, not an unverifiable binary or remote code execution.
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 versioned release archive from a plausible NIST subdomain, used to build the official software; despite the non-whitelisted host, this is a legitimate build of the project's own source, not an unverifiable binary or remote code execution.
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:11
source=("https://nigos.nist.gov/nist/nbis/nbis_v5_0_0.zip"
PKGBUILD
1 offending line(s) highlighted
1
pkgname=nbis
2
pkgver=5.0.0
3
pkgrel=5
4
pkgdesc="NIST Biometric Image Software"
5
arch=('x86_64')
6
url="https://www.nist.gov/services-resources/software/nist-biometric-image-software-nbis"
7
license=('custom')
8
depends=('libx11')
9
makedepends=('cmake')
10
options=('!makeflags')
11
source=("https://nigos.nist.gov/nist/nbis/nbis_v5_0_0.zip"
12
"0000-use-extern-header-an2k.patch"
13
"0001-include-unistd-header-linux.patch")
14
sha256sums=('0adf8ab0f6b0e4208de50ca00ba21d3d77112ecd66288757ddfed21f6bee92c3'
15
'66234fc7c296d0a5dc53409196cba6dfd1feb129f87aacd78d3d54a0629fd58e'
16
'27458d182ba946c31c7f06bfefde9696460c269e2837a07f6690102f521f1445')
17
18
package() {
19
export CMAKE_POLICY_VERSION_MINIMUM=3.5
20
cd "${srcdir}/Rel_${pkgver}"
21
patch -p0 < "${srcdir}/0000-use-extern-header-an2k.patch"
22
patch -p0 < "${srcdir}/0001-include-unistd-header-linux.patch"
23
install -d "${pkgdir}/usr"
24
./setup.sh "${pkgdir}/usr"
25
make config
26
make it
27
make install
28
rm "${pkgdir}"/usr/bin/{cjpeg,djpeg,jpegtran,rdjpgcom,wrjpgcom}
29
rm -r "${pkgdir}"/usr/include
30
rm -r "${pkgdir}"/usr/lib/
31
rm "${pkgdir}"/usr/man/man1/{wrjpgcom.1,rdjpgcom.1,djpeg.1}
32
mv "${pkgdir}/usr/man" "${pkgdir}/usr/share"
33
mv "${pkgdir}/usr/nbis" "${pkgdir}/usr/share"
34
}
35
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 |