mybsmart

maintainer bordam · 2 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads prebuilt .deb binaries from an AWS S3 bucket (s3-eu-west-1.amazonaws.com/res.bsmart.it/...) which is the vendor's own S3 bucket (res.bsmart.it subdomain path), not a random personal host. The checksums are provided and pinned. However, S3 buckets are not the same as a vendor's official signed release infrastructure — there is no GPG signature verification, and S3 bucket contents can be replaced without changing the URL. The package extracts and installs a prebuilt binary (Electron app) with SUID chrome-sandbox, which is executed code from a non-standard distribution channel. This is a genuine medium-severity supply-chain concern: if the S3 bucket were compromised or the object replaced (and checksums updated in the PKGBUILD), arbitrary code would execute with elevated privileges. The checksums mitigate but do not eliminate the risk since they are only as trustworthy as the PKGBUILD itself. This is a real but non-malicious supply-chain concern consistent with MEDIUM.

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:13 source_i686=(https://s3-eu-west-1.amazonaws.com/res.bsmart.it/mybsmart_desktop/releases/production_v2/linux/MybSmart-$pkgver-ia32.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 prebuilt .deb binaries from an AWS S3 bucket (s3-eu-west-1.amazonaws.com/res.bsmart.it/...) which is the vendor's own S3 bucket (res.bsmart.it subdomain path), not a random personal host. The checksums are provided and pinned. However, S3 buckets are not the same as a vendor's official signed release infrastructure — there is no GPG signature verification, and S3 bucket contents can be replaced without changing the URL. The package extracts and installs a prebuilt binary (Electron app) with SUID chrome-sandbox, which is executed code from a non-standard distribution channel. This is a genuine medium-severity supply-chain concern: if the S3 bucket were compromised or the object replaced (and checksums updated in the PKGBUILD), arbitrary code would execute with elevated privileges. The checksums mitigate but do not eliminate the risk since they are only as trustworthy as the PKGBUILD itself. This is a real but non-malicious supply-chain concern consistent with MEDIUM.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Mattia Borda <mattiagiovanni.borda@icloud.com>
2# Contributor: Valerio Pizzi <pival81@yahoo.com>
3
4pkgname=mybsmart
5pkgver=7.6.6
6pkgrel=1
7pkgdesc="Una piattaforma proprietaria di servizi e contenuti digitali per la scuola"
8arch=('i686' 'x86_64')
9url="https://bsmart.it"
10depends=('ffmpeg' 'gtk3' 'libnotify' 'nss' 'libxss' 'libxtst' 'xdg-utils' 'python-atspi' 'util-linux-libs' 'libsecret')
11license=(custom)
12source=(LICENSE)
13source_i686=(https://s3-eu-west-1.amazonaws.com/res.bsmart.it/mybsmart_desktop/releases/production_v2/linux/MybSmart-$pkgver-ia32.deb)
14source_x86_64=(https://s3-eu-west-1.amazonaws.com/res.bsmart.it/mybsmart_desktop/releases/production_v2/linux/MybSmart-$pkgver-x64.deb)
15sha256sums=('2ca3e6e7951873c7d82829299181838bb7cacb5c2ad372d7ce752d6d10543b39')
16sha256sums_i686=('33ca2fadf305d51a06f85d6cc9b3aaacdcdc4800567d6f55174dfcddf1656aca')
17sha256sums_x86_64=('221e45e282dcf63abf0a929255c57d241d2e2dc562e2c72ee135db42b4edfad0')
18
19package() {
20 tar -xf data.tar.xz --exclude='./usr/share/doc' -C "$pkgdir"
21 mkdir "$pkgdir"/usr/bin
22 ln -sf /opt/MybSmart/$pkgname "$pkgdir"/usr/bin/$pkgname
23 # SUID chrome-sandbox for Electron 5+
24 chmod 4755 "$pkgdir"/opt/MybSmart/chrome-sandbox || true
25 # https://www.bsmart.it/pages/terminiecondizioni
26 install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
27}
28

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