microblocks

maintainer nomisge · 1 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads a prebuilt binary .deb from microblocks.fun (the official project domain) and installs it directly. While this is the official upstream host, it is not a standard code-hosting platform with transparent release artifacts (no GitHub releases, no reproducible build), so a compromised or hijacked host could silently replace the binary. The sha512sum provides integrity checking against a known-good hash, which mitigates but does not eliminate the risk (the hash itself could be updated by a malicious maintainer). The core concern is a closed-source prebuilt binary from a personal/project domain rather than a verifiable source build — a genuine medium supply-chain concern, not a false positive, but also not an active attack.

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:11 source=("${pkgname}-${pkgver}-amd64.deb::https://microblocks.fun/downloads/v$pkgver/packages/ublocks-amd64.deb")
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 .deb from microblocks.fun (the official project domain) and installs it directly. While this is the official upstream host, it is not a standard code-hosting platform with transparent release artifacts (no GitHub releases, no reproducible build), so a compromised or hijacked host could silently replace the binary. The sha512sum provides integrity checking against a known-good hash, which mitigates but does not eliminate the risk (the hash itself could be updated by a malicious maintainer). The core concern is a closed-source prebuilt binary from a personal/project domain rather than a verifiable source build — a genuine medium supply-chain concern, not a false positive, but also not an active attack.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: nomisge <nomisge @ live . de>
2pkgname=microblocks
3pkgver=2.0.88
4pkgrel=1
5pkgdesc="MicroBlocks is a free, blocks pogramming language for learning physical computing with educational microcontroller boards such as the micro:bit, Adafruit Circuit Playground Express, and many others."
6arch=('x86_64')
7url="http://microblocks.fun"
8license=('MPL2')
9options=('!strip' '!emptydirs')
10install=${pkgname}.install
11source=("${pkgname}-${pkgver}-amd64.deb::https://microblocks.fun/downloads/v$pkgver/packages/ublocks-amd64.deb")
12sha512sums=('e9a4f526b59e25fc3ffd645d1ecd607d8b5a73a25d966c8c9554a7e82ef0859e0b7662db9c229cf4d217a3a49973a1fd4afc7cff9a3c863c7813abf30a7a5cd8')
13
14package(){
15
16 # Extract package data
17 tar xf data.tar.xz -C "${pkgdir}"
18
19 # Fix directories structure differencies
20 cd "${pkgdir}"
21
22 mkdir usr/bin 2> /dev/null; mv usr/local/bin/* usr/bin; rm -rf usr/local/bin
23 sed -i s'#^Exec=/usr/local/bin/#Exec=/usr/bin/#g' "usr/share/applications/MicroBlocks.desktop"
24
25 cd ..
26}
27

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