hotdog

maintainer sunplan · 0 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads a prebuilt binary .deb from 8bitoperahouse.com, which is a personal/unofficial host rather than an official distribution channel. The package installs compiled binaries directly into the system. Two checksum concerns exist: (1) the md5sums line uses command substitution with curl at parse time to fetch the checksum from the same untrusted host — meaning if that host is compromised, both the binary and its checksum are served by the attacker, completely defeating integrity verification; (2) the sha256sum is a static value which provides some protection but only if it was captured correctly at PKGBUILD creation time. The dynamic md5sums fetch is the key supply-chain risk: it's not a source= URL that makepkg verifies, it's a shell substitution that runs curl during PKGBUILD sourcing, fetching a checksum from the same host as the binary. A compromised host could serve a malicious binary alongside a matching md5 checksum, bypassing the md5 check entirely. The sha256sum provides a partial mitigation but the overall pattern is a genuine medium-severity supply-chain concern: executed binary from an unofficial personal host with a self-referential integrity check.

Triggered rules

MEDIUM External download from an untrusted host, not in source=() 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:19 md5sums=($(curl "https://8bitoperahouse.com/download/HOTDOGbuntu_${pkgver}_amd64.deb.md5" | cut -f1 -d' '))
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:18 source=("https://8bitoperahouse.com/download/HOTDOGbuntu_${pkgver}_amd64.deb")
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 82%): The PKGBUILD downloads a prebuilt binary .deb from 8bitoperahouse.com, which is a personal/unofficial host rather than an official distribution channel. The package installs compiled binaries directly into the system. Two checksum concerns exist: (1) the md5sums line uses command substitution with curl at parse time to fetch the checksum from the same untrusted host — meaning if that host is compromised, both the binary and its checksum are served by the attacker, completely defeating integrity verification; (2) the sha256sum is a static value which provides some protection but only if it was captured correctly at PKGBUILD creation time. The dynamic md5sums fetch is the key supply-chain risk: it's not a source= URL that makepkg verifies, it's a shell substitution that runs curl during PKGBUILD sourcing, fetching a checksum from the same host as the binary. A compromised host could serve a malicious binary alongside a matching md5 checksum, bypassing the md5 check entirely. The sha256sum provides a partial mitigation but the overall pattern is a genuine medium-severity supply-chain concern: executed binary from an unofficial personal host with a self-referential integrity check.

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: sunplan
2pkgname=hotdog
3pkgver=20240222
4pkgrel=3
5pkgdesc='X11 Window Manager with Windows 3.1 Hot Dog Stand, Amiga Workbench, Atari ST GEM, Mac Classic and Aqua UI'
6arch=('x86_64')
7url='https://github.com/arthurchoung/HOTDOG'
8license=('GPL3')
9depends=(
10 'alsa-lib'
11 'libglvnd'
12 'perl'
13)
14optdepends=(
15 'compton: Aqua mode window drop shadows'
16 'feh: Aqua mode wallpaper'
17)
18source=("https://8bitoperahouse.com/download/HOTDOGbuntu_${pkgver}_amd64.deb")
19md5sums=($(curl "https://8bitoperahouse.com/download/HOTDOGbuntu_${pkgver}_amd64.deb.md5" | cut -f1 -d' '))
20sha256sums=('56ce2f715daedcbef03b332d87963763bf44db8bc44fb8726829162b2548a353')
21
22package() {
23 tar xf data.tar.xz
24 cp -r "${srcdir}/usr" "${pkgdir}/usr"
25 cp -r "${srcdir}/etc" "${pkgdir}/etc"
26 mv "${pkgdir}/usr/doc" "${pkgdir}/usr/share/doc"
27}
28

Scan history

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

Report a package

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

0 / 4000
Your suggestion