digital-logic-sim-bin

maintainer gro-david · 2 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged A prebuilt x86_64 binary is downloaded from cdn.matix-media.net (a personal/unofficial CDN, not the upstream GitHub releases page) with 'SKIP' for its checksum, meaning there is zero integrity verification. The binary is then made executable and installed to /opt and /usr/bin. This is a genuine supply-chain risk: if the CDN host is compromised or the file is swapped, arbitrary code runs on the user's machine with no way to detect it. Additional issues: the PKGBUILD uses 'sudo' inside package(), which is non-standard and wrong, and the pkgver includes a 'v' prefix which is unconventional. However, there is no evidence of active malice — this looks like a sloppy but not intentionally malicious packaging of a legitimate open-source project (Sebastian Lague's Digital Logic Sim). The medium rating is correct: executed binary from an unofficial host with no checksum.

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:10 source=("dls.zip::https://cdn.matix-media.net/dd/427fcef6" "dls.desktop" "dls-icon.jpg")
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 85%): A prebuilt x86_64 binary is downloaded from cdn.matix-media.net (a personal/unofficial CDN, not the upstream GitHub releases page) with 'SKIP' for its checksum, meaning there is zero integrity verification. The binary is then made executable and installed to /opt and /usr/bin. This is a genuine supply-chain risk: if the CDN host is compromised or the file is swapped, arbitrary code runs on the user's machine with no way to detect it. Additional issues: the PKGBUILD uses 'sudo' inside package(), which is non-standard and wrong, and the pkgver includes a 'v' prefix which is unconventional. However, there is no evidence of active malice — this looks like a sloppy but not intentionally malicious packaging of a legitimate open-source project (Sebastian Lague's Digital Logic Sim). The medium rating is correct: executed binary from an unofficial host with no checksum.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: David Gro <gro.david.d@gmail.com>
2pkgname=digital-logic-sim-bin
3pkgrel=1
4pkgver="v2.1.6"
5pkgdesc="The logic simulation used and developed by Sebastian Lague."
6arch=('x86_64')
7url="https://github.com/SebLague/Digital-Logic-Sim"
8license=("MIT")
9makedepends=("unzip")
10source=("dls.zip::https://cdn.matix-media.net/dd/427fcef6" "dls.desktop" "dls-icon.jpg")
11sha256sums=('SKIP'
12 'a347d30340f3b38cafa156745efef18e768794f73252c8585b2021b4b47b8535'
13 'be3af17e3a63ab19f9526da768e7cdb22242199ea5983593de300e88ba5d202d')
14
15DLAGENTS=("https::/usr/bin/wget --content-disposition -O %o %u")
16
17prepare() {
18 cd "$srcdir"
19
20 # Unzip the zip file
21 unzip "$srcdir/dls.zip" -d "$srcdir/Digital-Logic-Sim"
22}
23
24package() {
25 cd "$srcdir/Digital-Logic-Sim"
26
27 # Install the app to /opt
28 install -d "$pkgdir/opt/dls"
29 cp -r Digital-Logic-Sim/* "$pkgdir/opt/dls/"
30 sudo chmod +x "$pkgdir/opt/dls/Digital-Logic-Sim.x86_64"
31
32 # Create a launcher script in /usr/bin
33 install -d "$pkgdir/usr/bin"
34 cat >"$pkgdir/usr/bin/dls" <<EOF
35#!/bin/bash
36exec /opt/dls/Digital-Logic-Sim.x86_64 "\$@"
37EOF
38 chmod +x "$pkgdir/usr/bin/dls"
39
40 # Install the .desktop file
41 install -Dm644 "$srcdir/dls.desktop" "$pkgdir/usr/share/applications/dls.desktop"
42
43 # Install the icon
44 install -Dm644 "$srcdir/dls-icon.jpg" "$pkgdir/usr/share/pixmaps/dls-icon.jpg"
45}
46

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