axpbox-git

maintainer ajacocks · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package builds from a legitimate project git repository and includes two firmware binaries from plausible project-related or historical sources; these are data files, not executed code, and the worst case of a swapped source is limited to non-executable asset tampering.

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 builds from a legitimate project git repository and includes two firmware binaries from plausible project-related or historical sources; these are data files, not executed code, and the worst case of a swapped source is limited to non-executable asset tampering.

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:16 'https://raymii.org/s/inc/downloads/es40-srmon/cl67srmrom.exe')

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Alexander Jacocks <alexander@redhat.com>
2
3pkgname="axpbox-git"
4pkgver=1.1.2.1.gbaa1d5b
5pkgrel=1
6pkgdesc="AXPbox Alpha emulator"
7arch=('i686' 'x86_64')
8url="https://github.com/lenticularis39/axpbox"
9license=('GPLv2')
10depends=('libpcap' 'sdl2' 'openbsd-netcat')
11makedepends=('cmake')
12provides=("${pkgname%-*}")
13conflicts=("${pkgname%-*}")
14source=('git+https://github.com/lenticularis39/axpbox.git'
15 'https://download-mirror.savannah.gnu.org/releases/vgabios/vgabios-0.6a.bin'
16 'https://raymii.org/s/inc/downloads/es40-srmon/cl67srmrom.exe')
17sha512sums=('SKIP'
18 '49cede42527d026433623f7e266e4af38b3804392924a7f32ec4fb8473adca9cde3f57ea85bf37ce3c4a2a00ccdfc957678bf2a6ee8010d0a6a511278ef5707e'
19 '3583d4b66f771c42365c989cb7dbf1b70d733eb2221ce83c092819adce98c028f745a55fd43df7fbd523a7dc3b54eed472d3f6928ba99e0abdebd2a0e666ef2e')
20
21pkgver() {
22 cd "${pkgname%-*}"
23 printf "%s" "$(git describe --long --tags | sed 's/v//; s/-/./g')"
24}
25
26build() {
27 cd "${pkgname%-*}"
28 cmake -E make_directory build
29 cd build
30 cmake .. -DCMAKE_C_COMPILER="clang" -DCMAKE_CXX_COMPILER="clang++" -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-Wall"
31 MAKEFLAGS=-j"$(nproc)" cmake --build . --config Release
32}
33
34check() {
35 cd "${pkgname%-*}"
36 test/run
37}
38
39package() {
40 echo "Entering directory $srcdir/${pkgname%-*}/build."
41 cd "$srcdir/${pkgname%-*}/build"
42 install -d "$pkgdir/usr/bin"
43 install axpbox "$pkgdir/usr/bin/axpbox"
44
45 echo "Entering directory $srcdir/${pkgname%-*}."
46 cd "$srcdir/${pkgname%-*}"
47 install -d "$pkgdir/usr/share/$pkgname"
48 install -d "$pkgdir/usr/share/$pkgname/rom"
49 install -D -t "$pkgdir/usr/share/$pkgname/rom" "$srcdir/cl67srmrom.exe"
50 install -D -t "$pkgdir/usr/share/$pkgname/rom" "$srcdir/vgabios-0.6a.bin"
51 install -d "$pkgdir/usr/share/doc/$pkgname"
52 install -D -t "$pkgdir/usr/share/doc/$pkgname" *.md
53}
54

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