betblocker

MEDIUM
maintainer orphaned 0 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The PKGBUILD downloads a prebuilt binary .deb from betblocker.org/front/download/2 — a non-versioned, opaque URL on the project's own domain — and extracts it directly into the package root. The sha256sum provides integrity checking against a known-good hash, which mitigates the risk of silent substitution somewhat, but the URL is not a versioned/tagged release artifact (it's a generic download endpoint that could serve different content over time without changing the URL). The installed artifact is a prebuilt Electron application binary (/opt/BetBlocker/BetBlocker) that runs with user privileges. The host is the official project domain (betblocker.org), not a personal or third-party host, which reduces but does not eliminate supply-chain concern. The non-versioned download URL is the main concern: if the maintainer doesn't update the PKGBUILD when upstream changes the binary, the sha256sum check would catch it, but the URL itself gives no version guarantee. Overall this is a legitimate medium-risk pattern: prebuilt binary from the official vendor site with a checksum, but via a non-versioned endpoint.

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:20 source=("${pkgname}-${pkgver}.deb::https://betblocker.org/front/download/2"
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 betblocker.org/front/download/2 — a non-versioned, opaque URL on the project's own domain — and extracts it directly into the package root. The sha256sum provides integrity checking against a known-good hash, which mitigates the risk of silent substitution somewhat, but the URL is not a versioned/tagged release artifact (it's a generic download endpoint that could serve different content over time without changing the URL). The installed artifact is a prebuilt Electron application binary (/opt/BetBlocker/BetBlocker) that runs with user privileges. The host is the official project domain (betblocker.org), not a personal or third-party host, which reduces but does not eliminate supply-chain concern. The non-versioned download URL is the main concern: if the maintainer doesn't update the PKGBUILD when upstream changes the binary, the sha256sum check would catch it, but the URL itself gives no version guarantee. Overall this is a legitimate medium-risk pattern: prebuilt binary from the official vendor site with a checksum, but via a non-versioned endpoint.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>
2
3pkgname=betblocker
4pkgver=2.1.2
5pkgrel=1
6pkgdesc="A free tool to help you control your gambling"
7arch=('x86_64')
8url="https://betblocker.org"
9license=("custom:${pkgname}")
10depends=('nodejs-js-yaml'
11 'libnotify'
12 'nss'
13 'libxss'
14 'xdg-utils'
15 'uuid'
16 'libappindicator-gtk3'
17 'libsecret')
18makedepends=('tar')
19options=('!strip')
20source=("${pkgname}-${pkgver}.deb::https://betblocker.org/front/download/2"
21 'LICENSE')
22sha256sums=('b4aa86e0d8cf8f96fc47adbf925fd90bd98368fcc06f0ec1062548346b6619c6'
23 'c1a90c883551985f77391e693c6615e5b0e4e408d21bbfb9f90d4f03f0654c73')
24
25package() {
26 tar xvf "${srcdir}/data.tar.xz" -C "${pkgdir}/"
27 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
28 install -d "${pkgdir}/usr/bin"
29 ln -sf '/opt/BetBlocker/BetBlocker' "${pkgdir}/usr/bin/betblocker"
30 cd "${pkgdir}/usr/share/doc"
31 mv bet-blocker betblocker
32}
33

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Medium 2
2026-10-31 00:07:41 Medium 2
2026-10-30 00:29:30 Medium 2
2026-10-29 00:13:55 Medium 2
2026-10-28 00:06:54 Medium 2
2026-10-27 00:23:28 Medium 2
2026-10-26 00:12:40 Medium 2
2026-10-25 00:20:48 Medium 2
2026-10-24 00:14:55 Medium 2
2026-10-23 00:02:19 Medium 2
2026-10-22 00:13:10 Medium 2
2026-10-21 00:12:50 Medium 2
2026-10-20 00:10:31 Medium 2
2026-10-19 00:03:55 Medium 2
2026-10-18 00:06:55 Medium 2
2026-10-17 00:21:55 Medium 2
2026-10-16 00:12:47 Medium 2
2026-10-15 00:28:05 Medium 2
2026-10-14 00:06:47 Medium 2
2026-10-13 00:23:45 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