nweb
LOW
maintainer TrialnError
4 votes
scanned 2026-11-01 00:21:48.120785
Why flagged
The external download in prepare() fetches only license text from the project's official website, not executable code, posing minimal 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 external download in prepare() fetches only license text from the project's official website, not executable code, posing minimal risk.
1 higher static finding superseded - not the current verdict (shown for transparency)
Medium
External download from an untrusted host, not in source=()
external_download_not_in_source
curl/wget fetches a URL on a non-allowlisted host that is not part of source=(), so it is not checksum-verified by makepkg.
-
PKGBUILD:17
curl "https://nmon.sourceforge.io/pmwiki.php?n=Site.Nweb" | grep license > LICENSE
PKGBUILD
1 offending line(s) highlighted
1
# Contributor: Lex Black <autumn-wind@web.de>
2
# Contributor: Alexander Rødseth <rodseth@gmail.com>
3
4
pkgname=nweb
5
pkgver=25
6
pkgrel=1
7
pkgdesc='Tiny web server for serving static pages'
8
arch=('x86_64' 'i686')
9
url='https://nmon.sourceforge.io/pmwiki.php?n=Site.Nweb'
10
license=('custom')
11
depends=(glibc)
12
source=(https://sourceforge.net/projects/nmon/files/nweb${pkgver}.c)
13
sha256sums=('5f22d4b27854a3a08fed21c46d68f49b3a2ee666cd9c5664705ace3f047b3553')
14
15
16
prepare() {
17
curl "https://nmon.sourceforge.io/pmwiki.php?n=Site.Nweb" | grep license > LICENSE
18
}
19
20
build() {
21
gcc -std=c11 -O3 -DLINUX nweb${pkgver}.c -o nweb -w
22
}
23
24
package() {
25
install -Dm755 nweb "$pkgdir/usr/bin/nweb"
26
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
27
}
28
29
# vim:set ts=2 sw=2 et:
30
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |