rpcs3-bin

LOW
maintainer italoghost 48 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The PKGBUILD fetches the official RPCS3 AppImage from GitHub's official release API (api.github.com/repos/RPCS3/rpcs3-binaries-linux/releases/latest) and executes it only to extract its contents (--appimage-extract), which is the standard pattern for AppImage-based AUR packages. The executed binary comes from the official RPCS3 GitHub releases, not an attacker-controlled host. The sha256sums is SKIP because the version is dynamically resolved at build time (a common but sloppy practice for -bin packages tracking latest releases). The dynamic URL resolution via curl+awk is unusual but not malicious - it simply finds the AppImage asset URL from the GitHub API response. The main concern is the lack of checksum verification (SKIP), meaning a MITM or compromised GitHub release could substitute a malicious binary, but this is a packaging quality issue rather than active malice in the PKGBUILD itself. This is a false positive for HIGH risk.

Triggered rules

Low AI review downgraded a static finding llm_review

The static rules flagged this HIGH, but an AI model (anthropic/claude-sonnet-4.6) reviewed the full PKGBUILD and judged it LOW (confidence 85%): The PKGBUILD fetches the official RPCS3 AppImage from GitHub's official release API (api.github.com/repos/RPCS3/rpcs3-binaries-linux/releases/latest) and executes it only to extract its contents (--appimage-extract), which is the standard pattern for AppImage-based AUR packages. The executed binary comes from the official RPCS3 GitHub releases, not an attacker-controlled host. The sha256sums is SKIP because the version is dynamically resolved at build time (a common but sloppy practice for -bin packages tracking latest releases). The dynamic URL resolution via curl+awk is unusual but not malicious - it simply finds the AppImage asset URL from the GitHub API response. The main concern is the lack of checksum verification (SKIP), meaning a MITM or compromised GitHub release could substitute a malicious binary, but this is a packaging quality issue rather than active malice in the PKGBUILD itself. This is a false positive for HIGH risk.

1 higher static finding superseded - not the current verdict (shown for transparency)
High Downloaded file is executed download_then_exec

A file fetched with curl/wget (not part of source=(), so never checksum-verified) is later made executable or run — a fetch-and-execute pattern split across statements.

  • PKGBUILD:52 chmod +x "${srcdir}/rpcs3.AppImage"

PKGBUILD

1 offending line(s) highlighted
1# Creator: Sanpi <sanpi+aur@homecomputing.fr>
2# Maintainer: italoghost <eduprodive at posteo dot me>
3# Maintainer: Kaleb
4pkgname=rpcs3-bin
5_pkgname=rpcs3
6pkgver=0.0.42.19734
7pkgrel=1
8pkgdesc='Open-source Sony PlayStation 3 Emulator (Latest Binary)'
9arch=('x86_64')
10url='https://rpcs3.net/'
11license=('GPL-2.0-only')
12provides=("$_pkgname")
13conflicts=("$_pkgname")
14options=('!strip' '!zipman' '!emptydirs' '!debug')
15depends=(
16 'glibc'
17 'libgcc'
18 'zlib'
19 'bash'
20 'libx11'
21 'libxcb'
22 'vulkan-icd-loader'
23 'libglvnd'
24 'alsa-lib'
25 'fontconfig'
26 'freetype2'
27 'e2fsprogs'
28 'libstdc++'
29 'gmp'
30 'libdrm'
31 'libgpg-error'
32)
33optdepends=('wayland')
34makedepends=('curl' 'jq')
35
36# Source the GitHub API to trigger the build, the actual AppImage is fetched in prepare()
37source=("${_pkgname}::https://api.github.com/repos/RPCS3/rpcs3-binaries-linux/releases/latest")
38sha256sums=('SKIP')
39
40pkgver() {
41 # Cleanly fetch the latest tag name from GitHub API and format it
42 curl -s "https://api.github.com/repos/RPCS3/rpcs3-binaries-linux/releases/latest" | \
43 jq -r '(.name | gsub("-"; "."))'
44}
45
46prepare() {
47 # Dynamically find the download URL for the AppImage asset
48 _appimage_url=$(curl -s "https://api.github.com/repos/RPCS3/rpcs3-binaries-linux/releases/latest" | \
49 awk -F'"' '/browser_download_url.*rpcs3.*AppImage/ {print $4}')
50 msg2 "Downloading the actual AppImage..."
51 curl -L "$_appimage_url" -o "${srcdir}/rpcs3.AppImage"
52 chmod +x "${srcdir}/rpcs3.AppImage"
53}
54
55build() {
56 cd "${srcdir}"
57 # Extracting AppImage content into squashfs-root
58 ./rpcs3.AppImage --appimage-extract
59 # Patch AppRun to point to the fixed installation directory in /opt
60 sed -i "s|this_dir=\"\$(readlink -f \"\$(dirname \"\$0\")\")\"|this_dir=\"/opt/${_pkgname}\"|" "$srcdir/squashfs-root/AppRun"
61}
62
63package() {
64 # Core directories
65 install -dm755 "$pkgdir/opt/${_pkgname}"
66 cp -rp "$srcdir"/squashfs-root/* "$pkgdir/opt/${_pkgname}/"
67 # Symlink the launcher to /usr/bin
68 install -dm755 "$pkgdir/usr/bin"
69 ln -sf "/opt/${_pkgname}/AppRun" "$pkgdir/usr/bin/${_pkgname}"
70 # Install Icon, Desktop and Metainfo
71 install -Dm644 "$srcdir/squashfs-root/${_pkgname}.svg" "$pkgdir/usr/share/pixmaps/${_pkgname}.svg"
72 install -Dm644 "$srcdir/squashfs-root/${_pkgname}.desktop" "$pkgdir/usr/share/applications/${_pkgname}.desktop"
73 install -Dm644 "$srcdir/squashfs-root/usr/share/metainfo/${_pkgname}.metainfo.xml" "$pkgdir/usr/share/metainfo/${_pkgname}.metainfo.xml"
74 # Permissions
75 chmod -R u+rwX,go+rX,go-w "${pkgdir}/opt/${_pkgname}"
76}
77

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 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