embedded-studio-arm-nordic
maintainer kumen
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads prebuilt binaries from dl2.segger.com, which is a plausible official host for Segger software; while not on a standard whitelist, it is likely legitimate and the binaries are verified via fixed sha256sums, reducing supply-chain risk.
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 prebuilt binaries from dl2.segger.com, which is a plausible official host for Segger software; while not on a standard whitelist, it is likely legitimate and the binaries are verified via fixed sha256sums, reducing supply-chain risk.
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_x86_64=("Setup_EmbeddedStudio_ARM_Nordic_v${pkgver/./}_linux_x64.tar.gz::https://dl2.segger.com/files/embedded-studio/EmbeddedStudio_ARM_Nordic_v${pkgver/./}_linux_x64.tar.gz")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: kumen
2
3
pkgname="embedded-studio-arm-nordic"
4
pkgver=5.68
5
pkgrel=1
6
pkgdesc="Segger Embedded Studio for ARM, Nordic version"
7
arch=('x86_64' 'i686')
8
makedepends=()
9
depends=('jlink-software-and-documentation')
10
optdepends=()
11
conflicts=()
12
replaces=()
13
url="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_installing.html#ses-nordic-edition"
14
license=('Commercial')
15
options=(!strip)
16
17
source_x86_64=("Setup_EmbeddedStudio_ARM_Nordic_v${pkgver/./}_linux_x64.tar.gz::https://dl2.segger.com/files/embedded-studio/EmbeddedStudio_ARM_Nordic_v${pkgver/./}_linux_x64.tar.gz")
18
source_i686=("Setup_EmbeddedStudio_ARM_Nordic_v${pkgver/./}_linux_x86.tar.gz::https://dl2.segger.com/files/embedded-studio/EmbeddedStudio_ARM_Nordic_v${pkgver/./}_linux_x86.tar.gz")
19
20
sha256sums_x86_64=('bffcd895d076b191b379b142ef5f6346808761dde733ea05d73f4a89dab683a0')
21
sha256sums_i686=('a7141cf6369af9050df85c305587114b88431a8c6413c7171276534a08ba4ec8')
22
23
prepare(){
24
# Change src path name
25
case ${CARCH} in
26
"x86_64")
27
mv ${srcdir}/arm_segger_embedded_studio_v${pkgver/./}_linux_x64_nordic embedded-studio-arm
28
;;
29
30
"i686")
31
mv ${srcdir}/arm_segger_embedded_studio_v${pkgver/./}_linux_x86_nordic embedded-studio-arm
32
;;
33
esac
34
}
35
36
package() {
37
install -dm755 "${pkgdir}/opt/SEGGER/Embedded-Studio-ARM-Nordic" \
38
"${pkgdir}/usr/share/licenses/${pkgname}" \
39
"${pkgdir}/usr/bin/" \
40
41
msg2 'Installing Embedded Studio ARM Nordic'
42
mv "${srcdir}/embedded-studio-arm/"* "${pkgdir}/opt/SEGGER/Embedded-Studio-ARM-Nordic/"
43
44
msg2 'Instalation of binary file'
45
ln -s /opt/SEGGER/Embedded-Studio-ARM-Nordic/bin/emStudio "${pkgdir}/usr/bin/emStudio-ARM-Nordic"
46
47
msg2 'Installing desktop shortcut and icon'
48
install -Dm 644 "${pkgdir}/opt/SEGGER/Embedded-Studio-ARM-Nordic/bin/StudioIcon.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
49
install -Dm644 /dev/stdin "$pkgdir/usr/share/applications/${pkgname}.desktop" <<END
50
[Desktop Entry]
51
Name=ARM Embedded Studio Nordic Edition
52
Comment=SEGGER Embedded Studio for ARM (Nordic Edition)
53
GenericName=Embedded Studio ARM (Nordic edition)
54
Exec=env GDK_BACKEND=x11 emStudio-ARM-Nordic %F
55
Icon=embedded-studio-arm
56
Path=/opt/SEGGER/Embedded-Studio-ARM-Nordic/bin
57
Terminal=false
58
StartupNotify=true
59
Type=Application
60
Categories=Development
61
END
62
63
msg2 'Instalation of license file'
64
ln -s /opt/SEGGER/Embedded-Studio-ARM-Nordic/html/License.htm "${pkgdir}/usr/share/licenses/${pkgname}/"
65
66
}
67
68
#
69
# makepkg --printsrcinfo > .SRCINFO
70
#
71
72
# vim: set ts=8 sw=8 tw=0 noet:
73
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 |