pegdbserver_power
Triggered rules
external_download_not_in_source
curl/wget fetches a URL on a non-allowlisted host that is not part of source=(), so it is not checksum-verified by makepkg.
-
PKGBUILD:20
wget -q -O- http://www.pemicro.com/eclipse/updates/com.pemicro.debug.gdbjtag.ppc.updatesite/artifacts.jar | \ -
PKGBUILD:22
wget -O source.jar http://www.pemicro.com/eclipse/updates/com.pemicro.debug.gdbjtag.ppc.updatesite/plugins/com.pemicro.debug.gdbjtag.ppc_$(cat version).jar
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 82%): The PKGBUILD fetches a prebuilt JAR (containing native Linux binaries under lin/) from pemicro.com at build time inside prepare(), outside the source=() array, meaning no checksum verification is performed. The downloaded JAR is then unpacked and its contents (pegdbserver_power_console and GDI libraries) are installed as executable binaries. While pemicro.com is the legitimate vendor site, the lack of integrity verification means any MITM or server-side substitution would silently deliver arbitrary code that gets installed and executed. This is a genuine supply-chain concern: executed native binaries from an external host with no checksum. The pattern of dynamic version discovery followed by an unverified binary download is a real medium-severity risk, not a false positive.
PKGBUILD
2 offending line(s) highlighted#
# Maintainer: Patrick Oppenlander <patrick.oppenlander at gmail.com>
#
pkgname=pegdbserver_power
pkgver=2.0.2.202005132054
pkgrel=1
pkgdesc="GDB server for Power devices using P&E JTAG hardware"
url="http://www.pemicro.com"
arch=(x86_64)
license=(custom)
depends=(libusb-compat)
makedepends=(wget unzip gzip)
install=pegdbserver_power.install
source=(license_gdb.pdf 55-pemicro.rules)
sha256sums=(6b135ddd5388f6a0dd1d1d9d6c6d7321423f391914312c4a4aafd9d851d10dbc
4b9812f801faedb8a39c7e95bd829efeeb2941b1f4fb3ca774cfbf1ef4fa4081)
options=('!strip')
prepare() {
wget -q -O- http://www.pemicro.com/eclipse/updates/com.pemicro.debug.gdbjtag.ppc.updatesite/artifacts.jar | \
zcat | grep "<artifact.*com.pemicro.debug.gdbjtag.ppc.feature" | cut -d\' -f6 > version
wget -O source.jar http://www.pemicro.com/eclipse/updates/com.pemicro.debug.gdbjtag.ppc.updatesite/plugins/com.pemicro.debug.gdbjtag.ppc_$(cat version).jar
unzip -q source.jar
}
pkgver() {
cat version
}
package() {
mkdir -p "$pkgdir/opt/$pkgname"
cp -r lin/* "$pkgdir/opt/$pkgname"
chmod +x "$pkgdir/opt/$pkgname/pegdbserver_power_console"
chmod 644 "$pkgdir/opt/$pkgname/gdi/P&E"/*
chmod 666 "$pkgdir/opt/$pkgname/gdi/P&E"/*.add
mkdir -p "$pkgdir/etc/udev/rules.d"
cp 55-pemicro.rules "$pkgdir/etc/udev/rules.d"
mkdir -p "$pkgdir/usr/bin"
ln -s /opt/$pkgname/pegdbserver_power_console "$pkgdir/usr/bin/pegdbserver_power_console"
mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
cp license_gdb.pdf "$pkgdir/usr/share/licenses/$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 |