jpcsp

maintainer soimort · 31 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged 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

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:18 source=("jpcsp-r0f1ba37-linux-x86-64.7z::http://files.emunewz.net/builds/jpcsp/2018/02/12/jpcsp-r0f1ba37-linux-x86-64.7z"
MEDIUM AI review 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
1# Maintainer: Mort Yao <soi@mort.ninja>
2# Contributor: Ashton S. Hellwig <ahellwig.dev@gmail.com>
3# Contributor: Bug <bug2000@gmail.com>
4
5pkgname=jpcsp
6pkgver="r0f1ba37"
7pkgrel=1
8pkgdesc="Java PSP Emulator"
9options=('!strip')
10arch=('x86_64')
11url="http://jpcsp.org/"
12license=('GPL')
13depends=('java-runtime')
14makedepends=('p7zip')
15install=jpcsp.install
16_pkgarch='x86_64'
17
18source=("jpcsp-r0f1ba37-linux-x86-64.7z::http://files.emunewz.net/builds/jpcsp/2018/02/12/jpcsp-r0f1ba37-linux-x86-64.7z"
19 "jpcsp.sh"
20 "jpcsp.desktop")
21md5sums=('6f0015787b9f68950396bb84ec9ba4a9'
22 '7da803eed1b8b00bdf3d6f2486605b86'
23 'cd39aad03798576eb5228ed4184885c8')
24
25build() {
26 cd $srcdir
27 7z x ${pkgname}-${pkgver}-linux-x86-64.7z -w $PWD
28}
29
30package(){
31 mkdir -p "$pkgdir/opt/"
32 cp -a "$srcdir/jpcsp-linux-amd64/" "$pkgdir/opt/$pkgname/"
33 chmod -R 755 $pkgdir/opt/$pkgnname
34 install -D jpcsp.sh $pkgdir/usr/bin/jpcsp
35 install -D jpcsp.desktop $pkgdir/usr/share/applications/jpcsp.desktop
36
37}
38

Scan history

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

Report a package

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

0 / 4000
Your suggestion