lens-bin
maintainer ogarcia
· 16 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a prebuilt AppImage from the project's official API domain, which is a standard release mechanism; while the host is not on a whitelist, it is plausibly controlled by the project, and the binary is not executed during build but extracted and installed locally, posing minimal risk.
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 AppImage from the project's official API domain, which is a standard release mechanism; while the host is not on a whitelist, it is plausibly controlled by the project, and the binary is not executed during build but extracted and installed locally, posing minimal risk.
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:18
source=(${_pkgname}-${pkgver}.${arch}.AppImage::"https://api.k8slens.dev/binaries/Lens-${pkgver}-latest.${arch}.AppImage"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: "Amhairghin" Oscar Garcia Amor (https://ogarcia.me)
2
# Maintainer: istimaldar_sntlk <istimaldar@gmail.com>
3
# Contributor: zer0def <zer0def@github>
4
5
_pkgname=lens
6
pkgname=lens-bin
7
pkgver=2026.4.151333
8
pkgrel=1
9
pkgdesc='The Kubernetes IDE'
10
arch=('x86_64')
11
license=('LicenseRef-Custom')
12
url='https://k8slens.dev'
13
depends=('gtk3' 'libxss' 'nss')
14
provides=('lens')
15
conflicts=('lens')
16
options=('!debug' '!strip' '!emptydirs')
17
install="${_pkgname}.install"
18
source=(${_pkgname}-${pkgver}.${arch}.AppImage::"https://api.k8slens.dev/binaries/Lens-${pkgver}-latest.${arch}.AppImage"
19
"${_pkgname}.install"
20
"${_pkgname}.desktop")
21
b2sums=('524e6fb1ecf3946f85805251a46f8ea007e4df506c71c72dde2226215e183fd0ca50ddc555ef92a99546daeba1af823c2f370982b7851402c799cfea30ce9349'
22
'ee08f5ca738acd64bbd3076bdad73c2d1ef58d7bb89993e31c5aaa5d6b0308410b816b80be4860c8353be51f54dafbc1e39a7a03ef82881c5a10ad643b0fd596'
23
'7c5afc77c4e921f198139efeb168a16c6208fe0df1267a224ce62bde160d22ec68467f57a560742307ff2bf4e6b5d0bcbf07062b82f1fabcd95e7368d9d02477')
24
25
prepare() {
26
chmod +x "${_pkgname}-${pkgver}.${arch}.AppImage"
27
"./${_pkgname}-${pkgver}.${arch}.AppImage" --appimage-extract
28
}
29
30
package() {
31
# move the entire distribution to /usr/share
32
mkdir -p "${pkgdir}"/usr/share/${_pkgname}
33
mv "${srcdir}"/squashfs-root/* \
34
"${pkgdir}"/usr/share/${_pkgname}
35
36
# icon
37
install -Dm 644 "${pkgdir}"/usr/share/${_pkgname}/usr/share/icons/hicolor/512x512/apps/${_pkgname}-desktop.png \
38
"${pkgdir}"/usr/share/icons/hicolor/512x512/apps/${_pkgname}-desktop.png
39
40
# desktop file
41
install -Dm 644 "${srcdir}"/${_pkgname}.desktop \
42
"${pkgdir}"/usr/share/applications/${_pkgname}.desktop
43
44
# symlink binary
45
mkdir -p "${pkgdir}"/usr/bin
46
ln -sf /usr/share/${_pkgname}/lens-desktop \
47
"${pkgdir}"/usr/bin/lens-desktop
48
49
# symlink license
50
mkdir -p "${pkgdir}"/usr/share/licenses/${_pkgname}
51
ln -sf /usr/share/${_pkgname}/resources/static/license.md \
52
"${pkgdir}"/usr/share/licenses/${_pkgname}/LICENSE
53
54
# clean and fix permissions
55
find "${pkgdir}" -type d -exec chmod 755 {} \;
56
chmod -x "${pkgdir}"/usr/share/${_pkgname}/*.so
57
rm -rf "${pkgdir}"/usr/share/${_pkgname}/AppRun
58
rm -rf "${pkgdir}"/usr/share/${_pkgname}/lens-desktop.{desktop,png}
59
rm -rf "${pkgdir}"/usr/share/${_pkgname}/usr
60
rm -rf "${pkgdir}"/usr/share/${_pkgname}/resources/extensions/*/dist/*-arm64
61
}
62
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 |