mt7902-firmware-git

maintainer dimitriostrub · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package installs firmware files (non-executable data) from a git source; while the host is not the official project, the worst case of a swapped source is limited to non-executable data tampering, not 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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package installs firmware files (non-executable data) from a git source; while the host is not the official project, the worst case of a swapped source is limited to non-executable data tampering, not code execution.

1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM Recently orphaned & re-adopted orphaned_readopted

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

PKGBUILD

1# Maintainer: AnmiTaliDev <anmitali198@gmail.com>
2
3pkgname=mt7902-firmware-git
4pkgver=r204.7e6d6e3
5pkgrel=1
6pkgdesc="Firmware files for MediaTek MT7902 WiFi 6E and Bluetooth chipset"
7arch=('any')
8url="https://github.com/AnmiTaliDev/mt7902-firmware-git"
9license=('custom')
10depends=()
11makedepends=('git')
12provides=('mt7902-firmware')
13conflicts=('mt7902-firmware')
14source=("git+https://github.com/OnlineLearningTutorials/mt7902_temp.git")
15sha256sums=('SKIP')
16
17pkgver() {
18 cd "${srcdir}/mt7902_temp"
19 printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
20}
21
22package() {
23 cd "${srcdir}/mt7902_temp/mt7902_firmware"
24
25 # Create target directory
26 install -dm755 "${pkgdir}/usr/lib/firmware/mediatek"
27
28 # Install WiFi firmware files
29 install -Dm644 WIFI_MT7902_patch_mcu_1_1_hdr.bin.zst \
30 "${pkgdir}/usr/lib/firmware/mediatek/WIFI_MT7902_patch_mcu_1_1_hdr.bin.zst"
31 install -Dm644 WIFI_RAM_CODE_MT7902_1.bin.zst \
32 "${pkgdir}/usr/lib/firmware/mediatek/WIFI_RAM_CODE_MT7902_1.bin.zst"
33
34 # Install Bluetooth firmware file
35 install -Dm644 BT_RAM_CODE_MT7902_1_1_hdr.bin.zst \
36 "${pkgdir}/usr/lib/firmware/mediatek/BT_RAM_CODE_MT7902_1_1_hdr.bin.zst"
37
38 # Install additional firmware files
39 install -Dm644 mt7902_eeprom.bin.zst \
40 "${pkgdir}/usr/lib/firmware/mediatek/mt7902_eeprom.bin.zst"
41 install -Dm644 mt7902_rom_patch.bin.zst \
42 "${pkgdir}/usr/lib/firmware/mediatek/mt7902_rom_patch.bin.zst"
43 install -Dm644 mt7902_wa.bin.zst \
44 "${pkgdir}/usr/lib/firmware/mediatek/mt7902_wa.bin.zst"
45 install -Dm644 mt7902_wf_rom.bin.zst \
46 "${pkgdir}/usr/lib/firmware/mediatek/mt7902_wf_rom.bin.zst"
47 install -Dm644 mt7902_wf_rom_sram.bin.zst \
48 "${pkgdir}/usr/lib/firmware/mediatek/mt7902_wf_rom_sram.bin.zst"
49 install -Dm644 mt7902_wm.bin.zst \
50 "${pkgdir}/usr/lib/firmware/mediatek/mt7902_wm.bin.zst"
51
52 # Install LICENSE
53 install -Dm644 "${srcdir}/mt7902_temp/LICENSE" \
54 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
55}
56

Scan history

Scanned at (UTC)SeverityRules
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 17:15:21 MEDIUM 1
2026-06-18 16:11:54 CLEAN 0

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion