hotdog

MEDIUM
maintainer sunplan 0 votes scanned 2026-09-17 00:27:14.276658
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-09-17 00:27:14 Medium 3
2026-09-16 00:03:17 Medium 3
2026-09-15 00:25:31 Medium 3
2026-09-14 00:27:57 Medium 3
2026-09-13 00:19:54 Medium 3
2026-09-12 00:25:17 Medium 3
2026-09-11 00:19:22 Medium 3
2026-09-10 00:22:44 Medium 3
2026-09-09 00:04:09 Medium 3
2026-09-08 00:18:08 Medium 3
2026-09-07 00:30:15 Medium 3
2026-09-06 00:17:06 Medium 3
2026-09-05 00:16:27 Medium 3
2026-09-04 00:03:13 Medium 3
2026-09-03 00:15:47 Medium 3
2026-09-02 00:02:31 Medium 3
2026-09-01 00:11:19 Medium 3
2026-08-31 00:19:57 Medium 3
2026-08-30 00:04:14 Medium 3
2026-08-29 00:29:17 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