hostapd-wifi6
The package builds hostapd from official sources and applies a patch from a personal host, but the patch is for functionality (Intel LAR support) and not malicious; the main source is verifiable and the build process is standard.
Triggered rules
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 hostapd from official sources and applies a patch from a personal host, but the patch is for functionality (Intel LAR support) and not malicious; the main source is verifiable and the build process is standard.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:19
"https://w1.fi/releases/hostapd-$pkgver.tar.gz" -
PKGBUILD:20
'https://tildearrow.org/storage/hostapd-2.10-lar.patch'
PKGBUILD
2 offending line(s) highlightedpkgname=hostapd-wifi6
pkgdesc='hostapd than enabled AC/AX and ACS support and applied intel lar patch, provide useful service unit hostapd@.service and hostapd-ACS@.service'
pkgver=2.10
pkgrel=16
arch=('x86_64' 'aarch64')
url=https://w1.fi/hostapd
license=('BSD')
depends=('glibc' 'libnl' 'openssl' 'sqlite'
'iw' 'lshw' 'jq' # for hostapd-preferred.sh
)
conflicts=('hostapd')
provides=('hostapd')
backup=(
'etc/hostapd/hostapd.'{accept,conf,deny,eap_user,radius_clients,vlan,wpa_psk}
'etc/hostapd/hostapd_'{2.4Ghz,5Ghz}'.conf'
'etc/hostapd/preferred_config'
)
source=(
"https://w1.fi/releases/hostapd-$pkgver.tar.gz"
'https://tildearrow.org/storage/hostapd-2.10-lar.patch'
'hostapd_2.4Ghz.conf'
'hostapd_5Ghz.conf'
'hostapd-ACS@.service'
'hostapd-preferred.service'
'hostapd_preferred.sh'
'hostapd@.service'
'preferred_config'
)
sha512sums=(
'243baa82d621f859d2507d8d5beb0ebda15a75548a62451dc9bca42717dcc8607adac49b354919a41d8257d16d07ac7268203a79750db0cfb34b51f80ff1ce8f'
'443e5c012b6e2d06ab812b87e995ca7e48751d43b81b3a26a722400f64ccdec0e9486a5e043121f2f1084cc59729f781b6e9d5c05031dac18cdeaaa86ed8ecea'
'c1b9688b8e7f6ab984a5b528061aa2221773a5e3d24f4a43c84a28c318212eadd823c30a4a0e8316760ba2622329fc7edf89d1af744999db5c17e1d157d716a0'
'21d890ea4f29728bfce4b7dcd9a456be54ea4db863b7c0cd861fd4fc46a93a12fc91329e6200b9156a1e97250da7bad21f33469e4984b1bf02faa794f584edab'
'3132c58b9eccead25cc399a9761c03863a8a601e71a4e3cec495422c5f09afcbb8c922a4ec98ac0dbccf2633af6f6e41abd4e94cb2723118faa5046f12a3e375'
'647460d47cf960b88836c8913fb154daf4745dc194ed991c8b61ec0c08757c26c2399ccb10da76d6dfa14d3a75b5fa54ed10f37f7fc373ef63c94dd5b840019e'
'2c91d9222ebfa25215859a57711b7dff3d8f0d4c1c824aabb06d3d165f211b7d94187936f0adb0d19d616e3292379adde383106935ea8e9f18e21d8b95d033fe'
'cbc9c01bc264142a270af3d1cbacc53a01211cb14cb38d9a5907c3e18049dbfdad0b3048724c97fce3f2c4faf49754cc693467d19aec7c5220c959b0d13a424e'
'ba9014c70be893945acf57ae7417502634cf605ec119acf737b69c5a6368ff1aa3bd65686a20f87fbf2300fa30a816f557b6b49080dcab25059818178935a771'
)
prepare() {
cd "hostapd-${pkgver}"
sed -e 's|/etc/hostapd|/etc/hostapd/hostapd|g' \
-e 's|/var/run|/run|g' \
-e 's|radius_attr.sqlite|/var/lib/hostapd/radius_attr.sqlite|g' \
-e 's|hostapd.cred|/var/lib/hostapd/hostapd.cred|g' \
-e 's|hostapd.ap_settings|/var/lib/hostapd/hostapd.ap_settings|g' \
-e 's|hostapd_wps_pin_requests|hostapd/wps_pin_requests|g' \
-i 'hostapd/hostapd.conf'
cat "hostapd/README" | head -n47 | tail -n5 > LICENSE
cp 'hostapd/defconfig' "hostapd/.config"
sed -e 's|^#CONFIG_IEEE80211AX=y|CONFIG_IEEE80211AX=y|g' \
-e 's|^#CONFIG_IEEE80211AC=y|CONFIG_IEEE80211AC=y|g' \
-e 's|^#CONFIG_ACS=y|CONFIG_ACS=y|g' \
-i 'hostapd/.config'
echo 'CONFIG_SAE=y
CONFIG_SAE_PK=y' >> 'hostapd/.config'
patch -p1 < "$srcdir/hostapd-2.10-lar.patch"
}
build(){
make -C "hostapd-${pkgver}/hostapd"
}
package() {
cd "hostapd-${pkgver}"
make -C 'hostapd' install DESTDIR="${pkgdir}" BINDIR="/usr/bin"
install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
install -vDm 640 "hostapd/hostapd."{accept,conf,deny,eap_user,radius_clients,vlan,wpa_psk} -t "${pkgdir}/etc/hostapd"
install -vDm 644 "hostapd/"{hostapd.sim_db,wired.conf,hlr_auc_gw.{txt,milenage_db}} "hostapd/"{README*,ChangeLog} -t "${pkgdir}/usr/share/doc/hostapd"
install -vDm 644 "hostapd/hostapd.8" -t "$pkgdir/usr/share/man/man8/"
install -vDm 644 "hostapd/hostapd_cli.1" -t "$pkgdir/usr/share/man/man1/"
install -vdm 750 "${pkgdir}/var/lib/hostapd"
install -vDm 644 "../hostapd"{@,-ACS@,-preferred}".service" -t "$pkgdir/usr/lib/systemd/system/"
install -vDm 750 "../hostapd_preferred.sh" -t "$pkgdir/usr/lib/systemd/scripts"
install -vDm 600 "../hostapd_"{2.4Ghz,5Ghz}".conf" -t "${pkgdir}/etc/hostapd"
install -vDm 640 "../preferred_config" -t "${pkgdir}/etc/hostapd"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |