jpcsp

MEDIUM
maintainer soimort 31 votes scanned 2026-11-01 00:21:48.120785
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-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

Report a package

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

0 / 4000
Your suggestion