rocrail

MEDIUM
maintainer w0rty 1 votes scanned 2026-09-17 00:27:14.276658
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-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

Report a package

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

0 / 4000
Your suggestion