mstflint

LOW
maintainer k0ste 8 votes scanned 2026-10-27 00:23:28.674093
View on AUR
Why flagged

The source is a tarball from GitHub's official codeload service for a legitimate project, which is a normal and safe practice for AUR packages despite the non-whitelisted host.

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 source is a tarball from GitHub's official codeload service for a legitimate project, which is a normal and safe practice for AUR packages despite the non-whitelisted host.

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:17 source=("${pkgname}-${_pkgver}.tar.gz::https://codeload.${_uri}/tar.gz/refs/tags/v${_pkgver}")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Konstantin Shalygin <k0ste@k0ste.ru>
2# Contributor: Konstantin Shalygin <k0ste@k0ste.ru>
3
4pkgname='mstflint'
5pkgver='4.37.0.1'
6_pkgver='4.37.0-1'
7pkgrel='1'
8pkgdesc='Open source version of MFT (Mellanox Firmware Tools)'
9arch=('x86_64' 'aarch64')
10_uri="github.com/Mellanox/${pkgname}"
11url="https://${_uri}"
12license=('GPL2' 'custom:"OpenIB.org BSD"')
13depends=('python' 'iniparser' 'openssl' 'libxml2' 'libidn2' 'libpsl'
14 'libunistring' 'zlib' 'xz' 'icu' 'keyutils' 'brotli' 'sqlite'
15 'libxml2' 'jsoncpp' 'curl' 'libnghttp2')
16makedepends=('rdma-core')
17source=("${pkgname}-${_pkgver}.tar.gz::https://codeload.${_uri}/tar.gz/refs/tags/v${_pkgver}")
18sha256sums=('75405d8c7594c25a686eba0edfa4101312f3b63cdabae4870b259b796041a15a')
19
20prepare() {
21 cd "${pkgname}-${_pkgver}"
22
23 autoreconf -fvi
24 ./configure \
25 --prefix="/usr" \
26 --sbindir="/usr/bin" \
27 --libexecdir="/usr/lib" \
28 --sysconfdir="/etc" \
29 --localstatedir="/var/${pkgname}" \
30 --enable-fw-mgr \
31 --enable-nvfwreset \
32 --enable-adb-generic-tools \
33 --enable-xml2
34}
35
36build() {
37 cd "${pkgname}-${_pkgver}"
38 make
39}
40
41check() {
42 cd "${pkgname}-${_pkgver}"
43 make check
44}
45
46package() {
47 cd "${pkgname}-${_pkgver}"
48 make DESTDIR="${pkgdir}" install
49 install -Dm0644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
50 install -Dm0644 "README" -t "${pkgdir}/usr/share/doc/${pkgname}"
51}
52

Scan history

Scanned at (UTC)SeverityRules
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
2026-10-12 00:18:51 Low 2
2026-10-11 00:26:05 Low 2
2026-10-10 00:11:52 Low 2
2026-10-09 00:05:33 Low 2
2026-10-08 00:28:03 Low 2

Report a package

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

0 / 4000
Your suggestion