riscv32-corev-elf-gcc-bin
Triggered rules
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")
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# Maintainer: Nicolas Derumigny <nderumigny@gmail.com>
_target=riscv32-corev-elf
_pkgname=${_target}-gcc
pkgname=${_pkgname}-bin
pkgver=14.1.0
pkgrel=20240530
pkgdesc='Cross compiler for 32-bit RISC-V (Open Hardware Group CV32E40Pv2 project)'
arch=('x86_64')
url='https://embecosm.com/downloads/tool-chain-downloads/#core-v-top-of-tree-compilers'
license=('GPL' 'LGPL')
provides=("${_target}-gdb" "${_target}-binutils" "${_target}-newlib")
options=('!emptydirs' '!strip')
source=("https://buildbot.embecosm.com/job/corev-gcc-centos7/48/artifact/corev-openhw-gcc-centos7-${pkgrel}.tar.gz")
sha256sums=('e4afdff4d17a0b060fc366cbb1be99ae726c6bd79f00da7dfb164d89c1a29352')
package() {
install -dm755 ${pkgdir}/opt/riscv/${_pkgname}
cp -a ${srcdir}/corev-openhw-gcc-centos7-${pkgrel}/* ${pkgdir}/opt/riscv/${_pkgname}/
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |