hostapd-wpe
maintainer OscarAkaElvis
· 3 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package builds from a legitimate project source (w1.fi) via git and applies patches from a trusted upstream (aircrack-ng), with no execution of unverified remote code or supply-chain risks.
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 builds from a legitimate project source (w1.fi) via git and applies patches from a trusted upstream (aircrack-ng), with no execution of unverified remote code or supply-chain risks.
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:20
"git+https://w1.fi/$_name.git?signed#tag=${_name}_${pkgver//./_}"
PKGBUILD
1 offending line(s) highlighted
1
2
pkgname=hostapd-wpe
3
_name=hostap
4
pkgver=2.11
5
pkgrel=1
6
pkgdesc="Modified hostapd to facilitate AP impersonation attacks"
7
arch=(i686 x86_64)
8
url="https://w1.fi/hostapd/"
9
license=(BSD-3-Clause)
10
depends=(
11
glibc
12
libnl
13
openssl-1.0 # alternative with missing features: openssl-1.1
14
sqlite
15
)
16
makedepends=(
17
git
18
)
19
source=(
20
"git+https://w1.fi/$_name.git?signed#tag=${_name}_${pkgver//./_}"
21
0001_adj-wpe.patch
22
https://raw.githubusercontent.com/aircrack-ng/aircrack-ng/master/patches/wpe/${pkgname}/${_name}d-${pkgver}-wpe.patch
23
)
24
b2sums=('163d2e6644902f36b3b5f25e328221fa34495d745801e8d3dce874b05366c81370ef75c8f7e0198e206a3d04c5ea4bb501bf97693fa481e15cf5067d80ab0c1e'
25
'e65bd54e927522a70974d7bb6391ccdd24a79f00cde0e0b292e81830c0a89b2a12ab642b8c0a21361a8e19052b82bdcaa63acb4fb0bf1b62058866b4c12504a7'
26
'5bd6fb7f7383d68f1f42340ecc15a25c5fd963c7328b837b7efa19f05c4bd5c364eb33c0a5d7a5d33efffe8f13734f51ef827b0d1e7e6c7caec7ca0a4ced7aa5')
27
validpgpkeys=(EC4AA0A991A5F2464582D52D2B6EF432EFC895FA) # Jouni Malinen <j@w1.fi>
28
29
prepare() {
30
# Adjust aircrack-ng patch as it doesn't cleanly apply
31
patch -Np1 --follow-symlinks -i "${srcdir}"/0001_adj-wpe.patch
32
33
# Apply aircrack-ng patch
34
patch -Np1 -d $_name -i "${srcdir}"/${_name}d-${pkgver}-wpe.patch
35
}
36
37
build() {
38
make -C $_name/${_name}d
39
}
40
41
package() {
42
cd $_name
43
make -C ${_name}d install DESTDIR="$pkgdir" BINDIR=/usr/bin
44
# license
45
install -vDm 644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname/"
46
}
47
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 |