arm-linux-gnueabihf-binutils-bin

LOW
maintainer pineappletoad 0 votes scanned 2026-09-04 03:57:33.182648
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 Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

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-09-04 03:57:33 Low 3
2026-09-04 03:56:15 Medium 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion