netdiscover
maintainer wsduvall
· 25 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads the main source from GitHub (project's official host) and an OUI text file from ieee.org, which is used to generate a static header; the SKIP'd checksum for the OUI file is non-ideal but the file is not executable and tampering would have minimal impact.
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 the main source from GitHub (project's official host) and an OUI text file from ieee.org, which is used to generate a static header; the SKIP'd checksum for the OUI file is non-ideal but the file is not executable and tampering would have minimal impact.
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:15
"oui-${pkgver}.txt::http://standards-oui.ieee.org/oui/oui.txt")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Wade Duvall <wsduvall@proton.me>
2
# Contributor: Daniel <dgcbueu@gmail.com>
3
4
pkgname=netdiscover
5
pkgver=0.21
6
pkgrel=0
7
pkgdesc="A network address discovering tool"
8
arch=('i686' 'x86_64' 'aarch64')
9
url="https://github.com/netdiscover-scanner/netdiscover/"
10
license=('GPL-3.0-only')
11
depends=('libnet' 'libpcap')
12
makedepends=('gcc' 'make')
13
provides=('netdiscover')
14
source=("https://github.com/netdiscover-scanner/netdiscover/releases/download/${pkgver}/netdiscover-${pkgver}.tar.gz"
15
"oui-${pkgver}.txt::http://standards-oui.ieee.org/oui/oui.txt")
16
17
sha256sums=('c268605f609c2037cc6f405d7275ba26f1e6a6e180084afcb4b659cfded44435'
18
'SKIP')
19
20
prepare() {
21
cd "$srcdir/$pkgname-$pkgver"
22
cat <<EOT >src/oui.h
23
struct oui {
24
char *prefix; /* 24 bit global prefix */
25
char *vendor; /* Vendor id string */
26
};
27
28
struct oui oui_table[] = {
29
EOT
30
31
grep "base 16" "${srcdir}/oui-${pkgver}.txt" | tr '\t' ' ' | tr -s " " | sed 's/(base 16) //' |
32
grep '[0-9A-F]' | sort | sed 's/ /", "/' | sed 's/^/ { "/' |
33
tr '\n' '#' | sed 's/#/" },#/g' | tr '#' '\n' | tr -d '\015' >>src/oui.h
34
35
TOTALMAC=$(grep -c "{ .[0-9A-F]" src/oui.h)
36
37
# The tail
38
39
cat <<EOT >>src/oui.h
40
{ NULL, NULL }
41
};
42
43
// Total $TOTALMAC items.
44
EOT
45
}
46
47
build() {
48
cd "$srcdir/$pkgname-$pkgver"
49
./autogen.sh
50
./configure --sbindir=/usr/bin --prefix=/usr --sysconfdir=/etc
51
make
52
}
53
54
package() {
55
cd "$srcdir/$pkgname-$pkgver"
56
make DESTDIR="$pkgdir" install || return 1
57
}
58
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 |