hacbrewpack-bin

maintainer darkgeem · 1 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads a prebuilt binary tarball from a personal host (darkgeem.pyrokinesis.fr) that is not the official upstream release infrastructure (github.com/The-4n/hacBrewPack). The binary is then installed directly to /usr/bin and executed with 755 permissions. While a sha256sum is provided, this only verifies integrity against the maintainer's own hosted copy — if the personal host is compromised or the maintainer is malicious, users would execute arbitrary code. The official upstream does provide Linux x86_64 binaries in GitHub releases, so there is no legitimate reason to host the binary on a personal server instead. This is a genuine supply-chain concern: an executed binary from an unofficial/personal host with no independent verification path.

Triggered rules

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:12 source_x86_64=("https://darkgeem.pyrokinesis.fr/arch/archives/hacbrewpack.tar.gz")
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 85%): The PKGBUILD downloads a prebuilt binary tarball from a personal host (darkgeem.pyrokinesis.fr) that is not the official upstream release infrastructure (github.com/The-4n/hacBrewPack). The binary is then installed directly to /usr/bin and executed with 755 permissions. While a sha256sum is provided, this only verifies integrity against the maintainer's own hosted copy — if the personal host is compromised or the maintainer is malicious, users would execute arbitrary code. The official upstream does provide Linux x86_64 binaries in GitHub releases, so there is no legitimate reason to host the binary on a personal server instead. This is a genuine supply-chain concern: an executed binary from an unofficial/personal host with no independent verification path.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: darkgeem <darkgeem at pyrokinesis.fr>
2pkgname=hacbrewpack-bin
3pkgver=3.05
4pkgrel=1
5pkgdesc="hacBrewPack is a tool for creating Nintendo Switch NCAs (Nintendo Content Archive) from homebrews and pack them into NSPs (Nintendo Submission Package)"
6arch=('x86_64')
7url="https://github.com/The-4n/hacBrewPack/"
8licence=('GPL2')
9depends=('pacman')
10provides=('hacbrewpack')
11conflicts=('hacbrewpack')
12source_x86_64=("https://darkgeem.pyrokinesis.fr/arch/archives/hacbrewpack.tar.gz")
13sha256sums_x86_64=("077bdcfc1a55e5eaaa96bb64e3f2efb005300bc9d3a0bf3b5ffff75c4f5eb786")
14package() {
15 _bin_name="${pkgname/-bin/}"
16 _bin_file="${srcdir}/${_bin_name}"
17 install -Dm755 "${_bin_file}" "${pkgdir}/usr/bin/${_bin_name}"
18}
19

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion