janusvr

MEDIUM
maintainer adelaidacervera 4 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

This PKGBUILD downloads a prebuilt binary tarball (janusvr_linux.tar.gz) from downloads.janusvr.com with a SKIP'd checksum, meaning no integrity verification is performed on the executed binary. Additionally, the version is fetched at parse time via a live curl call to janusvr.com/version.html, which is used to construct the source filename but doesn't actually pin the download — the URL always fetches the latest linux tarball regardless. The combination of: (1) a prebuilt executable installed to /opt and made executable, (2) no checksum verification (SKIP), and (3) a dynamic version fetch that could be manipulated via DNS or server-side changes, constitutes a genuine supply-chain risk. The host (downloads.janusvr.com) appears to be the official project host, which reduces but does not eliminate the concern. This is a real medium-severity supply-chain issue: an unofficial or compromised server could serve arbitrary code that gets installed and executed on the user's system.

Triggered rules

Medium External download from an untrusted host, not in source=() external_download_not_in_source

curl/wget fetches a URL on a non-allowlisted host that is not part of source=(), so it is not checksum-verified by makepkg.

  • PKGBUILD:8 janusver=$(curl http://www.janusvr.com/version.html)
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:9 source=("janusvr${janusver}.gz::http://downloads.janusvr.com/janusvr_linux.tar.gz"
  • PKGBUILD:11 "https://janusvr.com/images/logos/logoonly.png"
Medium AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 82%): This PKGBUILD downloads a prebuilt binary tarball (janusvr_linux.tar.gz) from downloads.janusvr.com with a SKIP'd checksum, meaning no integrity verification is performed on the executed binary. Additionally, the version is fetched at parse time via a live curl call to janusvr.com/version.html, which is used to construct the source filename but doesn't actually pin the download — the URL always fetches the latest linux tarball regardless. The combination of: (1) a prebuilt executable installed to /opt and made executable, (2) no checksum verification (SKIP), and (3) a dynamic version fetch that could be manipulated via DNS or server-side changes, constitutes a genuine supply-chain risk. The host (downloads.janusvr.com) appears to be the official project host, which reduces but does not eliminate the concern. This is a real medium-severity supply-chain issue: an unofficial or compromised server could serve arbitrary code that gets installed and executed on the user's system.

PKGBUILD

3 offending line(s) highlighted
1pkgname=janusvr
2pkgdesc='3D VR internet browser'
3url='http://www.dgp.toronto.edu/~mccrae/projects/firebox/'
4pkgver=59.8
5pkgrel=1
6arch=('x86_64')
7license=('custom')
8janusver=$(curl http://www.janusvr.com/version.html)
9source=("janusvr${janusver}.gz::http://downloads.janusvr.com/janusvr_linux.tar.gz"
10 "janusvr.sh"
11 "https://janusvr.com/images/logos/logoonly.png"
12 "janusvr.desktop")
13depends=('alsa-lib' 'libxt' 'libnotify' 'mime-types' 'nss' 'gtk2' 'sqlite' 'dbus-glib' 'qt5-multimedia')
14optdepends=("oculus-rift-sdk-jherico-git: For libOVR including a fix for mesa. Don't forget to Replace /opt/janusvr/libOVRRT64_0.so.5.0.1")
15makedepends=("imagemagick") #only for converting the icon
16
17pkgver() {
18 echo "$janusver"
19}
20
21package() {
22 install -d "$pkgdir/opt"
23 install -d "$pkgdir/usr/share/icons/"
24 install -d "$pkgdir/usr/share/applications"
25
26 cp -ra JanusVRBin/ "$pkgdir/opt/janusvr"
27# chmod a+x "$pkgdir/opt/janusvr"/*.sh
28 chmod a+x "$pkgdir/opt/janusvr/janusvr"
29 chmod -R a+rX "$pkgdir/opt/janusvr"
30
31 install -d "$pkgdir/usr/bin"
32 install -m755 "$srcdir/janusvr.sh" "$pkgdir/usr/bin/janusvr"
33
34 # segfaults for me with mesa with OpenCL. WAT
35 MAGICK_OCL_DEVICE=OFF convert "$srcdir/logoonly.png" -resize 128x128 "$pkgdir/usr/share/icons/janusvr.png" # screw the aspect ratio
36
37 install "${srcdir}/janusvr.desktop" "${pkgdir}/usr/share/applications/janusvr.desktop"
38
39 # CAUTION: Everyone in the group "games" can replace the whole thing e.g. with malware
40 # But for now there doesn't seem to be a better way, because it needs write accessess error_log.txt in its base directory, also temporary files are created there....
41 chown -R root:games "${pkgdir}"/opt/janusvr
42 chmod -R g+w "${pkgdir}"/opt/janusvr
43
44 rm -f "$pkgdir"/opt/janusvr/libstdc++.so.6
45
46 #mv "$pkgdir/opt/janusvr/libOVRRT64_0.so.5.0.1" "$pkgdir/opt/janusvr/libOVRRT64_0.so.5.0.1.bak"
47 #install -m755 "$srcdir/libovr.so" "$pkgdir/opt/janusvr/libOVRRT64_0.so.5.0.1"
48}
49
50md5sums=('SKIP'
51 'c05bb2fbfce12c89db560ed8b8bb036a'
52 'c2dd07b34a1f0f25ff619c12dd12ee9b'
53 'a8a2ce8e4dfa4e4e87a6af811b5627a4')
54

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Medium 3
2026-09-16 00:03:17 Medium 3
2026-09-15 00:25:31 Medium 3
2026-09-14 00:27:57 Medium 3
2026-09-13 00:19:54 Medium 3
2026-09-12 00:25:17 Medium 3
2026-09-11 00:19:22 Medium 3
2026-09-10 00:22:44 Medium 3
2026-09-09 00:04:09 Medium 3
2026-09-08 00:18:08 Medium 3
2026-09-07 00:30:15 Medium 3
2026-09-06 00:17:06 Medium 3
2026-09-05 00:16:27 Medium 3
2026-09-04 00:03:13 Medium 3
2026-09-03 00:15:47 Medium 3
2026-09-02 00:02:31 Medium 3
2026-09-01 00:11:19 Medium 3
2026-08-31 00:19:57 Medium 3
2026-08-30 00:04:14 Medium 3
2026-08-29 00:29:17 Medium 3

Report a package

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

0 / 4000
Your suggestion