hotdog

MEDIUM
maintainer sunplan 0 votes scanned 2026-11-01 00:21:48.120785
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-11-01 00:21:48 Medium 3
2026-10-31 00:07:41 Medium 3
2026-10-30 00:29:30 Medium 3
2026-10-29 00:13:55 Medium 3
2026-10-28 00:06:54 Medium 3
2026-10-27 00:23:28 Medium 3
2026-10-26 00:12:40 Medium 3
2026-10-25 00:20:48 Medium 3
2026-10-24 00:14:55 Medium 3
2026-10-23 00:02:19 Medium 3
2026-10-22 00:13:10 Medium 3
2026-10-21 00:12:50 Medium 3
2026-10-20 00:10:31 Medium 3
2026-10-19 00:03:55 Medium 3
2026-10-18 00:06:55 Medium 3
2026-10-17 00:21:55 Medium 3
2026-10-16 00:12:47 Medium 3
2026-10-15 00:28:05 Medium 3
2026-10-14 00:06:47 Medium 3
2026-10-13 00:23:45 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