smartbrowser-bin

MEDIUM
maintainer dakshchoudhary 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

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

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:54 source=("smartbrowser.deb::https://cdn.hackerearth.com/smart-browser/releases/linux/x64/smart-browser-${pkgver}.deb")
Medium AI review 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
1# Maintainer: Daksh Choudhary <ch.daksh01@gmail.com>
2# Maintainer: Vivek Sudan <s.viveksudan@gmail.com>
3
4pkgname=smartbrowser-bin
5pkgver=2.4.1
6pkgrel=3
7pkgdesc="HackerEarth Smart Browser for secure assessments"
8arch=('x86_64')
9url="https://www.hackerearth.com/challenges/smart-browser/sap-9/"
10license=('custom')
11
12provides=('smartbrowser')
13conflicts=('smartbrowser')
14
15# Runtime dependencies (Electron/Chromium stack)
16depends=(
17 'gtk3'
18 'glib2'
19 'nss'
20 'libxss'
21 'alsa-lib'
22 'libxtst'
23 'libxrandr'
24 'libxdamage'
25 'libxcomposite'
26 'libxfixes'
27 'at-spi2-core'
28 'libdrm'
29 'mesa'
30 'libxcb'
31 'libx11'
32 'libxkbcommon'
33 'pango'
34 'cairo'
35 'expat'
36 'libcups'
37)
38
39# Optional runtime improvements
40optdepends=(
41 'pipewire: screen/audio capture'
42 'pulseaudio: audio support'
43 'wayland: Wayland support'
44 'xdg-utils: open links properly'
45)
46
47# BUILD-TIME dependencies
48makedepends=(
49 'libarchive'
50)
51
52options=('!strip' '!debug')
53
54source=("smartbrowser.deb::https://cdn.hackerearth.com/smart-browser/releases/linux/x64/smart-browser-${pkgver}.deb")
55
56sha256sums=('SKIP')
57
58package() {
59 cd "$srcdir"
60
61 # Extract data archive
62 bsdtar -xf smartbrowser.deb
63 bsdtar -xf data.tar.* -C "$pkgdir"
64
65 # Fix permissions
66 chmod -R 755 "$pkgdir/usr"
67
68 # Fix Debian-specific lib path
69 if [ -d "$pkgdir/usr/lib/x86_64-linux-gnu" ]; then
70 mkdir -p "$pkgdir/usr/lib"
71 mv "$pkgdir/usr/lib/x86_64-linux-gnu/"* "$pkgdir/usr/lib/"
72 rmdir "$pkgdir/usr/lib/x86_64-linux-gnu"
73 fi
74
75 # Fix desktop entry (important for KDE/GNOME)
76 if [ -f "$pkgdir/usr/share/applications/smart-browser.desktop" ]; then
77 install -Dm644 "$pkgdir/usr/share/applications/smart-browser.desktop" \
78 "$pkgdir/usr/share/applications/smartbrowser.desktop"
79 fi
80
81 # License install
82 if [ -f "$pkgdir/usr/share/doc/smart-browser/copyright" ]; then
83 install -Dm644 "$pkgdir/usr/share/doc/smart-browser/copyright" \
84 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
85 fi
86}

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion