arm-linux-gnueabihf-binutils-bin

LOW
maintainer pineappletoad 0 votes scanned 2026-10-19 00:03:55.276608
View on AUR
Why flagged

Downloads a prebuilt binary tarball directly from ARM's official developer.arm.com infrastructure with a pinned sha256 checksum; the source is the project's own official release host, not a personal or swappable third-party location, so supply-chain risk is minimal.

Triggered rules

Low AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (anthropic/claude-sonnet-4.6) reviewed the full PKGBUILD and judged it LOW (confidence 85%): Downloads a prebuilt binary tarball directly from ARM's official developer.arm.com infrastructure with a pinned sha256 checksum; the source is the project's own official release host, not a personal or swappable third-party location, so supply-chain risk is minimal.

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=("https://developer.arm.com/-/media/Files/downloads/gnu/${_toolchain_ver}/binrel/${_tarball}.tar.xz")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: pineappletoad
2
3pkgname=arm-linux-gnueabihf-binutils-bin
4_toolchain_ver=15.2.rel1
5_toolchain_date=20251217
6pkgver=${_toolchain_ver}.${_toolchain_date}
7pkgrel=2
8pkgdesc="Cross binutils for the arm-linux-gnueabihf target (precompiled, split from ARM's official GNU toolchain release)"
9arch=('x86_64')
10url="https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads"
11license=('GPL-2.0-or-later' 'GPL-3.0-or-later' 'LGPL-2.1-or-later')
12options=('!debug' '!strip')
13provides=('arm-linux-gnueabihf-binutils')
14conflicts=('arm-linux-gnueabihf-binutils')
15
16_tarball="arm-gnu-toolchain-${_toolchain_ver}-x86_64-arm-none-linux-gnueabihf"
17source=("https://developer.arm.com/-/media/Files/downloads/gnu/${_toolchain_ver}/binrel/${_tarball}.tar.xz")
18sha256sums=('3c65d820a6b8f677f8f6fbfc749fe00a4f16dde12341436c9df5b7092a47c0fb')
19
20package() {
21 cd "${srcdir}/${_tarball}"
22
23 local _tools=(addr2line ar as c++filt dwp elfedit gprof ld ld.bfd ld.gold nm objcopy objdump ranlib readelf size strings)
24
25 install -d "${pkgdir}/usr/bin"
26 for _tool in "${_tools[@]}"; do
27 install -m755 "bin/arm-none-linux-gnueabihf-${_tool}" "${pkgdir}/usr/bin/"
28 done
29
30 # Arch-conventional arm-linux-gnueabihf-* symlinks alongside ARM's own
31 # arm-none-linux-gnueabihf-* naming - same technique the real
32 # arm-gnu-toolchain-*-bin AUR package uses, so anything expecting either
33 # naming convention finds a working binary.
34 cd "${pkgdir}/usr/bin"
35 for f in arm-none-linux-gnueabihf-*; do
36 ln -s "$f" "${f/arm-none-linux-gnueabihf/arm-linux-gnueabihf}"
37 done
38 cd "${srcdir}/${_tarball}"
39
40 install -d "${pkgdir}/usr/arm-none-linux-gnueabihf/bin"
41 cp -a arm-none-linux-gnueabihf/bin/. "${pkgdir}/usr/arm-none-linux-gnueabihf/bin/"
42
43 # lib/bfd-plugins (libdep.so) is deliberately not installed here: it
44 # would land at /usr/lib/bfd-plugins/libdep.so, which the system's own
45 # native binutils package already owns - the real arm-linux-gnueabihf-
46 # binutils AUR package strips all of usr/lib for the same reason
47 # ("collides with system installation of binutils").
48
49 install -Dm644 license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
50}
51

Scan history

Scanned at (UTC)SeverityRules
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
2026-10-07 00:21:34 Low 2
2026-10-06 00:13:36 Low 2
2026-10-05 00:08:03 Low 2
2026-10-04 00:18:08 Low 2
2026-10-03 00:23:04 Low 2
2026-10-02 00:00:32 Low 2
2026-10-01 00:02:06 Low 2
2026-09-30 00:20:07 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