riscv32-corev-elf-gcc-bin

maintainer 0xDoubleDoc · 0 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads and installs a prebuilt binary toolchain (GCC cross-compiler) from buildbot.embecosm.com, which is Embecosm's own CI/build infrastructure rather than a formal release mirror. Embecosm is the legitimate upstream maintainer of CORE-V toolchains for the OpenHW Group, so this is not a random personal host — it is the actual vendor's buildbot. However, CI artifact URLs (job/corev-gcc-centos7/48/artifact/...) are inherently less stable and less trustworthy than versioned release downloads: artifacts can be overwritten, the build number is mutable, and there is no formal release signing. The package installs executed binaries (a full GCC toolchain) directly from this CI host with only a sha256 checksum for integrity. The sha256 does pin the exact artifact, which mitigates silent substitution risk somewhat, but the source is still an unofficial/CI artifact host rather than a proper release endpoint. This meets the medium threshold: executed binaries from a non-release (CI artifact) host, even if the vendor is legitimate.

Triggered rules

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:14 source=("https://buildbot.embecosm.com/job/corev-gcc-centos7/48/artifact/corev-openhw-gcc-centos7-${pkgrel}.tar.gz")
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD downloads and installs a prebuilt binary toolchain (GCC cross-compiler) from buildbot.embecosm.com, which is Embecosm's own CI/build infrastructure rather than a formal release mirror. Embecosm is the legitimate upstream maintainer of CORE-V toolchains for the OpenHW Group, so this is not a random personal host — it is the actual vendor's buildbot. However, CI artifact URLs (job/corev-gcc-centos7/48/artifact/...) are inherently less stable and less trustworthy than versioned release downloads: artifacts can be overwritten, the build number is mutable, and there is no formal release signing. The package installs executed binaries (a full GCC toolchain) directly from this CI host with only a sha256 checksum for integrity. The sha256 does pin the exact artifact, which mitigates silent substitution risk somewhat, but the source is still an unofficial/CI artifact host rather than a proper release endpoint. This meets the medium threshold: executed binaries from a non-release (CI artifact) host, even if the vendor is legitimate.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Nicolas Derumigny <nderumigny@gmail.com>
2
3_target=riscv32-corev-elf
4_pkgname=${_target}-gcc
5pkgname=${_pkgname}-bin
6pkgver=14.1.0
7pkgrel=20240530
8pkgdesc='Cross compiler for 32-bit RISC-V (Open Hardware Group CV32E40Pv2 project)'
9arch=('x86_64')
10url='https://embecosm.com/downloads/tool-chain-downloads/#core-v-top-of-tree-compilers'
11license=('GPL' 'LGPL')
12provides=("${_target}-gdb" "${_target}-binutils" "${_target}-newlib")
13options=('!emptydirs' '!strip')
14source=("https://buildbot.embecosm.com/job/corev-gcc-centos7/48/artifact/corev-openhw-gcc-centos7-${pkgrel}.tar.gz")
15sha256sums=('e4afdff4d17a0b060fc366cbb1be99ae726c6bd79f00da7dfb164d89c1a29352')
16
17package() {
18 install -dm755 ${pkgdir}/opt/riscv/${_pkgname}
19
20 cp -a ${srcdir}/corev-openhw-gcc-centos7-${pkgrel}/* ${pkgdir}/opt/riscv/${_pkgname}/
21}
22
23

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 MEDIUM 2
2026-08-02 00:16:08 MEDIUM 2
2026-08-01 00:11:18 MEDIUM 2
2026-07-31 00:14:10 MEDIUM 2
2026-07-30 00:17:23 MEDIUM 2
2026-07-29 00:25:53 MEDIUM 2
2026-07-28 00:07:28 MEDIUM 2
2026-07-27 00:24:32 MEDIUM 2
2026-07-26 00:07:32 MEDIUM 2
2026-07-25 00:13:44 MEDIUM 2
2026-07-24 00:02:28 MEDIUM 2
2026-07-23 00:14:47 MEDIUM 2
2026-07-22 00:29:32 MEDIUM 2
2026-07-21 00:24:15 MEDIUM 2
2026-07-20 00:19:49 MEDIUM 2
2026-07-19 00:17:08 MEDIUM 2
2026-07-18 00:14:48 MEDIUM 2
2026-07-17 00:06:16 MEDIUM 2
2026-07-16 00:05:41 MEDIUM 2
2026-07-15 00:09:25 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