wd5741
maintainer dpeukert
· 2 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a firmware utility binary from Western Digital's official downloads domain (downloads.wdc.com), which is a plausible and official host for this software, despite not being on the analyzer's whitelist; the package installs only the binary and license, with no obfuscated code or remote 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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a firmware utility binary from Western Digital's official downloads domain (downloads.wdc.com), which is a plausible and official host for this software, despite not being on the analyzer's whitelist; the package installs only the binary and license, with no obfuscated code or remote execution.
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:9
source=("$pkgname-$pkgver.zip::https://downloads.wdc.com/sata/${pkgname^^}v4.zip")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Daniel Peukert <daniel@peukert.cc>
2
pkgname='wd5741'
3
pkgver='20131220'
4
pkgrel='3'
5
pkgdesc='Firmware update utility for WD Red drives'
6
arch=('x86_64' 'i686' 'pentium4')
7
url='https://support-cz.wd.com/app/products/product-detailweb/p/288'
8
license=('LicenseRef-WDDisclaimerofLiability')
9
source=("$pkgname-$pkgver.zip::https://downloads.wdc.com/sata/${pkgname^^}v4.zip")
10
sha512sums=('cc81b0f1ea0e92042b870d8484449d30a89b4d55230d24944f560a0cfb8fbd34cb754bd719cf5593ba79d022ef50718b8c4d9c37381d752e141d6e3c90b1f3f9')
11
12
_sourcedirectory="$_projectname-$pkgver"
13
14
case "$CARCH" in
15
i686|pentium4)
16
_binaryname="${pkgname}x32"
17
;;
18
*)
19
_binaryname="${pkgname}x64"
20
;;
21
esac
22
23
prepare() {
24
chmod +x "$srcdir/$_binaryname"
25
}
26
27
check() {
28
_checkoutput="$("$srcdir/$_binaryname" -? || :)"
29
printf '%s\n' "$_checkoutput"
30
printf '%s\n' "$_checkoutput" | grep -q "^${pkgname^^} Version"
31
}
32
33
package() {
34
install -Dm755 "$srcdir/$_binaryname" "$pkgdir/usr/bin/$pkgname"
35
install -Dm644 'Disclaimer of Liability - As-Is.txt' "$pkgdir/usr/share/licenses/$pkgname/WDDisclaimerofLiability"
36
}
37
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 |