elftosb

LOW
maintainer nickray 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The source is fetched via a custom DLAGENT from NXP's official domain using a tool that handles authentication, which is necessary due to the login wall; the checksum is provided and matches the expected file, and the package builds from source, reducing supply-chain risk despite the non-standard 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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is fetched via a custom DLAGENT from NXP's official domain using a tool that handles authentication, which is necessary due to the login wall; the checksum is provided and matches the expected file, and the package builds from source, reducing supply-chain risk despite the non-standard 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:33 "https://www.nxp.com/docs/en/disclaimer/LA_OPT_NXP_SW.html"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Nicolas Stalder <n+archlinux@stalder.io>
2
3# BUILD INSTRUCTIONS
4#
5# The source for `elftosb` is available behind a login wall.
6#
7# By default, `nxp-dlagent` is used to fetch, you can avoid the prompts
8# by setting `NXP_USERNAME` and `NXP_PASSWORD` for your account.
9#
10# Alternatively, visit <https://www.nxp.com/webapp/Download?colCode=elftosb_5.1.19&appType=license>,
11# accept the license terms, and place the downloaded ZIP file in the same directory as this PKGBUILD.
12
13pkgname=elftosb
14pkgver=5.1.19
15pkgname_pkgver=${pkgname}_$pkgver
16pkgrel=3
17pkgdesc="ELF to Secure Binary Utility for NXP MCUs"
18url="https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/mcuboot-mcu-bootloader-for-nxp-microcontrollers:MCUBOOT"
19# could also support 32-bit with some more work
20arch=(x86_64)
21license=(BSD custom:NXP)
22makedepends=(nxp-dlagent)
23depends=()
24
25DLAGENTS=(
26 "nxp::/usr/bin/nxp-dl %u"
27 # need to add https dlagent back since we are overriding DLAGENTS
28 'https::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
29)
30source=(
31 "elftosb_5.1.19.zip"::"nxp://elftosb_5.1.19"
32 # This is `v16 October 2020` as of 2020-10-24
33 "https://www.nxp.com/docs/en/disclaimer/LA_OPT_NXP_SW.html"
34)
35sha256sums=(
36 "c5becbe8905ce4002c4bd351ecb585125cf8090c1ae043b324432598707a5d2b"
37 "1cdeb68e00f98a2764b918c2fa6f2a02c93b03354e84051473f608d79844efde"
38)
39
40
41build() {
42 cd $srcdir/$pkgname_pkgver/proj/$pkgname
43 make all
44
45 # TODO: there is also source code for
46 # - encryptgpk
47 # - keygen
48 # - sbtool
49 # for which the makefile is missing. However, there are .vcxproj files
50 # that seem simple enough to convert to make.
51}
52
53package() {
54 # binary
55 bld=$srcdir/$pkgname_pkgver/proj/$pkgname/bld/linux
56 install -Dm 755 $bld/elftosb -t $pkgdir/usr/bin
57
58 # licenses:
59 # - source code itself is BSD-3-Clause, as stated in `SW-Content-Register.txt`
60 # - no file with the BSD copyright line is included, source files have copyright headers
61 # - for production use, however, Section 2.3 of the LA_OPT_NXP_SW software license applies
62 # - subcomponents have various different licenses (MIT, Public Domain, BSD-2-clause, Apache-2.0,...
63 install -Dm 644 $srcdir/LA_OPT_NXP_SW.html -t $pkgdir/usr/share/licenses/$pkgname/
64 install -Dm 644 $srcdir/$pkgname_pkgver/SW-Content-Register.txt -t $pkgdir/usr/share/licenses/$pkgname/
65
66 # documentation
67 install -Dm 644 \
68 $srcdir/$pkgname_pkgver/docs/"elftosb User's Guide.pdf" \
69 $pkgdir/usr/share/doc/$pkgname/MBOOTELFTOSBUG-rev7-202002.pdf
70
71}
72

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 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