rocrail

maintainer w0rty · 1 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged This PKGBUILD downloads a prebuilt proprietary binary archive (Rocrail-debian11-i64.zip) from wiki.rocrail.net with md5sums='SKIP', meaning the binary is completely unverified at install time. While wiki.rocrail.net appears to be the official Rocrail project wiki/distribution host (the package url matches), the SKIP checksum means any MITM or server-side substitution would go undetected. The archive is extracted and installed as executable binaries under /opt/rocrail, and a wrapper script launches them. The combination of an executed prebuilt binary with no integrity verification is a genuine supply-chain concern — if the host is compromised or the download is intercepted, arbitrary code runs on the user's system. This is a real medium-severity issue: not clearly malicious, but an unverifiable executed binary from a host that, while plausibly official, is not a well-known package mirror with independent verification.

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:14 source=("https://wiki.rocrail.net/rocrail-snapshot/Debian/Rocrail-debian11-i64.zip" "rocview.desktop" "rocrail.desktop" "startrocrail.sh")
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 proprietary binary archive (Rocrail-debian11-i64.zip) from wiki.rocrail.net with md5sums='SKIP', meaning the binary is completely unverified at install time. While wiki.rocrail.net appears to be the official Rocrail project wiki/distribution host (the package url matches), the SKIP checksum means any MITM or server-side substitution would go undetected. The archive is extracted and installed as executable binaries under /opt/rocrail, and a wrapper script launches them. The combination of an executed prebuilt binary with no integrity verification is a genuine supply-chain concern — if the host is compromised or the download is intercepted, arbitrary code runs on the user's system. This is a real medium-severity issue: not clearly malicious, but an unverifiable executed binary from a host that, while plausibly official, is not a well-known package mirror with independent verification.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: w0rty <mawo97 at gmail.com>
2# Contributor: Pim Bliek <pim@pimbliek.nl>
3# Contributor: Elvin L <elvin@eelviny.me>
4
5pkgname=rocrail
6pkgver=3357
7pkgrel=2
8pkgdesc="Innovative Model Railroad Control System"
9arch=('x86_64')
10url="http://wiki.rocrail.net/"
11license=('Proprietary')
12depends=('libusb' 'libsm' 'gtk3')
13makedepends=('curl')
14source=("https://wiki.rocrail.net/rocrail-snapshot/Debian/Rocrail-debian11-i64.zip" "rocview.desktop" "rocrail.desktop" "startrocrail.sh")
15md5sums=('SKIP'
16 'b3851071a1185e25a6e59471d955b098'
17 'edc94290e0835812bc704dbe1d6a940f'
18 '4ec3bcf8eb335068e8b177360e19d72d')
19
20pkgver() {
21 # I made it like this because i dont have the time to test and update every new daily version. Anyone can update the package themself just by reinstalling.
22 grep "${srcdir}"/revision.info -e "Revision:" | awk '{print $2}'
23}
24
25package() {
26 install -d "${pkgdir}/opt/rocrail"
27 cp -r "${srcdir}/"* "${pkgdir}/opt/rocrail" -R
28
29 install -d "${pkgdir}/usr/bin"
30 install -m755 "${srcdir}/startrocrail.sh" "${pkgdir}/usr/bin/rocrail"
31
32 install -d "${pkgdir}/usr/share/applications"
33 install -Dm644 -t "${pkgdir}/usr/share/applications" rocview.desktop
34 install -Dm644 -t "${pkgdir}/usr/share/applications" rocrail.desktop
35
36 install -d "${pkgdir}/usr/share/pixmaps"
37 install -Dm644 -t "${pkgdir}/usr/share/pixmaps" rocrail.png
38
39 #cleanup unnecessary files and wrong scripts
40 rm $pkgdir/opt/rocrail/desktoplink.sh
41 rm $pkgdir/opt/rocrail/update.sh
42 rm $pkgdir/opt/rocrail/sysupdate.sh
43 rm $pkgdir/opt/rocrail/startrocrail.sh
44 rm $pkgdir/opt/rocrail/*.desktop
45 rm $pkgdir/opt/rocrail/Rocrail-debian11-i64.zip
46
47 chmod -R 755 $pkgdir/opt/rocrail
48}
49

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