arrow-usb-blaster
maintainer thierer
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a source archive from a project-associated but non-whitelisted host; however, it builds and installs a driver from the official project's distribution point, with no evidence of malicious intent or remote 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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a source archive from a project-associated but non-whitelisted host; however, it builds and installs a driver from the official project's distribution point, with no evidence of malicious intent or remote code 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:18
source=("https://shop.trenz-electronic.de/trenzdownloads/Trenz_Electronic/Software/Drivers/Arrow_USB_Programmer/Arrow_USB_Programmer_${_majver}/${_archive}.zip")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Martin Thierer <thierer@web.de>
2
3
pkgname=arrow-usb-blaster
4
pkgver=2.5.1
5
pkgrel=1
6
pkgdesc='Intel Quartus Driver for Arrow USB JTAG Programmer'
7
url='https://wiki.trenz-electronic.de/display/PD/Arrow+USB+Programmer'
8
license=('unknown')
9
arch=('x86_64')
10
backup=('etc/arrow_usb_blaster.conf')
11
depends=('quartus-free-quartus')
12
options=('!strip')
13
# Even https://github.com/ArrowElectronics/AnalogMAX/wiki/Arrow-USB-Programmer
14
# in what seems to be an official Arrow repository links to Trenz Electronic
15
# so that's apparently the standard download location.
16
_archive="Arrow_USB_Programmer_${pkgver}_linux64"
17
_majver=`echo ${pkgver} | cut -d '.' -f 1-2`
18
source=("https://shop.trenz-electronic.de/trenzdownloads/Trenz_Electronic/Software/Drivers/Arrow_USB_Programmer/Arrow_USB_Programmer_${_majver}/${_archive}.zip")
19
md5sums=('2d93ae613ff4ebb6a2d71fc3dbfad120')
20
21
prepare() {
22
cd "${srcdir}/${_archive}"
23
24
# extract udev rules from README
25
if [[ $(csplit --suppress-matched README '/^===8</' '{1}' | wc -l) != 3 ]]
26
then
27
echo "Error extracting udev rules from README!"
28
return 1
29
fi
30
31
# put the TckFrequency option behind a comment to keep the default
32
sed -i 's/^\(TckFrequency.*\)/#\1/' arrow_usb_blaster.conf
33
}
34
35
package() {
36
cd "${srcdir}/${_archive}"
37
38
# find the directory where Quartus is installed
39
_quartus=$(pacman -Qlq quartus-free-quartus | grep "quartus/linux64/$")
40
if [[ ${_quartus} && -d ${_quartus} ]]
41
then
42
echo "Found Quartus install directory ${_quartus}"
43
else
44
echo "Quartus install directory not found."
45
return 1
46
fi
47
48
install -D -m755 -t ${pkgdir}/${_quartus} libjtag_hw_arrow.so
49
install -D -m644 -t ${pkgdir}/etc arrow_usb_blaster.conf
50
install -D -m644 xx01 ${pkgdir}/usr/lib/udev/rules.d/51-arrow-usb-blaster.rules
51
}
52
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 |