bizhawk-preview-latest-bin

maintainer xAsh · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads a prebuilt binary from a non-whitelisted but project-associated host (nightly.link), which is used to build the package; however, it is a legitimate project artifact, and the worst case of a swapped source is limited to supply-chain risk without evidence of active malice or remote code execution.

Triggered rules

LOW AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a prebuilt binary from a non-whitelisted but project-associated host (nightly.link), which is used to build the package; however, it is a legitimate project artifact, and the worst case of a swapped source is limited to supply-chain risk without evidence of active malice or remote code execution.

1 higher static finding superseded - not the current verdict (shown for transparency)
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:36 "https://nightly.link/TASEmulators/BizHawk/workflows/ci/master/BizHawk-dev-linux.zip"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Ash <xash at riseup d0t net>
2# Contributor: bemxio <bemxiov at protonmail dot com>
3# Contributor: Claudia Pellegrino <aur ät cpellegrino.de>
4# Contributor: James Groom <OSSYoshiRulz at gmail dot com>
5
6pkgname="bizhawk-preview-latest-bin"
7_pkgname="bizhawk"
8pkgdesc="A multi-platform emulator with full re-recording support and Lua scripting (Nightly build)"
9# upstream base version
10_build_ver=2.10
11pkgver=$(
12 # grab the latest commit hash
13 sha=$(curl -s "https://api.github.com/repos/TASEmulators/BizHawk/actions/runs?workflow_id=ci&branch=master&status=success&per_page=1" \
14 | grep -m1 '"head_sha"' \
15 | sed -E 's/.*"head_sha":[[:space:]]*"([0-9a-f]{7})[0-9a-f]*".*/\1/')
16 [ -z "$sha" ] && sha=unknown
17
18 # r.count = number of commits since the last tag
19 count=$(curl -s "https://api.github.com/repos/TASEmulators/BizHawk/compare/${_build_ver}...${sha}" \
20 | grep -m1 '"ahead_by"' \
21 | sed -E 's/.*"ahead_by":[[:space:]]*([0-9]+).*/\1/')
22 [ -z "$count" ] && count=0
23
24 echo "${_build_ver}.r${count}.g${sha}"
25)
26
27pkgrel=1
28arch=(x86_64)
29url="https://tasvideos.org/BizHawk"
30license=("custom:BizHawk")
31depends=(glibc mono openal "lua>=5.4" lsb-release)
32makedepends=(icoutils)
33provides=(bizhawk)
34
35source=(
36 "https://nightly.link/TASEmulators/BizHawk/workflows/ci/master/BizHawk-dev-linux.zip"
37 "https://raw.githubusercontent.com/TASEmulators/BizHawk/master/LICENSE"
38 "bizhawk.desktop"
39 "bizhawk.png"
40)
41md5sums=(
42 "SKIP"
43 "2d15d8df1b4ec039a8fac3202a418a3c"
44 "324e1e4ebb6ae37e48aea8fb590cece3"
45 "e1e0f0339fdb7d3aa4c900b9761f9bac"
46)
47
48package() {
49 # Install everything under /opt/bizhawk
50 find . -type d \
51 -exec install -Dm775 -ggames -d "${pkgdir}/opt/bizhawk/{}" \;
52 find . -type f \
53 -regextype egrep \
54 -not -regex "./(EmuHawkMono.sh|bizhawk.desktop|bizhawk.png|LICENSE)" \
55 -exec install -Dm664 -ggames "{}" "${pkgdir}/opt/bizhawk/{}" \;
56
57 # Ensure the launcher script is executable
58 install -Dm775 -ggames EmuHawkMono.sh "${pkgdir}/opt/bizhawk/EmuHawkMono.sh"
59
60 install -Dm644 "${srcdir}/bizhawk.desktop" "${pkgdir}/usr/share/applications/bizhawk.desktop"
61 install -Dm644 "${srcdir}/bizhawk.png" "${pkgdir}/usr/share/pixmaps/bizhawk.png"
62
63 # symlink the launcher into $PATH
64 install -dm755 "${pkgdir}/usr/bin"
65 ln -s /opt/bizhawk/EmuHawkMono.sh "${pkgdir}/usr/bin/bizhawk"
66
67 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
68}
69

Scan history

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

Report a package

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

0 / 4000
Your suggestion