jpcsp
The PKGBUILD downloads a prebuilt binary archive (a compiled Java PSP emulator with native libraries) from files.emunewz.net, which is a third-party build host rather than the official jpcsp.org or a recognized mirror. The archive is extracted and installed directly under /opt. While emunewz.net appears to be a known emulator build hosting site that has historically hosted JPCSP nightly builds, it is not the canonical upstream source and is not under the project maintainers' direct control. A compromise of that host would result in arbitrary code execution on the user's machine. The MD5 checksum provides minimal integrity protection (MD5 is cryptographically broken). This is a genuine supply-chain concern: executed binary from a non-official third-party host. Not clearly malicious, but the risk is real and warrants medium severity.
Triggered rules
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=("jpcsp-r0f1ba37-linux-x86-64.7z::http://files.emunewz.net/builds/jpcsp/2018/02/12/jpcsp-r0f1ba37-linux-x86-64.7z"
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD downloads a prebuilt binary archive (a compiled Java PSP emulator with native libraries) from files.emunewz.net, which is a third-party build host rather than the official jpcsp.org or a recognized mirror. The archive is extracted and installed directly under /opt. While emunewz.net appears to be a known emulator build hosting site that has historically hosted JPCSP nightly builds, it is not the canonical upstream source and is not under the project maintainers' direct control. A compromise of that host would result in arbitrary code execution on the user's machine. The MD5 checksum provides minimal integrity protection (MD5 is cryptographically broken). This is a genuine supply-chain concern: executed binary from a non-official third-party host. Not clearly malicious, but the risk is real and warrants medium severity.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Mort Yao <soi@mort.ninja>
# Contributor: Ashton S. Hellwig <ahellwig.dev@gmail.com>
# Contributor: Bug <bug2000@gmail.com>
pkgname=jpcsp
pkgver="r0f1ba37"
pkgrel=1
pkgdesc="Java PSP Emulator"
options=('!strip')
arch=('x86_64')
url="http://jpcsp.org/"
license=('GPL')
depends=('java-runtime')
makedepends=('p7zip')
install=jpcsp.install
_pkgarch='x86_64'
source=("jpcsp-r0f1ba37-linux-x86-64.7z::http://files.emunewz.net/builds/jpcsp/2018/02/12/jpcsp-r0f1ba37-linux-x86-64.7z"
"jpcsp.sh"
"jpcsp.desktop")
md5sums=('6f0015787b9f68950396bb84ec9ba4a9'
'7da803eed1b8b00bdf3d6f2486605b86'
'cd39aad03798576eb5228ed4184885c8')
build() {
cd $srcdir
7z x ${pkgname}-${pkgver}-linux-x86-64.7z -w $PWD
}
package(){
mkdir -p "$pkgdir/opt/"
cp -a "$srcdir/jpcsp-linux-amd64/" "$pkgdir/opt/$pkgname/"
chmod -R 755 $pkgdir/opt/$pkgnname
install -D jpcsp.sh $pkgdir/usr/bin/jpcsp
install -D jpcsp.desktop $pkgdir/usr/share/applications/jpcsp.desktop
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Medium | 2 |
| 2026-10-31 00:07:41 | Medium | 2 |
| 2026-10-30 00:29:30 | Medium | 2 |
| 2026-10-29 00:13:55 | Medium | 2 |
| 2026-10-28 00:06:54 | Medium | 2 |
| 2026-10-27 00:23:28 | Medium | 2 |
| 2026-10-26 00:12:40 | Medium | 2 |
| 2026-10-25 00:20:48 | Medium | 2 |
| 2026-10-24 00:14:55 | Medium | 2 |
| 2026-10-23 00:02:19 | Medium | 2 |
| 2026-10-22 00:13:10 | Medium | 2 |
| 2026-10-21 00:12:50 | Medium | 2 |
| 2026-10-20 00:10:31 | Medium | 2 |
| 2026-10-19 00:03:55 | Medium | 2 |
| 2026-10-18 00:06:55 | Medium | 2 |
| 2026-10-17 00:21:55 | Medium | 2 |
| 2026-10-16 00:12:47 | Medium | 2 |
| 2026-10-15 00:28:05 | Medium | 2 |
| 2026-10-14 00:06:47 | Medium | 2 |
| 2026-10-13 00:23:45 | Medium | 2 |