tbs-firmware
maintainer AlexanderS
· 4 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads firmware files from the official project domain tbsdtv.com, which is plausibly the project's own source; firmware files are non-executable data, and the worst case of a swapped source is limited to non-code tampering.
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 firmware files from the official project domain tbsdtv.com, which is plausibly the project's own source; firmware files are non-executable data, and the worst case of a swapped source is limited to non-code tampering.
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
source=("tbs-tuner-firmwares_v${pkgver}.tar.bz2::http://www.tbsdtv.com/download/document/linux/tbs-tuner-firmwares_v${_pkgver}.tar.bz2")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Alexander Sulfrian <asulfrian at zedat dot fu-berlin dot de>
2
# Contributor: swearchnick <swearchnick at gmail dot com>
3
4
pkgname=tbs-firmware
5
_pkgver=1.0
6
_pkgdate=2023-10-22
7
pkgver=${_pkgver}.${_pkgdate//-/}
8
pkgrel=1
9
pkgdesc='TBS proprietary firmware'
10
arch=('any')
11
url='http://www.tbsdtv.com'
12
license=('custom:firmware')
13
makedepends=('linux-firmware')
14
depends=()
15
source=("tbs-tuner-firmwares_v${pkgver}.tar.bz2::http://www.tbsdtv.com/download/document/linux/tbs-tuner-firmwares_v${_pkgver}.tar.bz2")
16
sha256sums=('972f3e26c88c51252655f028e79abb3c53f085cfb96551f86a8a678c963e2d4e')
17
18
package() {
19
# Install firmware
20
mkdir -p "${pkgdir}/usr/lib/firmware"
21
install -m0644 "${srcdir}"/*.fw "${pkgdir}/usr/lib/firmware"
22
23
# Remove firmware, that is already provided by linux-firmware
24
cd "${pkgdir:?}/usr/lib/firmware" && rm -f $(basename -s .zst -a $(pacman -Qlq linux-firmware))
25
26
echo "Compressing firmware files..."
27
find "${pkgdir}/usr/lib/firmware" -type f -exec zstd -q --rm "{}" \;
28
}
29
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 |