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