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
6pkgname=lens-bin
7pkgver=2026.4.151333
8pkgrel=1
9pkgdesc='The Kubernetes IDE'
10arch=('x86_64')
11license=('LicenseRef-Custom')
12url='https://k8slens.dev'
13depends=('gtk3' 'libxss' 'nss')
14provides=('lens')
15conflicts=('lens')
16options=('!debug' '!strip' '!emptydirs')
17install="${_pkgname}.install"
18source=(${_pkgname}-${pkgver}.${arch}.AppImage::"https://api.k8slens.dev/binaries/Lens-${pkgver}-latest.${arch}.AppImage"
19 "${_pkgname}.install"
20 "${_pkgname}.desktop")
21b2sums=('524e6fb1ecf3946f85805251a46f8ea007e4df506c71c72dde2226215e183fd0ca50ddc555ef92a99546daeba1af823c2f370982b7851402c799cfea30ce9349'
22 'ee08f5ca738acd64bbd3076bdad73c2d1ef58d7bb89993e31c5aaa5d6b0308410b816b80be4860c8353be51f54dafbc1e39a7a03ef82881c5a10ad643b0fd596'
23 '7c5afc77c4e921f198139efeb168a16c6208fe0df1267a224ce62bde160d22ec68467f57a560742307ff2bf4e6b5d0bcbf07062b82f1fabcd95e7368d9d02477')
24
25prepare() {
26 chmod +x "${_pkgname}-${pkgver}.${arch}.AppImage"
27 "./${_pkgname}-${pkgver}.${arch}.AppImage" --appimage-extract
28}
29
30package() {
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)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion