smartbrowser-bin
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.
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-09-17 00:27:14 | Medium | 2 |
| 2026-09-16 00:03:17 | Medium | 2 |
| 2026-09-15 00:25:31 | Medium | 2 |
| 2026-09-14 00:27:57 | Medium | 2 |
| 2026-09-13 00:19:54 | Medium | 2 |
| 2026-09-12 00:25:17 | Medium | 2 |
| 2026-09-11 00:19:22 | Medium | 2 |
| 2026-09-10 00:22:44 | Medium | 2 |
| 2026-09-09 00:04:09 | Medium | 2 |
| 2026-09-08 00:18:08 | Medium | 2 |
| 2026-09-07 00:30:15 | Medium | 2 |
| 2026-09-06 00:17:06 | Medium | 2 |
| 2026-09-05 00:16:27 | Medium | 2 |
| 2026-09-04 00:03:13 | Medium | 2 |
| 2026-09-03 00:15:47 | Medium | 2 |
| 2026-09-02 00:02:31 | Medium | 2 |
| 2026-09-01 00:11:19 | Medium | 2 |
| 2026-08-31 00:19:57 | Medium | 2 |
| 2026-08-30 00:04:14 | Medium | 2 |
| 2026-08-29 00:29:17 | Medium | 2 |