smartbrowser-bin
Triggered rules
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:54
source=("smartbrowser.deb::https://cdn.hackerearth.com/smart-browser/releases/linux/x64/smart-browser-${pkgver}.deb")
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 82%): The PKGBUILD downloads a prebuilt Electron/Chromium-based binary (.deb) from cdn.hackerearth.com and installs it directly onto the system. The sha256sums is set to 'SKIP', meaning there is no integrity verification whatsoever — any silent replacement or CDN compromise would go undetected. While cdn.hackerearth.com is the official CDN for HackerEarth (a legitimate proctoring/assessment platform), the combination of: (1) a fully executable binary blob, (2) no checksum verification, and (3) installation of an Electron app with broad system access (screen capture, audio, etc.) constitutes a genuine supply-chain risk. The host is plausibly official but not a well-known, widely-audited distribution channel, and SKIP checksums for executed binaries are a real concern regardless of source legitimacy. This is a textbook medium-severity case.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Daksh Choudhary <ch.daksh01@gmail.com>
# Maintainer: Vivek Sudan <s.viveksudan@gmail.com>
pkgname=smartbrowser-bin
pkgver=2.4.1
pkgrel=3
pkgdesc="HackerEarth Smart Browser for secure assessments"
arch=('x86_64')
url="https://www.hackerearth.com/challenges/smart-browser/sap-9/"
license=('custom')
provides=('smartbrowser')
conflicts=('smartbrowser')
# Runtime dependencies (Electron/Chromium stack)
depends=(
'gtk3'
'glib2'
'nss'
'libxss'
'alsa-lib'
'libxtst'
'libxrandr'
'libxdamage'
'libxcomposite'
'libxfixes'
'at-spi2-core'
'libdrm'
'mesa'
'libxcb'
'libx11'
'libxkbcommon'
'pango'
'cairo'
'expat'
'libcups'
)
# Optional runtime improvements
optdepends=(
'pipewire: screen/audio capture'
'pulseaudio: audio support'
'wayland: Wayland support'
'xdg-utils: open links properly'
)
# BUILD-TIME dependencies
makedepends=(
'libarchive'
)
options=('!strip' '!debug')
source=("smartbrowser.deb::https://cdn.hackerearth.com/smart-browser/releases/linux/x64/smart-browser-${pkgver}.deb")
sha256sums=('SKIP')
package() {
cd "$srcdir"
# Extract data archive
bsdtar -xf smartbrowser.deb
bsdtar -xf data.tar.* -C "$pkgdir"
# Fix permissions
chmod -R 755 "$pkgdir/usr"
# Fix Debian-specific lib path
if [ -d "$pkgdir/usr/lib/x86_64-linux-gnu" ]; then
mkdir -p "$pkgdir/usr/lib"
mv "$pkgdir/usr/lib/x86_64-linux-gnu/"* "$pkgdir/usr/lib/"
rmdir "$pkgdir/usr/lib/x86_64-linux-gnu"
fi
# Fix desktop entry (important for KDE/GNOME)
if [ -f "$pkgdir/usr/share/applications/smart-browser.desktop" ]; then
install -Dm644 "$pkgdir/usr/share/applications/smart-browser.desktop" \
"$pkgdir/usr/share/applications/smartbrowser.desktop"
fi
# License install
if [ -f "$pkgdir/usr/share/doc/smart-browser/copyright" ]; then
install -Dm644 "$pkgdir/usr/share/doc/smart-browser/copyright" \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
fi
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |