basilisk-gtk2-bin
maintainer kalervoheikkinen
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a prebuilt binary from the project's official archive domain, which is not on a standard whitelist but is plausibly controlled by the project; the binary is installed without modification, and the worst case of a swapped source would be code execution, but the source host is specific to the project and not a generic file-sharing service.
Triggered rules
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a prebuilt binary from the project's official archive domain, which is not on a standard whitelist but is plausibly controlled by the project; the binary is installed without modification, and the worst case of a swapped source would be code execution, but the source host is specific to the project and not a generic file-sharing service.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:19
source=(https://archive.basilisk-browser.org/${_date}/linux/x86_64/gtk2/basilisk-${_buildid}.linux-x86_64-gtk2.{tar.xz,json}
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: twa022 <twa022 at gmail dot com>
2
# Contributor: Michał Wojdyła < micwoj9292 at gmail dot com >
3
4
_pkgname=basilisk
5
pkgname=${_pkgname}-gtk2-bin
6
epoch=1
7
_buildid=20231210185501
8
_date=2023.12.09
9
pkgver=52.9.2023.12.09
10
pkgrel=1
11
pkgdesc="A XUL-based web-browser demonstrating the Unified XUL Platform (UXP)."
12
url="https://www.basilisk-browser.org"
13
arch=('x86_64')
14
license=('GPL')
15
depends=('gtk2' 'dbus-glib' 'libxt' 'mime-types' 'nss' 'alsa-lib' 'icu')
16
optdepends=('hunspell: spell checker and morphological analyzer'
17
'hyphen: library for hyphenation and justification'
18
'ffmpeg: record, convert, and stream audio and video')
19
source=(https://archive.basilisk-browser.org/${_date}/linux/x86_64/gtk2/basilisk-${_buildid}.linux-x86_64-gtk2.{tar.xz,json}
20
'basilisk-gtk2.desktop')
21
sha256sums=('ae28bd4a7605d53aca76b5e083d080792c35783792aeb4c72e5389b16624d425'
22
'842bd752800b22e1d76dd21406d6ba8b93977d657045beece8c1e6e07624584a'
23
'7bc2df127dce692d236cf822556d1ec325c7df54ea910fbbdf1a04a85008d14d')
24
25
pkgver() {
26
grep 'moz_app_version' "${srcdir}"/basilisk-${_buildid}.linux-x86_64-gtk2.json | sed -e 's/.*:[\ \t]*"//;s/"[,]*[\ \t]*$//'
27
# cd "$srcdir"/basilisk
28
# ./basilisk --version | grep -o -E '[0-9\.]+$'
29
}
30
31
package() {
32
mkdir -p "$pkgdir"/opt
33
cp -ar --no-preserve=ownership "$srcdir"/basilisk "$pkgdir"/opt/basilisk-gtk2
34
mkdir -p "${pkgdir}"/usr/bin
35
cat > "${pkgdir}"/usr/bin/basilisk-gtk2 <<- __EOF__
36
#!/bin/bash
37
/opt/basilisk-gtk2/basilisk "\$@"
38
__EOF__
39
chmod 755 "${pkgdir}"/usr/bin/basilisk-gtk2
40
install -Dm644 "${srcdir}"/basilisk-gtk2.desktop "${pkgdir}"/usr/share/applications/basilisk-gtk2.desktop
41
install -Dm644 "${srcdir}"/basilisk/browser/icons/mozicon128.png "${pkgdir}"/usr/share/pixmaps/basilisk-gtk2.png
42
}
43
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |